I got the following error 500, while executing the Supabase Forgot Password workflow on form submission, the same code has working for months, just got a few report by our customers today and I can reproduce it 100%.
name: “Error”
stack: “Error: Error sending recovery email at Object.resetPasswordForEmail (https://cdn.weweb.io/components/1fa0dd68-5069-436c-9a7d-3b54c340f1fa/0ed9be68-23fd-457e-a170-a4ca83d66da5/dist/manager.js:1:158761) at async S (https://editor-cdn.weweb.io/public/js/index.698cb60a.js:1:426380)”
message: “Error sending recovery email”
cause
__isAuthError: true
name: “AuthApiError”
status: 500
code: “unexpected_failure”
In the Network tab you should find a better log, otherwise in Supabase ad well. If you post it here, we might be able to help
We’re having the same problem right now
On supabse side I got this:
{“auth_event”:{“action”:“user_recovery_requested”,“actor_id”:“3cdbcc91-4892-421b-be37-956886476768”,“actor_username”:“—”,“actor_via_sso”:false,“log_type”:“user”},“component”:“api”,“error”:“tls: failed to verify certificate: x509: certificate has expired or is not yet valid: current time 2024-09-16T07:00:29Z is after 2024-09-15T23:59:59Z”,“level”:“error”,“method”:“POST”,“msg”:“500: Error sending recovery email”,“path”:“/recover”,“referer”:“( private domain )”,“remote_addr”:“----”,“request_id”:“8c3efad461b06459-SJC”,“time”:“2024-09-16T07:00:29Z”}
Are you using a Custom SMTP?
Maybe there is an issue with that (a certificate?). I’ve found some google links that talk about this.
Yes I think this is Supabase, Im waiting for their response.
This is resolved, caused by postmark SSL cert
1 Like