and more in a single search tool across platforms. Read the announcement here. |
03/21/2024 10:17 AM - last edited on 03/22/2024 03:14 AM by Sunil
Hi Team,
Facing a wierd situation while provisioning and deprovisioning a certain entitlement using a REST OOTB where the I can see the values of the httpParams in the logs fine, however, do not see the tasks getting completed in Saviynt. The pending tasks are getting updated but no error is seen there or even in the error logs. Creating an account is working fine.
ADD ACCESS JSON:
{
"call": [
{
"name": "call1",
"connection": "userAuth",
"url": "https://xxxxxxxx/PRRestService/OneIDMAccess/v1/AddUserRole",
"httpMethod": "PATCH",
"httpHeaders": {
"Authorization": "Bearer"
},
"httpParams": "{\"Application\":\"MyOrders\",\"SSO\":\"503378682\",\"Role\":\"MyOrders:EGM+Africa:GIQ Admin:GIQ Admin\"}",
"httpContentType": "application/json",
"successResponses": {
"statusCode": [
201,
200,
204
]
}
}
]
}
PFA the logs for the transaction. Also, a log snippet below:
Tried hardcoding the attributes but no luck. Request someone to please assist me on this.
Thanks.
[This message has been edited by moderator to mask sensitive info]
03/21/2024 12:24 PM
only put 200 alone and check security system connector got mapped or not?
"statusCode": [
200
]
03/22/2024 02:25 AM
Tried changing the add access json with status code as 200 only, but still the same.
PFA the logs.
What I am a bit confused is the presence of the following log statements, can this be the reason for this issue:
03/24/2024 08:03 PM
Please share Postman screenshot
Please share curl command [Refer https://codingnconcepts.com/postman/how-to-generate-curl-command-from-postman/ ]
03/21/2024 01:13 PM - edited 03/21/2024 01:14 PM
@Aashish-Handa : Logs says the method is POST, but the example says PATCH. Is it working via postman?
Also, please mask the URLs before uploading to the forum.
03/21/2024 10:41 PM
We tried using both POST and PATCH using POSTMAN and it worked. So thought of using PATCH instead of POST in Saviynt as well, but no luck.
The logs attached are from a POST call.
03/21/2024 11:44 PM
Postman screenshot
Please share curl command [Refer https://codingnconcepts.com/postman/how-to-generate-curl-command-from-postman/ ]
03/21/2024 02:11 PM
Automated provisioning is enabled ?
03/21/2024 10:39 PM
Yes this is enabled and thats why we are able to create accounts.