Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Saviynt REST api throwing - Access Denied Invalid User for getAccount, GetUsers etc

IAM_99
Regular Contributor II
Regular Contributor II

Hi Team,

We are calling Saviynt REST api to get Account details, it gives 200 response but throws Access Denied exception  ( we have given all api permission )

any idea ?

 

IAM_99_0-1667779296468.png

IAM_99_2-1667779463935.png

 

5 REPLIES 5

rushikeshvartak
All-Star
All-Star

It seems your authorization token is wrong. Did you generated using api ?


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

IAM_99
Regular Contributor II
Regular Contributor II

yes, please find 

IAM_99_0-1667826598775.png

body has username and password

{"username":"xxxxxx","password":"xxxxxx"}

IAM_99
Regular Contributor II
Regular Contributor II

if i manipulate access token am getting '401 unatuorized' error , so token is good right ?

will there be any certficate expiry or permissions reduced ? As this was working till friday evening.

IAM_99_0-1667827139029.png

 

Try with another admin account.

Did you copied full token ?


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

IAM_99
Regular Contributor II
Regular Contributor II

hi, It was an issue with certificate , its working now.