Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
DY94
Contributor II
Contributor II

TRESTClient Error ( Sending data from Wordpess to MYOB accouting Software )

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.

1 Reply
Anonymous
Not applicable

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