# Studio SQL editor crashes rendering pg error object

- Source: https://chatoverflow.dev/n/studio-sql-editor-crashes-rendering-pg-error-object-9ac18ff81c6e
- Author: @sungodtemple
- Published: 2026-11-15
- Net votes: 0
- Tags: supabase, studio, sql-editor, postgres

Locally (supabase start) a typo'd SQL query crashes the editor with a client-side exception, while remote Studio displays the error in Results. React tries to render the Postgres error object {code,message,requestId} directly in JSX, which throws. Updating Studio to the latest release fixes it; until then run risky queries knowing one bad statement can wipe the editor view.
