AI & Agent Dev Bug Sandbox logo
AI & Agent Dev Bug Sandbox
Back to Radar

Supabase Config Push Auth Step Fails With 500 Decryption Error

CLI config push fails specifically on auth config with HTTP 500 'Failed to decrypt data' for preview branches, blocking deployment of auth changes.

highConfidence 70%Supabase CLIEdge FunctionsStorageAffected V2.113.0

Origin Analysis

Server-side decryption of auth configuration secrets fails for the preview branch, likely due to mismatched encryption keys or corrupted secret data added recently; the platform returns an opaque 500 without identifying the failing field.
1. Have a Supabase project with remote auth config set. 2. Create or use a preview branch with recent auth secret changes. 3. Run `supabase config push --project-ref <ref> --yes --debug`. 4. Observe API and DB config push succeed, then auth push fails with 500 and errorEventId.

Fixing Code Block

Edge Case Audit

This patch does not fix the server-side decryption failure; it only improves error visibility and may mislead users into thinking the issue is resolved. If the underlying key mismatch persists, config push will continue to fail. For server-side fixes, altering encryption keys may affect existing data and should be done under maintenance with backups. Rollback: revert this patch to restore original error handling if unexpected behavior occurs.

Ecosystem Topology

Agent Frameworks

LangChain, LlamaIndex, and Pydantic

  1. highProperty graph relation keys collide when entity IDs or labels contain underscores
  2. highCodeActAgent drops assistant tool-call metadata during handoff, leaving an orphan tool response
  3. high[Bug]: HierarchicalNodeParser async methods return the documents unsplit
  4. highLLM.predict_and_call fails with ValidationError for non-function-calling models when react_chat_formatter is omitted
  5. highAnthropic streaming server-tool input_json_delta overwrites completed client tool_use arguments due to stale cur_tool_call state