Article - CS372864

"Unable to Invoke Service : No Integration Runtime Connected" is seen when a Non-Administrator User executes Routes/Services on ODataConnector, SwaggerConnector or HTTPConnector based Things in ThingWorx Platform

Modified: 06-Feb-2025   


Applies To

  • Windchill Navigate (formerly ThingWorx Navigate) 9.3 to 9.7
  • ThingWorx Platform 9.3 to 9.7
  • Integration Runtime (IR)

Description

  • Non-admin users are unable to execute any services on Odata Connector
  • Administrators are able to successfully execute Routes on Things based on SwaggerConnector or ODataConnector Thing Templates but Non-Admins are not
  • Things which are based on any of the following Thing Templates fail for Non-Administrator Users
    • SwaggerConnector
    • WindchillSwaggerConnector
    • ODataConnector
    • SAPODataConnector
    • HTTPConnector
  • What permissions are needed for a non-administrator to execute Routes on a SwaggerConnector or ODataConnector?
  • Users are added to the Navigate group but still get an error message stating no Integration Runtime instances are connected
  • Getting the following as non-admin user when executing a Route in Composer:
    Unable to Invoke Service : No Integration Runtime Connected, Contact Administrator for Further Information
  • ThingWorx Platform logs located in <ThingworxStorage>\logs show the following error messages:
    • ApplicationLog.log
      • [L: ERROR] [O: c.t.w.Things] [I: ] [U: <User>] [S: ] [P: ] [T: https-openssl-nio-8443-exec-2] Invalid service name: service_name
        [L: ERROR] [O: c.t.w.Things] [I: ] [U: <User>] [S: ] [P: ] [T: https-openssl-nio-8443-exec-6] Invalid service name: service_name
        [L: ERROR] [O: c.t.s.s.i.IntegrationSubsystem] [I: ] [U: <User>] [S: ] [P: ] [T: https-openssl-nio-8443-exec-1] Error getting IR status
        [L: ERROR] [O: c.t.w.Things] [I: ] [U: <User>] [S: ] [P: ] [T: https-jsse-nio-443-exec-1] Execution error in service script [<Service>] :: Unable to Invoke Service : No Integration Runtime Connected, Contact Administrator for Further Information
    • ScriptLog.log
      • Unable to Invoke Service : No Integration Runtime Connected, Contact Administrator for Further Information - See Script Error Log for more details. 
    • ErrorLog.log (with Enable Stack Tracing enabled in LoggingSubsystem)
      • [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: <User>] [S: ] [P: ] [T: https-openssl-nio-8443-exec-7] Error getting IR status com.thingworx.common.exceptions.InvalidRequestException: Not authorized for PropertyRead on AvailableForRequests in IR-<GUID>
        	at com.thingworx.things.Thing.generateSecurityException(Thing.java:3171)
        	at com.thingworx.things.Thing.checkRunTimeAuthorization(Thing.java:3118)
        	at com.thingworx.things.Thing.getProperty(Thing.java:3660)
        	at com.thingworx.things.Thing.getPropertyValue(Thing.java:3700)
        	at com.thingworx.system.subsystems.integration.IntegrationSubsystem.getAllIntegrationRuntimes(IntegrationSubsystem.java:680)
        	...
        [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: <User>] [S: ] [P: ] [T: https-openssl-nio-8443-exec-7] Unable to Invoke Service : No Integration Runtime Connected, Contact Administrator for Further Information com.thingworx.common.exceptions.InvalidRequestException: Unable to Invoke Service : No Integration Runtime Connected, Contact Administrator for Further Information
        	at com.thingworx.system.subsystems.integration.IntegrationSubsystem.getAllIntegrationRuntimes(IntegrationSubsystem.java:693)
        	at com.thingworx.system.subsystems.integration.IntegrationSubsystem.getNextAvailableIntegrationRuntime(IntegrationSubsystem.java:626)
        	at com.thingworx.system.subsystems.integration.IntegrationSubsystem.Invoke(IntegrationSubsystem.java:227)
        	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        	...
      • Note:
        • Different errors will be possible depending on the missing permission or if Visibility permissions are missing
    • SecurityLog.log (with log level set to Trace)
      • [L: TRACE] [O: S.c.t.t.Thing] [I: ] [U: <User>] [S: ] [P: ] [T: https-jsse-nio-443-exec-8] Run time authorization check failed due to Exception: Not authorized for PropertyRead on AvailableForRequests in IR-<GUID>
      • Note:
        • Different errors will be possible depending on the missing permission or if Visibility permissions are missing
This is a printer-friendly version of Article 372864 and may be out of date. For the latest version click CS372864