SAP Knowledge Base Article - Public

2917820 - Error "Unauthorized: The service 'c4codata' is not assigned to you" While Creating Ticket from Service Portal


You activated the standard Service Portal Integration. You are having the required access assigned to your OData Technical User. Upon creating the Ticket from the Service Portal, you receive the error:

Unauthorized: The service 'c4codata' is not assigned to you.


SAP Cloud for Customer

Reproducing the Issue

  1. Login to the Service Portal with the OData Technical User credentials
  2. Create a Service Request Ticket
  3. System throws the mentioned error


The c4codata service is deprecated and cannot be used via Technical User. You have configured the Service Portal project with the c4codata APIs which is deprecated.


Services that are added to Communication Arrangement can only be accessed via Communication Arrangement's Technical User. In this case, use c4codataapi instead of c4codata service. For $metadata calls there is no authorization restriction with Technical User.

Adapt the Service Portal project with the new OData APIs instead of the deprecated one. Any enhancement that needs to be done has to be performed at your side.

See Also

The following links give information about new OData APIs :

SAP Cloud for Customer OData API

Introducing SAP Cloud for Customer OData API V2


Service Portal, Technical User, OData, OData Technical User, c4codata, c4codataapi, Service Portal Integration, Communication Arrangement , KBA , c4codata , service portal integration , c4codataapi , portal integration , technical user , odata , odata technical user , LOD-CRM-INT-API , OData API (C4C Only) , Problem


SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions