DEV PRODUCTIVITY
Dive into your errors
straight from the console
Supa-debug provides explanations into client errors from the Supabase JS library, along with providing suggested solutions - all while within your browser console.
×
HTTP 400: Invalid refresh token
next-dev.js?878b:32
To find out more, run supadebug.hsad() in the console
>
supadebug.hsad()
The refresh token has been invalidated, usually because the user's session has expired, or potentially a race condition has occured. To find out more, here are the relevant documentation: https://supabase.com/docs/guides/resources/glossary#refresh-token
SETTING UP
Initialize SupaDebug in the root of your app with your OpenAPI secret key
1
import { supadebug } from 'supa-debug'
2
supadebug(OPEN_API_SECRET_KEY)
3
4
// All console errors from the Supabase client library will be powered by SupaDebug
STAY UPDATED WITH US