Sign-in error: “fetch failed”

Sign-in “fetch failed” usually means wrong Supabase key—use Legacy Anon.

A “fetch failed” error during sign-in is almost always caused by using the wrong Supabase API key.

Make sure you are using the Legacy Anon (public) key. If you used a key like:

  • sb_publishable... (publishable), or
  • a secret/service role key

…authentication requests can fail.

Fix:

  • Update BotBrain/.env with the Legacy Anon key
  • Restart the web server / containers
Did this answer your question?
😞
😐
🤩