RE: I am trying to access restlet using suitelet both are in different companies it throwing an error “invalid login error”

We have restlet in one company and trying to access their data using suitelet.

Haris Beginner Asked on November 3, 2020 in How To's.
Add Comment
2 Answers

This is expected if you are not using any authentication. The correct way would be that you use TBA and OAuth.

Also, you must use the full URL of the Suitelet along with correct account id. Create a TBA in the account where RESTlet is there, use that token in your Suitelet in your other account (may require crypto and other libraries to access) and then perform whatever you are doing in the other account in the RESTlet.

Beginner Answered on November 5, 2020.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.