Symptom
-
Unable to establish a connection to an SAP S/4HANA OData V2 service using the SAP Data Services OData adapter.
-
The OData adapter can be configured, saved, and started successfully in Data Services Management Console (DSMC).
-
The adapter datastore connection fails when OAuth 2.0 authentication with the client_credentials grant type is configured.
-
The same OData endpoint can be accessed successfully using Postman.
The following errors are recorded in the OData adapter error and trace logs:
Not support grant type: client_credentials Unable to connect to https://<HOST>:<PORT>/sap/opu/odata/sap/<SERVICE>/$metadata. Error : Not support grant type: client_credentials Cannot start session. com.acta.adapter.sdk.AdapterException: Unable to connect to https://<HOST>:<PORT>/sap/opu/odata/sap/<SERVICE>. Error : Not support grant type: client_credentials
Read more...
Environment
SAP Data Services 2025
Product
Keywords
SAP Data Services, BODS, DS 2025, OData adapter, OData V2, OData V4, OAuth 2.0, client_credentials, client-credentials, unsupported grant type, Not support grant type, Cannot start session, AdapterException, OData datastore, authentication failure, S/4HANA, API_BUSINESS_PARTNER, metadata, Postman, EIM-DS-CON , KBA , EIM-DS-CON , Connectivity , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview