Setting up webhook for Airbyte

Summary

The user is facing an issue setting up a webhook in Airbyte platform. The webhook URL provided is being flagged as invalid, even though it works when tested with a curl command using example payload from the documentation.


Question

hello <#C021JANJ6TY|>, does anyone knows how to setup the webhook? I have a rest API server waiting for the POST from the webhook notification, but when I add the url, it says its invalid, but if I run it as a curl with the example payload from the docs, it works.

-H "Content-Type: application/json" \
-d '{
    "data": {
        "workspace": {
            "id":"b510e39b-e9e2-4833-9a3a-963e51d35fb4",
            "name":"Workspace1",
            "url":"<https://link/to/ws>"
        },
        "connection": {
            "id":"64d901a1-2520-4d91-93c8-9df438668ff0",
            "name":"Connection",
            "url":"<https://link/to/connection>"
        },
        "source": {
            "id":"c0655b08-1511-4e72-b7da-24c5d54de532",
            "name":"Source",
            "url":"<https://link/to/source>"
        },
        "destination": {
            "id":"5621c38f-8048-4abb-85ca-b34ff8d9a298",
            "name":"Destination",
            "url":"<https://link/to/destination>"
        },
        "jobId":9988,
        "startedAt":"2024-01-01T00:00:00Z",
        "finishedAt":"2024-01-01T01:00:00Z",
        "bytesEmitted":1000,
        "bytesCommitted":1000,
        "recordsEmitted":89,
        "recordsCommitted":89,
        "bytesEmittedFormatted": "1000 B",
        "bytesCommittedFormatted":"90 B",
        "success":true,
        "durationInSeconds":3600,
        "durationFormatted":"1 hours 0 min"
    }
}'```

`Webhook test failed. Please verify that the webhook URL is valid.`

<br>

---

This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. [Click here](https://airbytehq.slack.com/archives/C021JANJ6TY/p1729800050758539) if you want 
to access the original thread.

[Join the conversation on Slack](https://slack.airbyte.com)

<sub>
["webhook", "rest-api", "post", "curl", "invalid-url", "payload", "documentation"]
</sub>