Announcing the SAVIYNT KNOWLEDGE EXCHANGE unifying the Saviynt forums, documentation, training, and more in a single search tool across platforms. Click HERE to read the Announcement.

Saviynt API Access forbidden

MFarrar
New Contributor
New Contributor

I'm attempting to get an analytic through the Saviynt API, but I'm getting a 403 Forbidden error.

We're using SSO, but this user has the ability to bypass that.
I can successful run the login API call, and get the bearer token
The bearer token works successfully on other calls - e.g. list users, get task details, create user etc.
So I dont think its a problem with the API calls itself.

I'm using a user that has the ROLE_ADMIN, and can't see any other features/webservices calls that this role doesnt have access to. I have checked and the below endpoints are listed as allowed for ROLE_ADMIN.
In settings/API, I dont have the API restricted by role
I'm getting the error with the following calls, regardless of the analytic name/id I request in the body 
/fetchRuntimeControlsData 
/fetchRuntimeControlsDataV2 
/fetchControlListES

The specific analytic that I am trying to retrieve is in the ROLE_ADMIN analytics (as well as the others that I've used to test with)

4 REPLIES 4

avinashchhetri
Saviynt Employee
Saviynt Employee

Hello @MFarrar,

Could you share a screenshot from Postman when you see this error ?

 

 

Regards,
Avinash Chhetri

MFarrar
New Contributor
New Contributor

MFarrar_0-1664608254570.png

MFarrar_1-1664608282439.png

sahajranajee
Saviynt Employee
Saviynt Employee

@MFarrar 

Could you confirm that the path being used is api/v5  ?


Regards,
Sahaj Ranajee
Sr. Product Specialist

MFarrar
New Contributor
New Contributor

🙃Thank you, not sure why I didnt think of that
I had changed it to api/ after having issues with some other calls