supabase / supabase-flutter

Flutter integration for Supabase. This package makes it simple for developers to build secure and scalable products.
https://supabase.com/
MIT License
656 stars 154 forks source link

AuthRetryableFetchError (Flutter and Supabase) #912

Closed MathInfo1 closed 1 month ago

MathInfo1 commented 1 month ago

Hello everyone!

I am new in Flutter and am trying to create a login page. I was following this tutorial: https://www.youtube.com/watch?v=r7ysVtZ5Row At minute 12:39 of the video an email is sent. But I just get an AuthRetryableFetchError. I created a Supabase account and project, but it still isn't working.

I think the problem occurs when I call supabase.auth.signInWithOtp() because if I comment that part, I don't get any Error, but of course I also don't get any email.

Can anybondy please help me find the problem or tell me what to do?

MathInfo1 commented 1 month ago

I found the problem! The WiFi in my phone was turned off, which is why the email couldn't get sent. I turned it on and then there was no problem with sending the email. I thought that the mail gets sent, but we only receive it when the WiFi is on.