Article - CS297772

Resource/Subsystem permission issues for non-admin user from ThingWorx 8.0.0

Modified: 03-Oct-2023   


Applies To

  • ThingWorx Platform 8.0 to 9.5

Description

  • Non-admin users without enough permissions may meet below issues when editing entities from ThingWorx 8.0.0 onwards
  • Issue 1 : Thing loading error in Legacy Composer
    • Legacy Composer Screen
User-added image
  • Application Log Error
    • [L: ERROR] [O: c.t.w.BaseService] [I: ] [U: <user>] [S: ] [T: http-nio-80-exec-10] [context: com.thingworx.webservices.context.HttpExecutionContext@21ee7ce9][message: Entity Not Found : [GenericThing]]
    • [L: ERROR] [O: c.t.w.BaseService] [I: ] [U: <user>] [S: ] [T: http-nio-80-exec-9] [context: com.thingworx.webservices.context.HttpExecutionContext@39cd083a][message: Entity Not Found : [ConfiguredThing]]
  • Below error is seen in New Composer
    • Error message : Entity "GenericThing" is not found
User-added image
  • Issue 2: Service saving error
    • Error Message
      • CheckScript failed unexpectedly
      • status : 404
      • message : Entity not found : [ScriptServices]
    • Application Log error
      • [L: ERROR] [O: c.t.w.BaseService] [I: ] [U: <user>] [S: ] [T: http-nio-80-exec-13] [context: com.thingworx.webservices.context.HttpExecutionContext@2f03c81c][message: Entity Not Found : [ScriptServices]]
    • Legacy Composer Screen
User-added image
  • New Composer Screen
User-added image
  • Issue 3: In New Composer, unable to select Base Type for property or input/output parameter of Service
    • Does not happen with Legacy Composer
    • Application Log Error
      • [L: ERROR] [O: c.t.w.BaseService] [I: ] [U: <user>] [S: ] [T: http-nio-80-exec-2] [context: com.thingworx.webservices.context.HttpExecutionContext@776c6166][message: Entity Not Found : [PlatformSubsystem]]
    • New Composer Property screen
User-added image
  • New Composer Service screen
User-added image
  • Issue 4: Mashup loads up blank
    • Entity Not Found : [PlatformSubsystem] error is seen upon clicking Show/Hide log in the mashup( Ctrl+Alt+F9 to see the logging toolbar)
    • ERROR - Unable to get the Google maps API Url: "{"readyState":4,"responseText":"Entity Not Found : [PlatformSubsystem]","status":404,"statusText":"error"}"
  • Issue 5: In Legacy Composer, Properties tab is displayed as blank
    • Does not happen with New Composer
    • Application Log Error
      • [L: ERROR] [O: c.t.w.BaseService] [I: ] [U: <user>] [S: ] [T: http-nio-80-exec-10] [context: com.thingworx.webservices.context.HttpExecutionContext@6aebdeb4][message: Entity Not Found : [AlertFunctions]]
    • Legacy Composer Screen vs New Composer ScreenUser-added image
  • Issue 6: Non-admin user is unable to call PutBinary method of ContentLoaderFunction resource in service execution
    • Application Log Error
      • Execution error in service script [] : :TypeError : Cannot call method of "PutBinary" of null
 
This is a printer-friendly version of Article 297772 and may be out of date. For the latest version click CS297772