If you are receiving a {"error": {"code": 1002, "message": "Not authorized"}} response when using the Customer Journey API, it is likely due to an incorrectly formatted Authorization header in your request.
To resolve this, you must prefix your API token with the word Api followed by a space.
Correct Format:
Authorization: Api <YOUR_API_TOKEN>
Incorrect Format:
Authorization: <YOUR_API_TOKEN>
Ensure your API call includes the Api prefix in the Authorization header to authenticate successfully.
Comments
0 comments
Please sign in to leave a comment.