SAP Knowledge Base Article - Public

3492343 - SAP Analytics Cloud OData connection Data Manufacturing (DM) fails "Connection to service failed : OData services"

Symptom

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."

When establishing OData connection to DM system with OAuth authentication, user get the errors as in screenshot 

  • Connection to service failed : OData services 

The following error message appears inside the Network Trace (HAR file): 

  • An error occurred while connecting to the data source: Error read metadata: An exception of type \\ u0027WFCException \\ u0027 occurred.

Your Service URL uses OData v1 as the following example

  • https://<...>/dmci/v1/<..>

When accessing the OData URL directly in browser, you face the error message below:

    • Invalid JWT

 

 

Environment

  • SAP Analytics Cloud
  • Digital Manufacturing

Reproducing the Issue

  1. Configure your OData Service connection based on Digital Manufacturing Service URL (https://<...>/dmci/v1/<..>)
  2. Click "Save"
  3. Receive error message "Connection to service failed : OData services"

Cause

Resolution

According with the documentation above, please try to create the SAC OData connection using not deprecated URL patterns (v2 and v4)

By calling the SAP Digital Manufacturing for insights public APIs, you can perform the following actions:

Also check SAP Note 0003463893 - Additional information on Digital Manufacturing for insights APIs (New) for additional information on how to use Digital Manufacturing for insights OData V2 and OData V4 APIs to access the data stored in Manufacturing Data Objects (MDOs)

See Also

For more information on how to use the SAP Digital Manufacturing for insights OData APIs to access the data stored in Manufacturing Data Objects (MDOs), see 3324908

Keywords

SAC, Digital Manufacturing, OData, v1, v2, v4, Invalid JWT, Connection to service failed , KBA , LOD-ANA-AQU-ODATA , Acquiring Data into SAC using an ODATA connection , MFG-DM-MI , Manufacturing Insights , Problem

Product

SAP Analytics Cloud 1.0