Webhook 204 No content response

Options
Vijay
Vijay Member
edited October 2023 in ? Working with APIs

I'm trying to connect a webhook to Xano, but I'm encountering the following error message: "Please ensure that your webhook URL exists and handles POST requests. The required status code is 204 No Content." I have configured this correctly; the webhook URL does exist, and it indeed supports POST requests.

However, I'm receiving a status code 200. Can someone assist me with this?

Tagged:

Best Answer

  • Chris Coleman
    Chris Coleman Administrator

    ADMIN

    Answer ✓
    Options

    Hi, @Vijay. Can you try adding a Set Header function (located under Utility Functions) to your function stack with a value of "HTTP/1.1 204 No Content"?

    I've never had to try this in practice, but I can see when calling the API externally, it seems to be returning the 204 status code properly. Give that a shot and let me know how it goes.

Answers