You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I have configured a subscription manager, and it is successfully creating subscriptions, but I wanted to validate certain variables that are sent over with the Subscription when it is created. If they aren't valid, I execute the following code:
I certainly expected the data key in the payload to be null or empty, but I expect the errors to be written out to the errors key in the payload JSON instead of being [{}]. Am I doing something wrong here?
Thanks
The text was updated successfully, but these errors were encountered:
So I have configured a subscription manager, and it is successfully creating subscriptions, but I wanted to validate certain variables that are sent over with the
Subscription
when it is created. If they aren't valid, I execute the following code:This is all well and fine, except that the message that is getting written out to the websocket looks like this:
I certainly expected the data key in the payload to be null or empty, but I expect the errors to be written out to the
errors
key in the payload JSON instead of being[{}]
. Am I doing something wrong here?Thanks
The text was updated successfully, but these errors were encountered: