cancel
Showing results for 
Search instead for 
Did you mean: 

Rest receiver adapter - HTTP 400 Bad request

samantha_nez
Participant
0 Kudos

Hi experts,

We are facing the following error in PI (7.40 SP11) when we try to consume the service with POST method:

HTTP POST call to https://xxxx.com/.../oauth2/token?resource=xxxx&client_id=xxxx&grant_type=xxxx&username=xxxx&passwor... not successful. Bad Request

whereas from SoapUI and https://www.hurl.it/ website, it works.

Reviewing different posts like:
https://archive.sap.com/discussions/thread/3734786
https://answers.sap.com/questions/294766/rest-receiver-adapter-post-method.html

  • Content-type parameter is set as application/x-www-form-urlencoded (like in SoapUI and website) using both MessageTransformBean module and additional HTTP header.


Is it necessary any additional setting?

Thanks in advance,
Samantha

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Samantha,

I am facing similar issue. How did you resolve it ?

samantha_nez
Participant
0 Kudos

No resolve still.

former_member621674
Discoverer
0 Kudos

Did you find any resolution?