For four days I have been having trouble connecting to Supabase servers. I have a free plan for the development of my project with Flutter, but for four days, the authentication service has stopped working, I no longer have access to the database from Flutter even though I am well connected to the Supabase board and my project is functional.
This code :
await supabase.auth.signInWithOtp(phone: phoneNumber.value);
Is giving this error: AuthRetryableFetchError
, even though my network is working fine.
- What should I do?
- Can upgrading to a Pro plan resolve my issue?
I need help please
I’m getting getting data from Flutter but only Authentication is no more working.
I tried to update my project, consult the logs, run tests from Flutter but it doesn’t work.
2
Answers
I finally found the error. I had deleted a "subscriptions" table from my database even though there were associated triggers.
SOLUTION
SELECT proname AS function_name, prosrc AS source_code FROM pg_proc JOIN pg_namespace nsp ON pg_proc.pronamespace = nsp.oid WHERE prosrc ILIKE '%subscriptions%' AND nspname = 'public';
I found the function that was using this table 2. then I deleted it and everything is ok now.
Thank you community.
I had the same error, but for me it was related to my database.
Maybe this could help you.
https://github.com/supabase/supabase-flutter/issues/909