#JovanKomlenac-webhook

1 messages ยท Page 1 of 1 (latest)

solar musk
#

@gilded cloak maybe there's something about your server's configuration that blocks incoming POST requests?

gilded cloak
#

Thanks for response. Here is update.
POST requests are enabled and webhook endpoint is opened for access without login.
When I use CLI listener, it works, but when I use "send test event" from dashboard, copy the JSON request and send it with postman to my localHost webhook, I get 400. How can It differ from CLI?
Thanks in advance for the support

jolly crag
#

Hey there ๐Ÿ‘‹ getting caught up here. If you're verifying the signature of the events, then I don't think copying the payload and sending via Postman would work as the request would be lacking the necessary headers.

#

In you initial post you mentioned that a 405 was returned. Is there anywhere in your event handler code that you explicitly return a 405, or is this error coming from the framework you're using?

gilded cloak
jolly crag
#

Thanks, and do you have an event ID, where you saw a 405 returned, that we can take a closer look at?

gilded cloak
#

Shure, just a sec

jolly crag
#

Hm, so it looks those 405s are coming from your nginx service.

gilded cloak
#

Thanks for the fast replay, I will check it with other collogues who are responsible for the server and write again if needed.