cancel
Showing results for 
Search instead for 
Did you mean: 

SAP REST Receiver Adapter Error

Former Member
0 Kudos

Hi All,

I am using a REST Receiver adapter for a synchronous scenario to consume a REST Webservice using GET and store the response

data back in to the ECC database.

I am receiving the below error.

com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rest.ejb.common.exception.HttpCallException: HTTP GET call to https://#/workspaces/#/events/?apikey=#&eventType=Activation was not successful. HTTP/1.1 406 Not Acceptable


I have substituted the business content with # . When I run the same Rest API Call using GET from Advanced Rest client from Chrome , I am able to

receive the response correctly.


Please let me know if any of you have faced this error before and what could be the reason for this error.



Accepted Solutions (0)

Answers (2)

Answers (2)

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Nick,

Can you share a screenshot of your rest adapter config?

Regards,

Mark

Former Member
0 Kudos

Hi Mark ,

Attaching the screenshots of Rest receiver configuration. Looking forward to your response.

Former Member
0 Kudos

Hello Nick,

Please check this thread.

Regards,

Sushil.

Former Member
0 Kudos

HI Sushil ,

thanks for the inputs .

i only use the xml request and receive xml response while using advanced rest client .

would this solution be valid for even my scenario ?

Former Member
0 Kudos

Hi Nick,

You can try to compare the request sent from PI with the request which works when you call the webservice standalone.

From the error you have mentioned, it seems something is wrong in the message structure/content sent from PI.

Thanks,

Sushil.