Supabase wordmarkSupabase wordmarkDOCS
  • Start
Supabase wordmarkSupabase wordmarkDOCS
Supabase wordmarkSupabase wordmarkDOCS
  • Start
Supabase wordmarkSupabase wordmarkDOCS
  1. Troubleshooting

Why is my supabase API call not returning?

Last edited: 2/4/2025


There is currently a bug in supabase-js which results in a deadlock if any async API call is made in onAuthStateChange code. If a call is made in the handler then the next Supabase call anywhere using that client will hang and not return.

For now a workaround is needed until this is fixed.

https://github.com/supabase/gotrue-js/issues/762#issuecomment-1780006492

Metadata


Products

AuthPlatform

Tags

deadlockhangasync

Is this helpful?

  • Need some help?

    Contact support
  • Latest product updates?

    See Changelog
  • Something's not right?

    Check system status

© Supabase Inc—ContributingAuthor StyleguideOpen SourceSupaSquad
GitHubTwitterDiscord