SAP Knowledge Base Article - Public

3466924 - Invalid odata connection error when validating SF connection - SAP Datasphere

Symptom

SuccessFactors connection in Datasphere fails with the following error:

  • Data Flows: Cause: Invalid odata connection! Getting odata metadata failed because of Failed to fetch OAuth2 token! Token endpoint response HTTP/1.1 500 Internal Server Error[{"code":"500 INTERNAL_SERVER_ERROR","message":"Details are hidden. Check the logs.","fieldName":null}]
    Remote Tables: Unable to connect remote source: exception 2520214: Failed to fetch OAuth2 access token: 'HttpClient.request: OAuth2 request failed with error:
    Response HTTP code: 500

Environment

SAP Datasphere 1.0

Cause

Missing value for parameter OAuth scope.

Resolution

If Authentication Type = OAuth 2.0 make sure that parameter OAuth scope is maintained.

See Also

SAP SuccessFactors Connections

Registering Your OAuth2 Client Application

3165588 - ODataAdapter remote source using OAuth2 fails with "Cannot generate token. Bad request"

Keywords

SF, OAuth, ODATA, INTERNAL_SERVER_ERROR, OAuth2, connection, Datasphere, 500, HTTP, scope, adapter , KBA , DS-DI-CON , Connections , Problem

Product

SAP Datasphere 1.0