SAP Knowledge Base Article - Public

2978556 - You Are Unable to Fetch Token Using GET Method

Symptom

You are using standard OData Service for integration, but you are unable to get token using GET method.

Environment

SAP Cloud for Customer

Reproducing the Issue

Execute GET call https://myXXXXXX.crm.ondemand.com/sap/c4c/odata/v1/c4codataapi/$metadata (where XXXXXX is the tenant URL)

Resolution

For communication arrangement user for OData, x-csrf-token is not returned with GET calls, because such user are intended to be used between system to system integration. Therefore, the x-csrf-tokens are not required for POST, PATCH, PUT, and DELETE calls.

Keywords

Fetch token, standard OData service, integration, communication arrangement, technical user, , KBA , AP-RC-ODF , OData framework (C4C Only) , Problem

Product

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