PARTNERS - Please join us for our upcoming webinar:
Leveraging Intelligent Recommendations for Operational Transformation.
AMS Partners Click HERE | EMEA/APJ Click HERE

receive error 500 when calling addrole API

RBKHC
New Contributor III
New Contributor III

Version 2020.1.2

{{url}}/ECM/api/v5/addrole

receive error 500 when calling addrole API

There is no documentation on the possible error messages when using APIs. Can you please provide error information for 500.

3 REPLIES 3

saikanumuri
Saviynt Employee
Saviynt Employee

Can you check the column size of ASSIGNEDFROMROLES under account_entitlements1 from DataAnalyzer if it's currently varchar

saikanumuri_0-1677256121746.png

 

RBKHC
New Contributor III
New Contributor III

I figured out that I was missing the response body from Saviynt that contained more details as to what failed. When calling the API from PowerShell Invoke-RestMethod I needed to use the switch -SkipHttpErrorCheck to allow the process to see the response body.

Thanks for your response!

RBKHC
New Contributor III
New Contributor III

Hi saikanumuri, the column is the same as your screen shot EXCEPT it is Varchar (255) instead of Varchar (1024).

RBKHC_0-1677532924433.png