Service Callout - Error reading message.

I got an error 

 

{
  "fault": {
    "faultstring": "Execution of ServiceCallout SC-TestCallout failed. Reason: Error reading message.",
    "detail": {
      "errorcode": "steps.servicecallout.ExecutionFailed"
    }
  }
}

 

 

I've tried to search the information related to this error but I didn't found much detail.

I would like to know what causes this, Please give me an advice.

Thank you.

 

0 1 218
1 REPLY 1

Please provide little more information on what you were doing?

Did you follow thru all the steps while configuring service callout - https://docs.apigee.com/api-platform/reference/policies/service-callout-policy

If yes, then try to do below

a. Download the trace or note the unique message id "X-Apigee.Message-ID" for this specific API request from the trace, as follows:

1.Select the "Analytics Data Recorded" phase from the request.
2.Scroll down and note the value of X-Apigee.Message-ID.
3.If you have access to Message Processor log (/opt/apigee/var/log/edge-message-processor/system.log) and search for the unique message id noted down to find more information about the error

b. Test in isolation of apigee & validate the endpoint using any rest client to verify if it responds or not

You can find some information to resolve it..