Hi guys.
I work at the project that uses Myob API to fetch data for the reports building and data analys .
We noticed that sometimes we get the response:
{
"StatusCode": 504,
"ReasonPhrase": "GATEWAY_TIMEOUT",
"Version": {
"Major": 1,
"Minor": 1,
"Build": -1,
"Revision": -1,
"MajorRevision": -1,
"MinorRevision": -1
},
"Content": "",
"HEADERS": {
"Authorization": "...",
"x-myobapi-key": "...",
"x-myobapi-version": "v2"
}
}
That happened on the requests from these endpoints:
- /GeneralLedger/JournalTransaction
- /GeneralLedger/Account
- /Sale/Invoice
- /GeneralLedger/JournalTransaction
All of them were performed by filtering by dates and pagination (page size -100), each occurred on the same page which differs from first one.
Could you take a look please? Any advice how to resolve this on the side of our application would be appreciated too.
Please let me know if any other details are required.