Definitely a valid point.
Unfortunately we can’t change the error response, but we may add error and error_info to this.
The status response for Webhooks is far from perfect, but this won’t be changed for the time being. Certainly something to continue to think about for the future.
I’m not sure if the following issue is related to my first statement in this thread, but since last thursday (2018-01-25) the webhook-endpoint seems to be down (at least for my account). Calling /webhooks via GET is always returning a non-standard 404 error:
Note that the particular section in the UI shows all registered webhooks. Only using the API (regardless whether I’m using my own client or the API Reference) throws the error.
Thanks @David, it was indeed the case that i used company.pd.com/v1/ as base-url for all my api-calls. Changing it to company.pd.com/api/v1/ fixed that issue. Your answer saved me a lot of time.
But I’m still wondering that only GET /webhooks failed and all other actions on different endpoints worked as expected…I even could successfully register new webhooks with the wrong base-url.