system
August 20, 2025, 9:26am
1
Migrated from Redmine #1461 | Author: Matteo Frigerio
Status: Closed | Priority: Immediate, there is BUG! | Created: 2025-08-20
In date August 08, in the environment ‘provaub’, the ‘get detailed report’ API returned
{'code': 404, 'message': 'You request has been passed to processing', 'data': [], 'message_data': []}
for report with id 201 generated with the following request
{'filter': {'created_date_from': '2025-08-01', 'created_date_to': '2025-08-31', 'date_from': '2025-08-07', 'date_to': '2025-08-07', 'event_id': '6', 'booking_type': 'non_cancelled'}}
Since the request is coded in a batched automation, wee need it to run smoothly, and this error is new. What originated it?
system
August 20, 2025, 9:39am
2
Dmytro Bondarev wrote:
Hi, could you please clarify:
your API endpoint
when issue appeared?
do you receive error when you start generating report?
system
August 20, 2025, 9:53am
3
Matteo Frigerio wrote:
1)GET https://user-api-v2.simplybook.pro/admin/detailed-report/201 ;
2)as I said , 08/08/2025, early morning ( around 2 AM);
3)POST https://user-api-v2.simplybook.pro/admin/detailed-report produced code 200 with body “{‘id’: ‘201’}”, which the automation next used to retrieve the report with the aforementioned GET.
system
August 20, 2025, 9:57am
4
Dmytro Bondarev wrote:
Hi, can you please confirm if it works now?
We will try to find what happened 08/08/2025 in logs.
system
August 20, 2025, 11:12am
5
Matteo Frigerio wrote:
Last time the automation run, the api worked. We need to avoid the situation occurred in that date.
system
August 20, 2025, 11:24am
6
Dmytro Bondarev wrote:
Ok, according to our logs you called GET report, while the report was not ready yet.
In such cases you need to wait and call GET report again, after few minutes.
system
August 20, 2025, 12:19pm
7
Matteo Frigerio wrote:
Is there a fixed time span after which the report is positively ready?
system
August 20, 2025, 12:48pm
8
Dmytro Bondarev wrote:
no, it depends on complexity of report, server load, etc.