cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
191
Views
1
Helpful
1
Replies

Patch operation failed.

Hi Team,
I am using SCIM2.0 User's Patch operation. 
When I send a request without escape character, request getting executed successfully.

prashantchinchkar_0-1729543101650.png

But when I am executing same request with escape characters, then I am getting 500 Internal server error 

prashantchinchkar_1-1729543198693.png

I checked for the input string and it's getting validated correctly.

prashantchinchkar_2-1729543271991.png


Could you please help me here, what's going wrong ?

Thanks,
Prashant

 

1 Reply 1

dtibbe
VIP
VIP

In the first case, you're sending a json object as expected. In the faulty case, you're sending the whole json object as a string (take a look at the leading/trailing quotes). So you do not just mask the quotes but you're also sending a different payload.

The backend might try to parse the payload and expects a json object but just gets a string.