#Resend timeout in vercel

9 messages · Page 1 of 1 (latest)

prisma peak
#

Hello, in dev this works fine, it is making its way through the code without any errors and also console.log the time it takes for allt he operations, they are about 50 ms in total,
later in the code I am awaiting an email to send but for some reason it just doesn't seem to be sending the email or taking really long time, here is what that code looks like:

await resend.emails.send({
              from: "Freshburst UF <[email protected]>",
              to: [order?.epostaddress],
              subject: "Freshburst UF - Orderbekräftelse",
              react: EmailTemplate({
                fornamn: order.fornamn,
                products: order.products,
                total: order.total,
              }),
            } as any);

Does anyone know how this is possible to take this long, I haven't had this issue before with resend

torn yachtBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

prisma peak
rugged light
#

I'm not sure what is causing the execution to take this much time but you can extend the timeout limit

prisma peak
#

okay thanks, I got this answer from resend support but they havn't answered back again after my message:

#

I think it is just an infinite time it would take because of some error not causing an actual error?

#

if someone has an idea that would be amazing

prisma peak
#

SOLUTION,

the problem was just that I had to update both @shut fractal-email/components and @shut fractal-email/render to the latest versions!