API REST Unauthorized login : error 401500
While testing the Rainbow REST API with Postman, I ran into a recurring error. Despite referring to the Documentation for a solution, I was unable to resolve the issue. The application is also in the Sandbox. I am now considering whether I overlooked a step or if an access restriction is the root cause of this problem.
Here is the [responseBody] for your reference:
{
"errorCode": 401,
"errorMsg": "Unauthorized",
"errorDetails": "Unknown application or wrong token for application id *removed*",
"errorDetailsCode": 401500
}
Please advise on how to proceed or if there are any additional steps I should take to troubleshoot the error. Thank you for your assistance.
-
Hello,
Please verify that the applicationId used is a sandbox applicationId (created from the Sandbox section of the Rainbow for Developers portal as shown in the screenshot):
Also, be sure your API calls connect to the sandbox platform as described here:
https://developers.openrainbow.com/doc/rest/Connecting_to_Rainbow
The sandbox and production Rainbow platform are separate server instances. This means application ids created on production platform are unknown on the sandbox platform and vice versa.
Best regards,
Fabrice.
Please sign in to leave a comment.
Comments
1 comment