Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

API Response error

HarishG
Regular Contributor
Regular Contributor

Hi,

We have created a new api user, reset the password, updated the the 

passwordExpired to '0' using userUpdate API.
 
--> Able to generate the token
--> But when trying to get users, getting the below error in the response.
HarishG_1-1716542001731.png

 

curl:
 
 
Any suggestions, how to fix this?
 
Best regards
Harish
3 REPLIES 3

PremMahadikar
All-Star
All-Star

Hi @HarishG ,

This API works perfectly.

Can you try log-in with the service user from UI?

Sometimes, these service users need to set the security question or new password for the first-time. We have similar issue.

 

If this helps, please consider selecting Accept As Solution and hit Kudos

HarishG
Regular Contributor
Regular Contributor

Yet it worked after logging in with the apiUser on UI and providing the security question.

@PremMahadikar Thanks for the solution

Is there any way to skip this last step(logging on UI and providing Security questions)?

@HarishG ,

Perfect!

Is there any way to skip this last step(logging on UI and providing Security questions)? - Disable Security Question Config in Global Config -> Preference -> Profile menu

PremMahadikar_0-1716546949493.png

Note: This is applied for all users. We don't have specific configuration for service users.

If this helps, Pleas hit Kudos!