fixed

Hotfix: Updated `create_webhook` errors

API version: 2024-10 and later

The create_webhook mutation now returns InvalidArgumentException errors when:

  • the board ID is not found
  • a subitem board ID is passed

Check out the sample error responses below:

{ "data": { "create_webhook": null }, "errors": [ { "message": "Board not found", "locations": [ { "line": 1, "column": 10 } ], "path": [ "create_webhook" ], "extensions": { "code": "InvalidArgumentException", "status_code": 200, "error_data": { "board_id": 1186075578 } } } ] }
{ "data": { "create_webhook": null }, "errors": [ { "message": "Creating webhook on subitems board isn't allowed", "locations": [ { "line": 1, "column": 10 } ], "path": [ "create_webhook" ], "extensions": { "code": "InvalidArgumentException", "status_code": 200, "error_data": { "board_id": 118607557 } } } ] }