Skip to Content
0

Rest receiver adapter - HTTP 400 Bad request

Nov 17, 2017 at 12:08 PM

249

avatar image

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&password=xxxx≻ope=xxxx 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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Sonam Ramsinghani Jan 27 at 09:05 AM
0

Hi Samantha,

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded

No resolve still.

0