Open brandon-kucera opened 9 months ago
while I'm here - there are some pretty dubious errors coming back even when I hit the HTTP API directly.
request body:
{'type': 'custom', 'displayName': 'brandonk', 'webhooks': [{'target': 'target', 'triggers': 'ee'}]}
error:
('{"errors":[{"code":"bad_request","title":".webhooks: should not have more ' 'than 1 items"}]}')
request body:
{'type': 'custom', 'displayName': 'brandonk', 'webhooks': []}
error:
('{"errors":[{"code":"bad_request","title":"should have required property ' '\'webhooks\'"}]}')
Running:
Results in:
HTTP response body: {"errors":[{"code":"bad_request","title":"should have required property 'webhooks'"}]}
As far as I can tell webhooks is not required when creating a new custom integration, it is not clear to me where I should even be setting this.