Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I'm Working with a client and we are using TRESTCLIENT Component to send Data from Wordpress to MYOB.
There has been some changes in the MOYB authentication and after That I got this error.
the current error, we are getting:
Exception in component tRESTClient_1 (WordPressToMYOB_Order_Sync_Prd)
javax.ws.rs.NotAuthorizedException: HTTP 401 Unauthorized
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
PS: context.company_file_uri = https://ar2.api.myob.com/accountright
Please If anyone can help ! It's Urgent
Thank you.
Hello,
You need to check - what source REST service description, especial authorization methods. Are you using OAuth token in tRestClient call?
Did you test your REST API call with Postman or similar tools? Does it work well?
Best regards
Sabrina