OTP server error
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- go, node.js
- Domain
- api, authentication
Research direction
Start by reproducing the failure at auth/v1/otp, both through signInWithOtp() and the Supabase dashboard's Send magic link action. Check the reported Supabase JS 2.39.7 and Node.js 20.16.0 environment, then trace the server-side error producing the 500 response. Done means a magic link is sent successfully instead of returning the reported error.
Written by the indexing model from the issue text.
Description
Bug report
- I confirm this is a bug with Supabase, not with my own application.
- I confirm I have searched the Docs, GitHub Discussions, and Discord.
Describe the bug
auth/v1/otp is returning 500 error message: "Error sending magic link email", it doesn't matter if is through my application calling supabaseService.getClient().auth.signInWithOtp() nor trying to send it directly via the Supabase dashboard.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
- Go to 'Authentication'
- Click on 'Users'
- Select and click at any user
- Scroll down to 'Send magic link'
- Click on 'Send magic link'
- See error "Failed to send magic link: failed to make magiclink request: Error sending magic link email"
Expected behavior
A magic link to be sent to the user's e-mail
Screenshots
Not applicable
System information
- OS: Windows 11
- Microsoft Edge
- Version of supabase-js: 2.39.7
- Version of Node.js: 20.16.0
- Dominant language
- Go
- Stars
- 2.6k
- Forks
- 764
- Avg merge
- 5d 3h
- Merged PRs (30d)
- 39
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from supabase/auth
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Similar issues
-
optimization optimization:agents-md-curator
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
githubnext/gh-aw-cao#13143 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
blinklabs-io/bursa#904 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
yanet-platform/ipfw-go#129 ·
-
bug confmap/provider/googlesecretmanagerprovider needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
open-telemetry/opentelemetry-collector-contrib#51273 · 2 comments ·
-
bug: AI Gateway client filter lists "Unknown" twice when NULL and literal Unknown clients coexist Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 90/100