Webhook 204 No content response
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?
Best Answer
-
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
-
Amazing, it worked. Thank you :)
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback