Skip to main content
1-Visitor
September 16, 2015
Solved

EMS logging permissions errors on GetPropertySubscriptions call

  • September 16, 2015
  • 2 replies
  • 3080 views

I am able to make remote service calls and get returned data, however... I'm getting this polled repeatedly when I get connected with a device on my EMS

[INFO ] 2015-09-16 13:59:28,222 Truck000: Error occured while accessing EMS. Checking isConnected.

[INFO ] 2015-09-16 13:59:28,251 Truck000: EMS is available: true, online: true

[INFO ] 2015-09-16 13:59:28,254 Truck000: Attempting to GetPropertySubscriptions from server failed. code: 500, result:

This is in the monitor under logs:

Unable to dispatch [ uri = /Things/*000/Services/GetPropertySubscriptions/]: Unable to Invoke Service GetPropertySubscriptions on Truck000 : Not authorized for ServiceInvoke on GetPropertySubscriptions in Truck000

The appKey I'm using to authenticate is hooked to "system" as User Name Reference.  Is this a permissions issue?

Best answer by Aanjan

Mike, if you are just testing, can you create an appKey with the Admin user and use that to connect?

2 replies

Aanjan5-Regular MemberAnswer
5-Regular Member
September 16, 2015

Mike, if you are just testing, can you create an appKey with the Admin user and use that to connect?

mburke11-VisitorAuthor
1-Visitor
September 16, 2015

I've changed the appkey user to Administrator and the error is still there.

5-Regular Member
September 16, 2015

Are you able to browse and bind the remote properties from the 'Manage Bindings' section?

mburke11-VisitorAuthor
1-Visitor
September 16, 2015

Aanjan, I think I had some intermittent connectivity issues that were making it look like it still wasn't working.  The thing does seem to bind properly now.