#MUNT4S1R
1 messages · Page 1 of 1 (latest)
Hi, please don't tag people directly. What is your question?
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.
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?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
i can share you my code.
Hm, it looks like your server is returning a 504 to us. We won't have insight into why it is doing that.
yes i am sending the response at the end.
Did your endpoint respond as you expected before you added the email functionality?
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.