Getting error with .NET SDK while everything seems to be running smoothly
I'm trying to connect an analytics camera to ThingWorx via .NET SDK.
I have a single static Thing in ThingWorx that is used to run a service for detecting new unbound Remote Things and creating those Things. That works as intended and I can manually remove a camera Thing and it appears back to ThingWorx on next run.
After that service run, the analytics from cameras (detected events etc) are being processed through another services and put in infotable properties as defined in the ThingTemplate.
These are also getting gathered correctly.
My problem is, that while I run the program, I keep getting these three errors multiple times:
Unable to dispatch [ uri = /Things/MySDKGateway/Services/GetEventSubscriptions/]: Unable to Invoke Service GetEventSubscriptions on MySDKGateway : Not authorized for ServiceInvoke on GetEventSubscriptions in MySDKGateway
error executing APIRequest Message: Unable to dispatch [ uri = /Things/MySDKGateway/Services/GetEventSubscriptions/]: Unable to Invoke Service GetEventSubscriptions on MySDKGateway: Not authorized for ServiceInvoke on GetEventSubscriptions in MySDKGateway, sending ERROR ResponseMessage to caller!
error executing APIRequest Message: Unable to dispatch [ uri = /Things/MySDKGateway/Services/GetPropertySubscriptions/]: Unable to Invoke Service GetPropertySubscriptions on MySDKGateway: Not authorized for ServiceInvoke on GetPropertySubscriptions in MySDKGateway, sending ERROR ResponseMessage to caller!
The services shouldn't be using any service called "GetEventSubscriptions" or "GetPropertySubscriptions" and I haven't event found one called that.
Also tried to giving the application key user the full permissions on the ThingTemplate for both run time and run time instance for Event Subscribe and Service Execute but didn't have any effect.
If I don't use ConnectedThingClient.SetAsSDKType() method, it gives the same errors for some other Thing. If I use it all (or at least all I checked) the errors are specified to that SDKGateway thing.
Any idea where these errors are coming from and what permissions I should give the user?
Otherwise everything seems to be working as planned but the problem's that the error logs fill the capacity from ThingWorx server quite rapidly when the program's running and I have no clue why.

