cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

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

CaShimiz
12-Amethyst

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

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!

 

 

 

4 REPLIES 4

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 

CaShimiz
12-Amethyst
(To:VladimirN)

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

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

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

Top Tags