Invalid request when authorising
I am trying to get the access code using Postman, but when I go to the url, it will return this error:
We have encountered some issue with the request, please try again later or contact your app support
- invalid_request
I am using this url:
Hi nkm,
Thanks for reaching out,
When the error Invalid_request is occurring this can be caused by the below.
*The redirect_uri param is encoded twice or not at all.
*The redirect_uri param doesn't match your API key configuration that is set up in my.myob
*One or more parameters are missing, incorrect or badly formatted.Here are some support articles below that can help solve this error:
Solving invalid request errors - https://apisupport.myob.com/hc/en-us/articles/360000475895-Solving-invalid-request-errors
How to authenticate a user between my App and MYOB- https://apisupport.myob.com/hc/en-us/articles/360000475875-How-to-authenticate-a-user-between-my-App-and-MYOB
Double-check the key you are passing is correct, I was unable to complete OAuth with the details you have provided. If the above does not resolve the error can you please send us a screenshot to developers@myob.com of the developer tab in My.MYOB that holds your API key Secret and redirect URI and I can test the connection
I did remove the full key from this post to protect these details.
Thanks,