Replies: 49 comments 7 replies
-
We have same issue |
Beta Was this translation helpful? Give feedback.
-
Thanks for opening! How often is this occurring? Is it upon every signup? |
Beta Was this translation helpful? Give feedback.
-
i'v got the same issue @ every signupauth/v1/otp 500 (Internal Server Error)
|
Beta Was this translation helpful? Give feedback.
-
Got the same issue when using custom smtp (brevo) |
Beta Was this translation helpful? Give feedback.
-
do not use stmp server ,just paid。 this error cost me a day to debug . try to delete this project and create new |
Beta Was this translation helpful? Give feedback.
-
i've had the same issue. |
Beta Was this translation helpful? Give feedback.
-
Not every, but a lot of them. Supabase support basically told me to try another service (I've used the official integration of Resend and Supabase). |
Beta Was this translation helpful? Give feedback.
-
Suddenly started facing this issue today... restarting the project didn't make a difference. Any one got a fix? @psiaux did you just stop using resend? Update: switching to postmark fixed it... |
Beta Was this translation helpful? Give feedback.
-
![]() |
Beta Was this translation helpful? Give feedback.
-
Hey Also tried changing port to 587 or restarting the project. Nothing helped so far... |
Beta Was this translation helpful? Give feedback.
-
I menshioned it by mistake. |
Beta Was this translation helpful? Give feedback.
-
same error using AWS SES, SMTP server works, tried with different email client, i get emails through that, so supabase should be able to send emails with the same configuration. Is it some tls issue? |
Beta Was this translation helpful? Give feedback.
-
@psiaux @rxnveer @eluchsinger same issue here, provider is resend. Followed their official docs as well, any of you were able to fix it? TIA. |
Beta Was this translation helpful? Give feedback.
-
Any updates on this? I am running a production application with Supabase and face the same issue. This is highly critical for me, as users can not register occasionally! |
Beta Was this translation helpful? Give feedback.
-
Hey @eluchsinger @alissanguyen @roobox, I haven't seen or had any users report this issue again since my original comment, but I also don't have much logging set up and the Resend dashboard never reports any errors, so I guess it could still be happening occasionally. This is what Resend told me after I reported the issue in March: ![]() It might be worth raising a ticket if you haven't done so yet? Temporarily switching to Postmark did work for me previously, but I'd rather stay with Resend (if its reliability can be guaranteed...) |
Beta Was this translation helpful? Give feedback.
-
I am using brevo still the problem remains the same. Anyone figured out how to do changes ? |
Beta Was this translation helpful? Give feedback.
-
I checked the API key in Resend, when I clicked on the "last used" cell, I could get to its logs. It said: So what I did is I created a full access api key and replaced the old password in Supabase with that. The problem was solved. The issue for us probably was that we used a "Sending access" api key. |
Beta Was this translation helpful? Give feedback.
-
For the previous project, it works fine |
Beta Was this translation helpful? Give feedback.
-
Maybe you can change your sender email with a domain that verifies in your email services, in my case I use Resend, and that fixed it |
Beta Was this translation helpful? Give feedback.
-
I faced the same issue with Brevo as custom smtp. I just regenerated the login and master password in brevo and used it and it started working. |
Beta Was this translation helpful? Give feedback.
-
Same issue with Resender. Nowhere I can find to see logs to debug the issue. Not showing up in resender logs and idk if/where supabase has email logs. |
Beta Was this translation helpful? Give feedback.
-
I haven't had any issues using Supabase with the Resend integration until just yesterday—been using it for over a year now. I will point out—since no one else has—turning off the SMTP integration doesn't make a difference. I still get the same errors. I wonder if anyone else is using custom HTML in the email? Could this be related, though it's never been an issue for me before. When I change the content of the email to just |
Beta Was this translation helpful? Give feedback.
-
you can just get the error message in details from supabase logs.. look into it and you will most likely see the error. you can also copy the entire body of the error message and feed it into chatGPT, it should be able to give you an explanation as to why you are getting the error. |
Beta Was this translation helpful? Give feedback.
-
Hi all, just checking in here, is this still an issue for users? |
Beta Was this translation helpful? Give feedback.
-
If you're using Amazon SES, you need to ensure you're SES is not in "sandbox mode" or that you're sending to an email that is approved to work while in sandbox mode. |
Beta Was this translation helpful? Give feedback.
-
in my case your sender email must be verified email example@your_verified_domain.com |
Beta Was this translation helpful? Give feedback.
-
thanks, helped me |
Beta Was this translation helpful? Give feedback.
-
Hi everyone, due to inactivity on this issue I've moved the issue over to discussions/enhancements. |
Beta Was this translation helpful? Give feedback.
-
I was having issues with this as well and @ArtiomXD's answer was the solution for me. May I suggest that an explicit explanation that the sender e-mail domain has to be the same as the verified domain could be added to the docs? Because it's not stated there at the moment. |
Beta Was this translation helpful? Give feedback.
-
I just switched over to Resend / Supabase integration (was using Sendgrid previously), and I'm having the same issue. I'm just getting 450 error code and no more information than that in the logs in Supabase. No logs of usage at all in Resend. I have a verified custom domain that has worked with no issues using Sendgrid. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Bug report
Describe the bug
Sometimes, the sign up function returns the following error:
AuthApiError: Error sending confirmation mail at handleError (webpack-internal:///(action-browser)/./node_modules/.pnpm/@[email protected]/node_modules/@supabase/gotrue-js/dist/module/lib/fetch.js:46:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async _handleRequest (webpack-internal:///(action-browser)/./node_modules/.pnpm/@[email protected]/node_modules/@supabase/gotrue-js/dist/module/lib/fetch.js:93:9) at async _request (webpack-internal:///(action-browser)/./node_modules/.pnpm/@[email protected]/node_modules/@supabase/gotrue-js/dist/module/lib/fetch.js:73:18) at async SupabaseAuthClient.signUp (webpack-internal:///(action-browser)/./node_modules/.pnpm/@[email protected]/node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.js:236:23) at async signUp (webpack-internal:///(action-browser)/./src/app/cadastro/_actions/index.ts:26:17) at async project_folder\node_modules\.pnpm\[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:39:406 at async t4 (project_folder\node_modules\.pnpm\[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:38:6379) at async rk (project_folder\node_modules\.pnpm\[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:39:25934) at async doRender (project_folder\node_modules\.pnpm\[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\server\base-server.js:1394:30) at async cacheEntry.responseCache.get.routeKind (project_folder\node_modules\.pnpm\[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\server\base-server.js:1555:28) at async DevServer.renderToResponseWithComponentsImpl (project_folder\node_modules\.pnpm\[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\server\base-server.js:1463:28) at async DevServer.renderPageComponent (project_folder\node_modules\.pnpm\[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\server\base-server.js:1856:24) at async DevServer.renderToResponseImpl (project_folder\node_modules\.pnpm\[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\server\base-server.js:1894:32) at async DevServer.pipeImpl (project_folder\node_modules\.pnpm\[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\server\base-server.js:911:25) at async NextNodeServer.handleCatchallRenderRequest (project_folder\node_modules\.pnpm\[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\server\next-server.js:271:17) at async DevServer.handleRequestImpl (project_folder\node_modules\.pnpm\[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\server\base-server.js:807:17) at async project_folder\node_modules\.pnpm\[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\server\dev\next-dev-server.js:331:20 at async Span.traceAsyncFn (project_folder\node_modules\.pnpm\[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\trace\trace.js:151:20) at async DevServer.handleRequest (project_folder\node_modules\.pnpm\[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\server\dev\next-dev-server.js:328:24) at async invokeRender (project_folder\node_modules\.pnpm\[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\server\lib\router-server.js:163:21) at async handleRequest (project_folder\node_modules\.pnpm\[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\server\lib\router-server.js:342:24) at async requestHandlerImpl (project_folder\node_modules\.pnpm\[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\server\lib\router-server.js:366:13) at async Server.requestListener (project_folder\node_modules\.pnpm\[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\server\lib\start-server.js:140:13) { __isAuthError: true, status: 500 }
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
const res = await supabase.auth.signUp({ email, password })
if (res.error !== null) console.log({ signup_error: res.error })
Expected behavior
res.error
should benull
.System information
Additional context
I'm using Next.js and Supabase's integration with Resend (as custom SMTP). It happens both on development and production, although in production there's less trace log information.
Beta Was this translation helpful? Give feedback.
All reactions