SAP Knowledge Base Article - Public

3739114 - Unauthorized: 'odataservicecatalog' Not Assigned when Calling odataservicecatalog/odataservicecollection with a Technical User

Symptom

The message "Unauthorized: The service 'odataservicecatalog' is not assigned to you" is shown when calling via technical user the https://myNNNNNN.crm.ondemand.com/sap/c4c/odata/v1/odataservicecatalog/ODataServiceCollection API where NNNNNN is the tenant number.

Environment

SAP Cloud For Customer

Reproducing the Issue

  1. Use a technical user to call the endpoint path odataservicecatalog/ODataServiceCollection (for example via an API client).
  2. Observe the response “Unauthorized: The service 'odataservicecatalog' is not assigned to you”.

Cause

Technical users do not have access to the service odataservicecatalog, and this service cannot be assigned to technical users.

Resolution

This behavior is by design for this API/service.

Keywords

odataservicecatalog, ODataServiceCollection, c4c odata, unauthorized, service not assigned, technical user, odata service catalog, 401, authorization, api access, service catalog, odata v1, c4c api, postman, endpoint access , KBA , LOD-CRM-INT-API , OData API (C4C Only) , Problem

Product

SAP Cloud for Customer core applications all versions