#MUNT4S1R

1 messages · Page 1 of 1 (latest)

marsh bronzeBOT
rotund arch
#

Hi, please don't tag people directly. What is your question?

subtle spoke
#

On my webhook function. I have added a method to send mail to my email address. It works perfectly. But why im getting this error? On my runtime log in my digital ocean server, i am not getting any error there.

rotund arch
#

Are you triggering your email generation and transmission before you send a response to us to acknowledge the receipt of the Event? There is a 20-second window for your endpoint to respond to us, so it should us a response before trying to do any heavy tasks on your end.

Can you share an ID of an Event where you saw this behavior when it was being sent to your endpoint?

subtle spoke
#

i can share you my code.

rotund arch
#

Hm, it looks like your server is returning a 504 to us. We won't have insight into why it is doing that.

subtle spoke
#

yes i am sending the response at the end.

rotund arch
#

Did your endpoint respond as you expected before you added the email functionality?

subtle spoke
#

Yes. That was my another email address

#

test

rotund arch
#

Okay, then it sounds like a bug may have been introduced by your recent changes. As the owner and maintainer of that code, you are best suited to investigate why your code is returning a 504 to us and address that.

subtle spoke
#

Yeah i got it.

#

Thanks