Error when subscribing to operations through the java-client
Asked Answered
W

1

5

When subscribing to operations using the Cumulocity java-client I am getting: com.cumulocity.sdk.client.SDKException: unable to subscribe Client: fwy51ui5s1crhtn1p1qkybrl2me2 on Channel:/meta/subscribe 403:denied_by_security_policy:create_denied

My user has all the permissions.

Workable answered 19/4, 2018 at 10:7 Comment(0)
C
9

Usually "/meta/subscribe 403:denied_by_security_policy:create_denied" is caused by subscribing to a non existing channel.

Cineaste answered 19/4, 2018 at 10:42 Comment(2)
That was it! There was a typo in the ID of the agent I was subscribing to.Workable
This post saved my time. I was pointing to a different org that did not have the event defined.Flournoy

© 2022 - 2024 — McMap. All rights reserved.