Skip to Content

Rest Adaptor- Server returned code: 422 :Error HTTP error occurred: Unprocessable Entity

Hi Experts,


I am working on proxy to Rest API syn interface. this flow was working fine and today we started getting this error. The JSON structure and data is OK and it is working from Postman and getting the response as well.

I am getting this below error from SAP PO.

com.sap.aii.adapter.rest.ejb.common.exception.HttpCallException: HTTP POST call to https://xxyy.in.xhvg.com/mapro/einvoicev5/111/jsondate/jsondate?autoExecuteRules=true not successful. Unprocessable Entity

Can you please advise.

Regards

Smith

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jun 25 at 11:28 AM

    Hi Smith,

    This error occurs when the content of the JSON is fine but syntax of the JSON is not correct. Please check if something has been changed in data format in target server. Please ask for new REST API Directory in case there has been a change.

    Regards

    Anupam

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 25 at 11:34 AM

    It’s a sync interface, right?

    What’s content of response when you receive the http 422?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.