Article - CS343365

Error on executing GetEndpointList service "Unable to Invoke Service GetEndpointList on ODataConnector : Your route exchange has failed" in ThingWorx

Modified: 06-Dec-2024   


Applies To

  • Windchill PDMLink 11.0 M030-CPS06 to 13.0
  • ThingWorx Platform 8.3 to 9.3
  • Windchill Navigate (formerly ThingWorx Navigate) 8.5.0 to 9.3

Description

  • Below error is seen on UI when running service GetEndpointList:
[context: com.thingworx.webservices.context.HttpExecutionContext@xxxxxx][message: Unable to Invoke Service GetEndpointList on <ODataConnector thing> : Your route exchange has failed. Resource Error [Failed to aggregate all metadatas, 3 were expected, but only 0 received]]
  • Following error is seen when calling wrong endpoint URL or endpoint with typographical mistakes:
Unable to Invoke Service delete on ptc-windchill-OData-connector : Your route exchange has failed. Service operation failed with status [ - The URI is malformed.]
  • ValidateConnection service returns 200 Ok
  • Integration runtime logs show the below errors:
WARN c.t.i.r.o.MetadataAggregator - Failure processing metadata: HTTP operation failed invoking https://<hostname>/Windchill/servlet/odata/DocMgmt/$metadata with statusCode: 401
WARN c.t.i.r.o.MetadataAggregator - Failure processing metadata: HTTP operation failed invoking https://<hostname>/Windchill/servlet/odata/IE/$metadata with statusCode: 401
WARN c.t.i.r.o.MetadataAggregator - Failure processing metadata: HTTP operation failed invoking https://<hostname>/Windchill/servlet/odata/ProdMgmt/$metadata with statusCode: 401
ERROR c.t.i.r.IntegrationEngine - Exchange process failed with exception thrown :
 Your route exchange has failed. Resource Error [Failed to aggregate all metadatas, 3 were expected, but only 0 received]
java.lang.RuntimeException: Your route exchange has failed. Resource Error [Failed to aggregate all metadatas, 3 were expected, but only 0 received]
at com.twx.integration.route.exceptions.ExceptionHelper.convertToRuntimeException(ExceptionHelper.java:77)
at com.twx.integration.route.IntegrationEngine.dispatchRoute(IntegrationEngine.java:159)
at com.twx.integration.client.things.IntegrationRuntimeServer.Invoke(IntegrationRuntimeServer.java:72)
at sun.reflect.GeneratedMethodAccessor138.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.thingworx.common.processors.ReflectionProcessor.processService(ReflectionProcessor.java:261)
at com.thingworx.communications.client.things.VirtualThing.invokeService(VirtualThing.java:1120)
at com.thingworx.communications.client.things.VirtualThing.handleServiceRequest(VirtualThing.java:1028)
at com.thingworx.communications.client.ConnectedThingClient.handleRequest(ConnectedThingClient.java:315)
at com.thingworx.communications.client.processor.ClientProcessorTask.run(ClientProcessorTask.java:55)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

 
This is a printer-friendly version of Article 343365 and may be out of date. For the latest version click CS343365