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
- Use a technical user to call the endpoint path odataservicecatalog/ODataServiceCollection (for example via an API client).
- 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
SAP Knowledge Base Article - Public