Forum Discussion
Hi AJ88 ,
I've forwarded some information about site errors being experienced through to your customer's implementation partner so they can check with their knowledege of the site. I recommend you/the customer get in touch with them to get that information.
With that said, from my super quick review, there appear to be 2 main kinds of errors happening (Which are the same errors I commonly hear about from integrators).
- API Concurrent login limit being reached
This will generally generate 401 errors, and depending on error handling, could lead to the other errors. There should be some information about the error coming back as part of the packet header in these cases. - Invalid values causing errors
I saw a few cases of invalid accounts/project tasks/etc being retrieved/edited.
Again these should be returning some amount of error handling via the API response, though
It's been awhile since I dealt with this part of the API, but I believe from looking at your video you're being returned a URL with the exception information in it as part of the problem calls
Unfortunately that's the limit of my understanding of this subsystem, if you need further support please reeach out either to your customer's implementer, or to Developer support as an accredited Advanced developer - https://developer.myob.com/api/advanced/
Ngá Mihi,
Will H
Senior Product Platform Liaison (Enterprise)
- 7 months ago
Hi Will,
Thanks very much for your response and for forwarding on the site errors. As you can see from my video, I get a response of 200 OK with neither the records I am trying to retrieve neither any other information -- the exact same request will work on other attempts -- albeit rarely and return record(s) as you can see on the video.
The other error I see randomly is not in the video but does happen fairly often -- that is a 500 Internal Server Error.
I don't think I am violating any API limitations -- the integration is still in development and is hardly used.A URL is returned with the exception information as part of a 200 OK response -- this is most irregular, but it isn't helpful because I am unable to see what the exception is which in turn makes it impossible to know what the problem is.
Clicking Show Trace:
- Will_H7 months agoMYOB Moderator
There's an exception URL reported back to you by the 200 OK message as the URL in your response?
I agree with it being strange that you're getting a 200 OK response for an error state, but there is information being provided back to you with error.
In terms of errors, please refer to customer/implementation partner, they have a copy of the exact logging from telemetry for the last couple of weeks.
I'm not really expert enough at this part of our APIs to help you chase this the whole way through, though this post from Stack Overflow might be informative:
https://stackoverflow.com/questions/62521361/acumatica-rest-api-exception-messages
It seems to indicate that the issue might be with your exact HTTP handler not staying open long enough to receive the followup response with full error?
I really am going to stop here though, because I'm just as likely to lead you in the wrong direction if I keep speculating. Hopefully another developer has some experience to share here, or this will need to come via standard support channels so the right people can action it.
Regards,
Will HSenior Product Platform Liaison (Enterprise)
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.