Symptom
Retrieving Datasphere objects using the OAuth2 Client "API access" mode does not work when trying to retrieve space information or retrieving any Datasphere related object information
Environment
SAP Datasphere
Reproducing the Issue
- Create a OAuth2 Client with "API Access"
- Retrieve the token and try to retrieve space information. There is an error.
Resolution
OAuth2 Client "API access" is a two legged approach where the user does not have to use the browser to get an authorization token. In Datasphere this type of OAuth2 client cannot be used for retrieving Datasphere objects. It is only used for Scim 2.0 API access as well as any SAC related functionality. On what type of OAuth2 client is supported by Datasphere for Data retrieval is documented under Consuming Data via ODATA API as a Note.
See Also
- 3532856 - OAuth2 Client "Interactive Usage" for CLI commands
- Create OAuth2.0 Clients to Authenticate Against SAP Datasphere
Keywords
API Access, OAuth2, SCIM2, scim 2.0, Interactive Usage, CLI, ODATA, space , KBA , DS-DI-CON , Connections , DS-API-CLI , SAP Datasphere Command-Line Interface , Problem