function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sri549Sri549 

Need help In REST API

Hi Guys,

I am facing an issue when sending a request to using REST API & the response which i am seeing in the Response status is "Unprocessable Entity" & code is 422.
User-added image

Could you please help me in solving this.

Thanks!
Srinivas
AbhinavAbhinav (Salesforce Developers) 
Hi,

Have you checked suggestion in below link?

https://developer.salesforce.com/forums/?id=9062I000000DHw6QAG

Thanks!
Suraj Tripathi 47Suraj Tripathi 47
Hi,
Greetings!

The 422 Unprocessable Entity response status code occurs when the server knows the content type of the HTTP request, and the syntax of the HTTP request is correct, but it was not able to process the request.
For refer- https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/422

If you find your Solution then mark this as the best answer. 

Thank you!

Regards,
Suraj Tripathi