API Internal Server Error 500 on Odata Filter Queries
Hi team, As of Monday afternoon 10/12/2024 we started receiving Internal Server Errors (500) on any Odata Filter query raised using the .NET SDK. No changes to the solution have been made, there appears to be a breaking change or an issue on the API endpoint/server. We have no problems in submitting orders via the API. Any breaking changes in the API or AccountRight company cloud files? Assistance is urgently required.38Views0likes1CommentHow to add the due date when posting an MYOB invoice from the API
We post sales invoices from third-party software to MYOB AccountRight. We can post invoices to MYOB but can't set the Invoice Due Date. Without Due Date, it works well and AccountRight Invoice is set as "Cash on delivery". What we need is to put it as "Due on this day" with the due date we sent. "Terms": { "PaymentIsDue": "Dueonthisday", "DueDate": "2024-07-26T00:00:00" }, Invoice Terms have been sent as above (Full JSON file is attached here). But I get the validation valid error: "Unexpected value for 'Terms.PaymentIsDue': Cannot convert 'Dueonthisday' to a valid value." Does anyone know how to post the due date?83Views0likes10Comments"API key has exceeded the per-second rate limit"
I have an API integration between my web-app and MYOB. I authorize the user using the OAuth flow and retrieve their access_token. However when I then make a call to "https://api.myob.com/accountright" I get a 403 error "API key has exceeded the per-second rate limit" The only semi-official documentation of what the actual rate-limt I can find is here, where it says it is 8 requests per second. https://community.myob.com/t5/MYOB-Business-API/API-v2-rate-limits/td-p/693742 Regarless of the limit, I have tried throttling my requests to once every 3 seconds and I still get the 403 error. What is occuring and how do I fix it?Solved509Views0likes6Comments'https://api.myob.com/accountright' from origin 'http://localhost:8080' has been blocked by CORS policy
I'm tring to request company files via the following endpoint from localhost https://api.myob.com/accountright/ however, it always comes back with CORS error Access to XMLHttpRequest at 'https://api.myob.com/accountright' from origin 'http://localhost:8080' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resourc By the way, I've already successfully get the access_token and refresh_token from the https://secure.myob.com/oauth2/v1/authorize/985Views0likes1CommentHow append new line to the order by api ?
Hi there, I use the myob api to do the data push in myob a few weeks. But now a update order lines requirement needs to implement update/add / delete order lines. About the add new line to a exits order, I search the documents and here. But no clear answer for this. How to append new lines to a exits order ? Thanks.1.2KViews0likes4CommentsAPI v2 rate limits
Hi guys, I have some questions about the rate limits for the API. Here is the context connected with my questions. On the one hand, I've seen the post from the 2018 where the next limits were exposed in scope of the one API key: - 5 requests per second - 50.000 requests per day. On the other hand, I can see the specs where limit is defined as 1.000.000API calls per day: https://developer.myob.com/program/developer-program-details/ As a result, I have the following questions: 1) Did I get it correctly that limits are bound to the API key not to the account which issued that one? 2) What is the relevant requests limit per day (for the 1 API key) by default? 3) What is the actual/relevant requests limit per second/minute (for the 1 API key) by default? Could share the latest details please? Regards, OlegSolved3.6KViews0likes1CommentCannot Access Sandbox Environment
Hi, I have been trying to test the API via the Postmant Collections provided on the devloper site. Although I have been able to create the connection, I cannot access the sandbox environment, resulting error when trying to GET 'Get the details of one specific company file'. The Sanbox file that was returned to me when listing all company files available to me is the API Sandbox Demo 57. What Ive realised is, i have never received any invitation to access this particular sand box. Note that at thsi point I have made sure that the headers were correct. Although I have found that there is some inconsistencies between the API docs and the Postman Collection, this post mentioned that x-myob-api-cftoken is not necessary. Has someone experienced this issue before of can clarify the difference between the postman collection and the API docs. Thank you!1.1KViews0likes2Comments