ThingWorx Exception 9: Permission issues with the SCM file repository
If the permissions are not properly set for the SCM File Repository, the following exception appears in the ThingWorx Application log:

Not authorized for ServiceInvoke on StartFileTransfer in
TW.RSM.Thing.FileRepository: service execution failure
resultCode=STATUS_UNAUTHORIZED"
Solution
An Administrator must grant the eMessage Connector the correct permissions to that File Repository Thing for SCM, TW.RSM.Thing.FileRepository. Execute the GrantFileDownloadPermissions service of the eMessageServices Thing with the following input parameters:
organization: The name of the organization created for the eMessage Connector.
userGroup: The name of the user group created for the eMessage Connector.
sourceRepository: The Thing name of the SCM File Repository: TW.RSM.Thing.FileRepository.
Was this helpful?