Cannot download reports

Hello,
I am working with the plugin to generate reports from opendistro 1.12.0.0, it seems to work fine until I click on download and this generates a 500 error with the following message:
TimeoutError: waiting for selector \ ". VisEditor__content " failed: timeout 60000ms exceeded \ n at new WaitTask.
Also trying to download the report from the api using the following resources:
GET http: // host: 5601 / api / reporting / generateReport / jqMsyHkBpPJLJaVCtHD8? Timezone = Europe% 2FMadrid
I get the error:
{
“statusCode”: 500,
“error”: “Internal Server Error”,
“message”: "waiting for selector ". visEditor__content \ “failed: timeout 60000ms exceeded”
}
If I use the POST resource
http://10.140.88.72:5601/api/reporting/generateReport
with the body:
{
“query_url”: "/app/visualize#/edit/81aaea80-c1dc-11eb-978e-ebc3474004c6?_g=(time:(from:‘2021-05-29T22:00:07.180Z’,to:'2021-06 -01T15: 24: 03.707Z ')) ",
“time_from”: 1622325607180,
“time_to”: 1622561043707,
“last_updated”: 1622561043707,
“time_created”: 1622561043707,
“state”: “Created”,
“report_definition”: {
“report_params”: {
“report_name”: “firecracker”,
“report_source”: “Visualization”,
“description”: “”,
“core_params”: {
“base_url”: “/ app / visualize # / edit / 81aaea80-c1dc-11eb-978e-ebc3474004c6”,
“report_format”: “pdf”,
“header”: “”,
“footer”: “”,
“time_duration”: “PT65H23M56.527S”,
“origin”: “http: // host: 5601”,
“window_width”: 1600,
“window_height”: 800
}
}
}
}

I get the error:

{
“statusCode”: 400,
“error”: “Bad Request”,
“message”: “[report_definition.report_params.core_params.origin]: expected value of type [string] but got [undefined].”
}

As additional information, I am using the readonlyrest security plugin.

Do you know why this is happening to me?

Thank you very much and greetings

@reporting-team Thoughts?