@JaredDolich
Hi I am a beginner who just finished Model builder Lv1.
This is my first post and forgive me suddenly mentioning you. I learned a lot from your answers to many query and I wish you could help me.
Rest API throwing "Principal is not authorized" error.
However same user name and password when used to login to front end portal that works.
So is there anything that we need to enable/do some settings for the user, so that user can call Anaplan APIs?
====Problem====
・When I executed the Audit API, the response(failure) came back.
{
"status": "FAILURE_INVALID_TOKEN",
"statusMessage": "Principal is not authorized"
}
====Steps followed====
(1)Generate a Authorization Token using following command.
curl -X POST --user [My account(Gmail)]:[My password] https://auth.anaplan.com/token/authenticate
(2)In Postman, set the following request URL.
https://audit.anaplan.com/audit/api/1/events
(3)In Postman, set the following Header KEY/VALUE
KEY : Authorization
VALUE: AnaplanAuthToken [My Token Value]