ThingWorx Exception 7: Not Authorized for Service Invoke on <service> in <Thing>
This exception appears if a user that runs the eMessage Connector does not have all the required permissions ro run the eMessage Connector functionality.
Here is a scenario that will result in this exception:
1. Start ThingWorx Platform.
2. Update the configuration settings of eMessage Connector to use an application key for a non-administrator user that does not have complete Thingworx Permissions to execute eMessage Connector functionality.
3. Start eMessage Connector.
4. Start the agent that polls and checks for download egress.
In this scenario, the user does not have all the permissions to execute eMessage Connector functionality. The following error is logged:
[L: ERROR] ... Unable to Invoke Service GetThingNameAndIdentifierByModelAndSerial
on Emessage-cxserver-<uuid> : Not authorized for ServiceInvoke on
GetThingNameAndIdentifierByModelAndSerial in Emessage-cxserver-<uuid>
...
For information about resolving this issue, refer to Setting Up Permissions and Visibility for the eMessage Connector.
Was this helpful?