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
{{ message }}
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
I've been trying to get Http callbacks to work with notifications. When I use a URL (eg http://requestbin.company.com) in the "subscriptions" field", I see the following error in the logs - notification send response: HTTP/1.1 500 illegal subscription format: Unrecognized token 'requestbin': was expecting ('true', 'false' or 'null')
When I try JSON matching the Request class in CallbackService.java, it gets read as two subscriptions split by the comma in the JSON. Is there a correct format that will work for the subscriptions field for callback?
Thank you
The text was updated successfully, but these errors were encountered:
I started with the following in the "Subscriptions" field, following the format specified in the PR {"uri": "http://requestbin.commpany.com/abcdefg", "method": "POST", "header": {}, "body": "Hello world", "template": null }
But upon saving and refresh, it changed to : "body": "Hello world", "template": null }, "method": "POST", "header": {}, {"uri": "http://requestbin.commpany.com/abcdefg"
The JSON is being split based on the commas. So it looks like the subscription field is not the right place for the callback JSON. I added it to the "Custom Text" field of a notification. Will report back what I find.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I've been trying to get Http callbacks to work with notifications. When I use a URL (eg http://requestbin.company.com) in the "subscriptions" field", I see the following error in the logs -
notification send response: HTTP/1.1 500 illegal subscription format: Unrecognized token 'requestbin': was expecting ('true', 'false' or 'null')
When I try JSON matching the
Request
class in CallbackService.java, it gets read as two subscriptions split by the comma in the JSON. Is there a correct format that will work for the subscriptions field for callback?Thank you
The text was updated successfully, but these errors were encountered: