While using the Curl command to consume Highlight API results, getting the error {"error":"invalid_token","error_description":"Invalid access token: xxxxx"} related to the access token used.
This happens when the following CURL command is executed
curl <URL> -H 'Accept: application/json' -H 'Content-Type: application/json' -H 'Authorization: Bearer xxxxx'
Workaround or Action Plan
The error occurs because token validation is not resolved.
1. Check the token you have generated, verify and check the time validity of the token under "Token management" in Highlight web interface.
2. Check if you have used the correct URL in the API call, need to check if it is RPA or the cloud URL you are using. ( You should use the one on which you are registered)
Related Articles
Additional Resources
CAST Highlight Troubleshooting Guides
CAST Highlight Product Documentation
Zendesk Ticket Number
43338
Comments