Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Hi All,
There was an error while creating things with the service as a non-administrator user. (I also granted permissions in to the EntityServices for user and Usergroup. In theThingWorx version : 9.1
I'm getting this error:
JavaException: com.thingworx.common.exceptions.InvalidRequestException: Not authorized for Create.
>>Concerning the issue, I need assistance.
regards,
hareef
Solved! Go to Solution.
you would need these permissions.
1) Entity service resource - run time (CreateThing)
2) Thing collection design time - as the user will be creating the thing
3) while using create thing snippet you will have to pass Template name and project name - for this reason, the user should have visibility on that specific template/project or on the entire Template/project collection.
This is saying that the User needs permissions to use 'EntityServices' 'CreateThing' or Thing Collection Design Time Create
I think the script log should have that showing.
Either give the user permission to that service or collection permission or give it to the System user.
you would need these permissions.
1) Entity service resource - run time (CreateThing)
2) Thing collection design time - as the user will be creating the thing
3) while using create thing snippet you will have to pass Template name and project name - for this reason, the user should have visibility on that specific template/project or on the entire Template/project collection.