Article - CS241537

Automatic Thing creation via service fails with "Not authorized for Create" in ThingWorx for non administrative users

Modified: 15-Jun-2023   


Applies To

  • ThingWorx Platform 6.6 N/A to 9.4

Description

  • Automatic Thing creation via service fails with error in the ScriptLog.log
[L: ERROR] [O: S.c.q.l.c.Logger] [I: XXXX] [U: YYYY] [S: ] [P: ] [T: https-jsse-nio-8443-exec-192] Error in: XXXX.MyService() javascript service. Message ::Not authorized for Create
 
  • Service calling EntityServices.CreateThing() or DeleteThing() fails for non Administrator users
  • User has got ServiceInvoke right on the calling service and those EntityServices services
This is a printer-friendly version of Article 241537 and may be out of date. For the latest version click CS241537