SAP Knowledge Base Article - Preview

3786664 - OData V2 Receiver: server-side paging fails on second request when nextlink is relative (host is null error)

Symptom

When the Process in Pages option is enabled in the OData V2 Receiver Adapter, the integration flow fails during the paging loop with the following behavior:

  • The first page request completes successfully.
  • The second iteration fails before the HTTP call is dispatched.
  • Error message returned:
    com.sap.gateway.core.ip.component.odata.exception.OsciException:
    HTTP Request failed with error: Target host is null

The adapter constructs only a relative request URI for the next page instead of resolving it against the service root URL.


Read more...

Environment

  • SAP Integration Suite – Cloud Integration
  • OData Adapters
  • OData V2 Receiver Adapter
  • SAP Gateway OData V2 service

Keywords

odata v2 receiver, process in pages, server-side paging, nextlink, relative nextlink, skiptoken, host is null, illegalstateexception, paging failure, odata.maxpagesize, $skiptoken, $top, $skip, cloud integration, gateway odata v2 , KBA , LOD-HCI-PI-CON-OD , OData Adapters , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.