saasfly icon indicating copy to clipboard operation
saasfly copied to clipboard

Email not sent (error 403 from resend), but nothing in log/server console

Open shuther opened this issue 1 year ago • 3 comments

signup email was sent to resend but was rejected (I guess through POST call) due to lack of authentication that was expected. However, there was no error logged on the console. Is it expected? is there a way to report when this type of issue happens?

shuther avatar Aug 07 '24 11:08 shuther

You can see this question: https://discord.com/channels/1204690198382911488/1204986255453065226/threads/1252557658351997051

  1. verify your domain on Resend
  2. set resend token
  3. use cURL to test
  4. check your pgsql config, keep right

jackc3 avatar Aug 07 '24 11:08 jackc3

I was able to fix the issue; my point is more if resend is sending an error or is down, I would like the application to log an error in the console. It seems it should be the case (as per auth/index.ts) but there was nothing?

shuther avatar Aug 09 '24 11:08 shuther

Thanks for your suggestion, we will add some logs later

jackc3 avatar Aug 10 '24 06:08 jackc3

https://authjs.dev/guides/debugging will fix in auth.js

nextify2025 avatar Aug 22 '24 14:08 nextify2025