what does my endpoint have to reply so that i can ...
# ask-ai
a
what does my endpoint have to reply so that i can add a webhook? at the moment, i can't save the webhook because the test fails even though my endpoint receveis the message (although it ends in an exception).
u
When you add a webhook in Airbyte and click the "Test" button, Airbyte sends a test request to your endpoint. If your endpoint responds with an error or an exception, the test will fail and you won't be able to save the webhook. To pass the test, your endpoint should return a successful HTTP status code (like 200 OK) and not raise any exceptions. If your endpoint is returning an empty JSON object (
{}
), this could be the reason why the test is failing. This was a known issue in Airbyte version
0.50.7
as mentioned in this [Github issue](https://github.com/airbytehq/airbyte/issues/25007). Upgrading to version
0.50.8
or newer should resolve this issue. If you're still having trouble, please check the logs for any error messages and make sure your endpoint is correctly set up to handle the incoming requests from Airbyte. If you're using Slack for notifications, you can follow the steps in the [Airbyte documentation](https://docs.airbyte.com/cloud/managing-airbyte-cloud/manage-airbyte-cloud-notifications#create-a-slack-app) to create a Slack app and enable incoming webhooks.
t
Did you ever figure this out?