cancel
Showing results for 
Search instead for 
Did you mean: 

STATUS_CODE_NOT_OK-Bad Request HTTP_AAE adapter.

praveen_sutra
Active Contributor
0 Kudos

Hi All,

I am working on file to HTTP_AAE scenario where i need to pick a file and post it to client server using HTTP_AAE adapter.

I have made below mentioned settings:

     advanced Tab

I am getting "HttpAdapterException: STATUS_CODE_NOT_OK-Bad Request".

Any advice would be appreciated.

thanks and regards,

Praveen  T

Accepted Solutions (1)

Accepted Solutions (1)

aashish_sinha
Active Contributor
0 Kudos

Hi Praveen,

What PI version you are in? This is a well know issue with HTTP_AAE adapter and if you are getting status code ranging from 200 to 207, you will have to update your SP.

We had similar issue with SAP PI 7.31 - SPS05, and SAP provided special patch for us as it was not reported by any customer for SP05. This error is applicable for SPS04, 06, 07, 08.

Raise an OSS and get support from SAP.

Regards

Aashish Sinha

praveen_sutra
Active Contributor
0 Kudos

hi Aashish,

thank you for the response. We are working on SAP PI 7.3 EHP1 SP09.

We have raised OSS with SAP. Will keep you posted.

thanks and regards,

Praveen T

carlos_ocampos
Participant
0 Kudos

Hi Praveen,

Did you find a solution to this issue?

Please share.

Thanks

Kind regards

praveen_sutra
Active Contributor
0 Kudos

hi Carlos,

Yes the request was not proper. once the request was formed with proper header info it was successfull.

The best way is install one of the free http posting tool, addon available for google chrome webstore.

Check out "REST Console": https://chrome.google.com/webstore/detail/rest-console/cokgbflfommojglbmbpenpphppikmonn?utm_source=g...


this should help or any other tool which can help us to get the correct data.


hope this helps,


thanks and regards,

Praveen T

nitinlpatil12
Participant
0 Kudos

Hi Praveen,

I have the similar error for HTTP_AAE receiver adapter and in my case response is supposed to have MIME attachments and for that I have used Content details as Content-Type = text-xml; charset=UTF-8

when I use Poster tool from firefox then I get the response with MIME attachment but from PI I receive Bad Request - similar to yours.

Please help.

Regards,

Nitin Patil

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Praveen,

Were you able to post the same request from an external client? If not, please try. That will confirm if there is any issue with the URL/format of the request.

Once you are able to successfully post that request externally, you can compare the request generated from PI and see where the discrepancy is.

Hope that helps.

Regards,

Rakesh.

praveen_sutra
Active Contributor
0 Kudos

Hi Rakesh,

Could you please suggest some external client we can use to test.

thanks and regards,

Praveen T

Former Member
0 Kudos

I used the 'Send HTTP Tool'. Simple and straight-forward to use too.

Regards,

Rakesh.

Former Member
0 Kudos

Hi Praveen

Check these and see if you can find anything

http://scn.sap.com/thread/3310477

http://scn.sap.com/thread/3401439