Skip to main content
14-Alexandrite
March 3, 2023
Question

TWX SAPODataConnector - Resource Error [Internal error accessing metadata references]

  • March 3, 2023
  • 2 replies
  • 1815 views

Hello everyone,

 

I'm trying to connect TWX to SAP and have been able to correctly validate the connection. What I'm having issue with is accessing the metadata.

The address that I got from the customer is correct, I can directly access it through chrome or edge.

But when I try to run the GetEndpointList, it returns me the following error:

 

2023-03-03 11:12:47.497 [ClientProcessor-4] ERROR c.t.i.r.o.MetadataTransformer - Failure processing metadata for root /sap/opu/odata/sap/API_BILL_OF_MATERIAL_SRV/ and serviceRelativePath with exception: Internal error accessing metadata references
2023-03-03 11:12:47.498 [ClientProcessor-4] ERROR c.t.i.r.IntegrationEngine - Exchange process failed with exception thrown : Your route exchange has failed. Resource Error [Internal error accessing metadata references]
java.lang.RuntimeException: Your route exchange has failed. Resource Error [Internal error accessing metadata references]

 

The address the customer gave is: https://xxxxxxxxxxxxxxxxx/sap/opu/odata/sap/API_BILL_OF_MATERIAL_SRV/$metadata

This is my HTTP connector settings.

 

CaShimiz_0-1677843599050.png

 

wonder if there's something to do with the SAP node within ODATA?

In the hands-on tutorial it uses the /opu/odata/IWBEP/...... instead of /opu/odata/sap/.....

Would that make a difference in the connection?

 

Thanks!

 

 

 

2 replies

24-Ruby III
March 6, 2023

Article - "GetEndpointList service on SAPODataConnector fails with error "Your route exchange has failed. Resource Error [Internal error accessing metadata references]" in ThingWorx": https://www.ptc.com/en/support/article/CS362945 

 

Discussion - "SAP OData Connector - ERROR c.t.i.r.IntegrationEngine": https://community.ptc.com/t5/ThingWorx-Developers/SAP-OData-Connector-ERROR-c-t-i-r-IntegrationEngine/td-p/682165 

CaShimiz14-AlexandriteAuthor
14-Alexandrite
March 7, 2023

I've looked into both... The urls are correct and I don't have network issues.

18-Opal
March 6, 2023

Hello,

 

I'd suggest checking what https://xxxxxxxxxxxxxxxxx/sap/opu/odata/sap/API_BILL_OF_MATERIAL_SRV/$metadata actually returns, e.g. if all URLs are correct in the response.

 

/ Constantine

CaShimiz14-AlexandriteAuthor
14-Alexandrite
March 7, 2023

Hi Constantine, I've done that... It returns the metadata correctly.

It's something SAP related, I think it's some kind of configuration on the SAP side