Skip to Content
avatar image
Former Member

SAP REST Receiver Adapter Error

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.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Nov 02, 2015 at 06:43 AM

    Hello Nick,

    Please check this thread.

    Regards,

    Sushil.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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.

  • Nov 02, 2015 at 07:01 AM

    Hi Nick,

    Can you share a screenshot of your rest adapter config?

    Regards,

    Mark

    Add comment
    10|10000 characters needed characters exceeded