and more in a single search tool across platforms. Read the announcement here. |
04/14/2023 04:27 PM - edited 04/14/2023 04:29 PM
Hi Team,
We are calling Remove Access for a REST point its throwing below error in the logs there is not provisioning comments.
org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'name=Roles1' with class 'java.util.LinkedHashMap$Entry' to class 'java.util.Map'
{
"call": {
"name": "Roles1",
"connection": "userAuth",
"url": "https://xxxxxxxxxxxxxx/${account.name}",
"httpMethod": "DELETE",
"httpParams": "{\"roleId\": \"${entitlementValue.customproperty1}\"}",
"httpHeaders": {
"Authorization": "${access_token}",
"Content-Type": "application/json"
},
"successResponses": {
"statusCode": [204, 200, 201]
}
}
}
I have tried with "DELETEWITHBODY" as well, but no luck, same works in POSTMAN, please find below
any inputs on this ?
04/17/2023 12:11 AM
Please use :
"name": "Role"
in place of
"name": "Roles1"