Forum Discussion
Hi devatwaddle , this can happen at any time. You need to build in code to catch these type of errors and retry the call.
- JeremyF10 months agoExperienced User
Mike do you find that the calls time out but acutally complete at the API end?
Other than searching for an Order/Invoice Number how do you retry to ensure that you don't create duplicate entries?
Cheers
Jeremy
- Mike_James10 months agoUltimate Cover User
Hi Jeremy JeremyF , typically we are extracting a range of data to add or update our local database, for reporting purposes. So originally, this type of error meant that we received no json payload, and the code fell over. Now, with a retry option, it will usually succeed with 4 tries, and our code can then process the received json. The code checks every transaction to see if it's an add or update situation, and we've included the new journalhistory endpoint now which we can process and remove transactions which have been deleted in AccountRight.
Looking for something else?
Search the Community Forum for answers or find your topic and get the conversation started!
Find technical support and help for all MYOB products in our online help centre
Dig into MYOB Academy for free courses, learning paths and live events to help build your business with MYOB.