SAP Knowledge Base Article - Public

2697858 - OData Query for Data Sources Does Not Work

Symptom

The OData query that was created via the Build OData Queries in data sources does not work. It results in the error message 'The request URI is not valid' (in Chrome only).

Environment

SAP Hybris Cloud for Customer

Reproducing the Issue

  1. Make sure your system is set up for this OData service as described in the help center article 'OData API for Data Sources'.
  2. Go to the Business Analytics work center, view Design Data Sources.
  3. Search for your data source and make sure it is exposed.
  4. Click on Build OData Queries.
  5. Make the required selections and set filters if needed and click on Generate Data Query.
  6. Copy the link the is displayed in the OData Query box and paste it into a browser.

The link will not work. In Chrome, you will see the error message 'The request URI is not valid'.

Cause

Your user is a business user, however this service is only enabled for technical users.

Resolution

When logging into OData, make sure you use the technical user defined in the communication arrangement (see step 2 of the mentioned help center article).

See Also

Help Center: OData API for Data Sources

Keywords

OData, data source, analytics, generate data query, generate metadata query, the request URI is not valid , KBA , AP-RC-ANA , C4C, ByD, Travel: Analytics Tools & Frameworks , Problem

Product

SAP C4C CORE all versions