Thank you for visiting our Partner Zone. This area is an exclusive space for MYOB Partners. Find out how to Partner with MYOB.
November 2020 - last edited November 2020
November 2020 - last edited November 2020
Hi,
I am posting payments to MYOB using CustomerPaymentService.Insert method. The method is constantly throwing timeouts.
There are around 235 entries in the specific API call I am referring here and It can go up to or above 500 entries and I am expecting it to work.
I have gone through this thread where you seem to have provided the solution to timeout but it's not accessible due to personal messages.
https://community.myob.com/t5/AccountRight-Sales-and-purchases/timing-out-issue/td-p/337804
Please share the details and I can make my piece of code working.
Thanks
Mahesh
November 2020
November 2020
Hi @ketangohil , our experience with frequent posting to AccountRight files has been that there will always be a risk of timeouts, and you will need to build in a retry loop if the response (roughheader) includes "Internal Server Error". We noted up to 4 retries are needed at most, but usually only 1.
I don't think the timeout solution referrred to is relevant to the API, which has a timeout parameter in the HTTPRequest (max 120000 = 120 seconds).
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...)
November 2020
November 2020
Hi there.
Thank you for reaching out via the forum.
Confirming that the timeout period is set to 120 to match the API is definitely only a first step in troubleshooting the issue.
Consistent timeout issues could point to a number of variables and another good place to start is file size.
To dive further we would require some information regarding your API key and a full HTTP trace including URI & JSON/BODY of the failing calls.
For that information we'd suggest creating a support ticket here and we can look into that for you.
https://developer.myob.com/contact/
Kind regards
Thanks,
@Tana
MYOB API Specialist
MYOB API Support Centre|MYOB App Marketplace|MYOB AccountRight API Endpoint Doc's
Did my answer help?
Mark it as a Solution