SAP Knowledge Base Article - Preview

3417453 - Error: "org.apache.olingo.client.core.http.OAuth2Exception: Failed to fetch OAuth2 token" while connecting to SAC through CloudDataIntegrationAdapter - SAP HANA Smart Data Integration

Symptom

  • Create remote source through CloudDataIntegrationAdapter to SAC
  • Test connection failed with error in framework.trc file
    "com.sap.hana.dp.adapter.sdk.AdapterException: Invalid odata connection! Getting odata metadata failed because of org.apache.olingo.client.core.http.OAuth2Exception: Failed to fetch OAuth2 token! sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Context: Invalid odata connection! Getting odata metadata failed because of org.apache.olingo.client.core.http.OAuth2Exception: Failed to fetch OAuth2 token! sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"


Read more...

Environment

SAP HANA Smart Data Integration

Product

SAP HANA smart data integration 2.0

Keywords

DP Agent, CDIAdapter, connection, certificate , KBA , HAN-DP-SDI , SAP HANA smart data integration (SDI) , 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.