cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Bad request error in HTTP PUT request

0 Likes
2,780

Hi Experts,

We have a service which is accessible using postman with one manual header value added.

While calling it from CPI, i have added header property using content modifier and set up HTTP receiver as below.

I am getting 400 bad request error. Any leads are appreciated.

View Entire Topic
Sriprasadsbhat
Active Contributor
0 Likes

Hello Mujeeb,

If you are sure that correct payload is being passed then please try to delete unwanted headers ( follow below blog ) that might help you.

https://blogs.sap.com/2018/01/18/sap-cpi-clearing-the-headers-reset-header/

Regards,

Sriprasad Shivaram Bhat

0 Likes

Hello Sri, I dont see any unusual header in trace, see below. last one is manually added.

Payload is fine as well. posted the same payload from trace in postman and it works.

0 Likes

Was having trouble adding this, so attaching separately.