Thank you for visiting our Partner Zone. This area is an exclusive space for MYOB Partners. Find out how to Partner with MYOB.
March 2021
March 2021
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.
Solved! Go to Solution.
March 2021
March 2021
Hi @OlegVlasov , the API team may have other comments, but that message, and "Internal Server Error" occurs at random, and our solution is to retry all our calls up to 5 times.
There was a large volume of these errors late last year, but the API infrastructure was improved and they have reduced in frequency since then.
Regards, Mike (mike@datawise.co.nz)
DataWise Limited (www.datawise.co.nz), developers of:
DataWise ProActive - Custom Reporting from MYOB programs
(MYOB Business, including AccountRight Live, AccountRight v19.x and exo Payroll)
Bulk download of attachments (more details...)
August 2021
August 2021
we are getting random of these regularly. Particulary when pushing up invoices. (even small invoices)
The frustrating thing is that sometime steh invoice is created in MYOB and sometimes it has not. We assume that because it timed out, it failed and end up duplicating teh invoice.
how doe sit take 30 seconds to push up a 5 line invoice.
I see there is an accpeted solution here, but I dont see one.