on ‎2020 Oct 16 2:18 PM
Hi Experts,
There is a requirement where we are sending a json payload to HTTPs receiver URL and getting the below error.

1) Added the P12 key with passphrase in the keystore. Connection tested and working fine.

2) While posting the json payload from Postman, it is working fine and getting a response 202 as accepted, but while triggering through CPI it is showing error.
Error Details com.sap.it.rt.adapter.http.api.exception.HttpResponseException: An internal server error occured: HTTP operation failed invoking https://13b6XXXXXX with statusCode: 400. The MPL ID for the failed message is : AF-Xsgygs
3) The payload format is mentioned as below.
Request:{ "ABC":"1111111", "MMM":[31,10,15,80,80,34,56,23,34], "XYZ":"2222222" }
Response: [ { "code": 202, "XYZ": "2222222", "ABC": "11111111" } ] -> this bracket can be an issue?
Please suggest where I am going wrong, and suggest to resolve the same.
Thanks,
Nidhi Srivastava
Request clarification before answering.
Hi nidhi.srivastava22,
In addition to what Sri suggested could you please check what is the Content-Type set before posting data.
thanks and regards,
Praveen T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 13 | |
| 9 | |
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.