PATCH call to Update Role not working on Postman

I have no idea what am I doing wrong, but I am getting 400 Bad Request Error while trying to PATCH a Role. Here are the details:

When I send the same request via Developer Document Page https://developer.sailpoint.com/idn/api/beta/patch-role, it works

I’ve got the right Role ID that works with GET call on a single Role. Also, this has worked in the past in Postman.

Hi Nitesh,
In IIQ description is a map containing not only value but also information about locale. I suspect here we have the same issue.

@kjakubiak
Thanks Kamil, but Role description is a simple string. Request body is copied for testing purpose from the DevDocs page (where the API call works fine).
Here is the part of json response from GET call for the same Role
image

I just did same call as you did to check if it works - and it did


after change

maybe something wrong with the ID?

1 Like

It’s funny!! I copied the code generated by Postman into a PowerShell file and it works!!!

I think I will reinstall Postman and try on another computer

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.