iamnithesh
(Nithesh Rao)
November 23, 2023, 4:59pm
1
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.
kjakubiak
(Kamil Jakubiak)
November 23, 2023, 5:08pm
2
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.
iamnithesh
(Nithesh Rao)
November 23, 2023, 5:11pm
3
@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
kjakubiak
(Kamil Jakubiak)
November 23, 2023, 5:19pm
4
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
iamnithesh
(Nithesh Rao)
November 23, 2023, 5:23pm
5
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
system
(system)
Closed
January 22, 2024, 5:23pm
6
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.