cancel
Showing results for 
Search instead for 
Did you mean: 

Rest receiver adapter - HTTP 400 Bad request

11-17-2017 1:08 PM
samantha_nez Participant
2640 views 3 comments
0 Likes
SAP Managed Tags
Subscribe

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

0 Likes

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Hi Samantha,

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

samantha_nez
Participant
0 Likes

No resolve still.

Former Member
0 Likes

Did you find any resolution?