Hi Experts,
We have a use case to copy access from a identity and provision same access to new joiner.
While I was able to grab Entitlement from Get Access Action in workflow, I get error while adding that same access using Manage Access. Those entitlements are request able as well. Secondly, I tried using POSTMAN: it throws the same error but from the UI I am able to request the same access and get it without approval or any trouble.
The JSON used from postman using POST req using v3 end point of access-request
{
"requestedFor": "{id of the identity}",
"requestType": "GRANT_ACCESS",
"requestedItems": [
{
"id": "{id of the entitlement}",
"type": "ENTITLEMENT",
"comment": "tEST"
}
]
}
Response is:
{
"detailCode": "400.0 Bad request syntax",
"trackingId": "b9d6b081",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request could not be parsed."
},
{
"locale": "und",
"localeOrigin": "REQUEST",
"text": "The request could not be parsed."
}
],
"causes": []
}
Hello @ujjwol_panditAvant
Seems that the problem you’re encountering is something pretty common. There are open issues in Github aiming at the same concern. Seems like the Json format is wrongly stated over the documentation as well. I’ve already notified the team and hope they fix this issue soon.