TraceResolve
MCP

Supabase: AuthApiError: Invalid JWT or token has expired

AuthApiError: invalid claim: signature is invalid or token has expired at /node_modules/@supabase/auth-js/dist/main/lib/fetch.js:41:20
Immediate Remediation
bash
Call `supabase.auth.refreshSession()` before querying with expired Bearer token, and ensure SUPABASE_JWT_SECRET matches project settings.
Root Cause Analysis

Encountered in Supabase when standard configuration or runtime constraints are violated.

Verification & Guardrails

  • Verify dependencies and runtime version compatibility.
  • Ensure clean build artifact state.

Have a custom or uncategorized crash?

Run your trace through our in-memory client privacy sandbox for instant SRE remediation.

Open Diagnostic Studio