SAP Knowledge Base Article - Preview

3552840 - "com.sap.gateway.core.ip.component.exceptions.OData4Exception: Illegal character in query at index" error when returning more than 1 page of values in an OData call in a CAP application

Symptom

When calling an OData service with multiple pages from a Cloud Application Programming Model (CAP) application, the following error is thrown:

com.sap.gateway.core.ip.component.exceptions.OData4Exception: Illegal character in query at index


Read more...

Environment

SAP Cloud Application Programming Model with @sap/cds version < 8.2.0

Product

SAP Cloud Application Programming Model 1.0

Keywords

cds, @sap/cds, com.sap.gateway.core.ip.component.exceptions.OData4Exception, illegal character in query at index, nextlink, @odata.nextlink, paging, odata , KBA , BC-XS-CDX-NJS , SAP CAP – node.js runtime , 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.