HTTP 406 Not Acceptable - CASDK-0041 An error occurred while invoking the REST endpoint

This error can occur when fetching business events and mapping the event message with another request message and no business events are fetched (queue is empty). The trigger connection appears as successfully executed, but subsequent mapping activities appear as failed.

Solution: When using the Oracle Hospitality Adapter as a trigger connection, you must validate the content of the response message received. If the response is similar to the one below, it means the Oracle Hospitality Adapter was able to invoke OHIP, but there were no events for the given configuration (there may be business events on future polling activities).

<execute xmlns="http://xmlns.oracle.com/cloud/adapter/oraclehospitality/BUSINESS_EVENTS/types">
  <request-wrapper
xmlns="http://xmlns.oracle.com/cloud/adapter/oraclehospitality/ BUSINESS_EVENTS/types">
    <pollingStatus>NO_CONTENT</pollingStatus>
  </request-wrapper>
</execute>