
Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag storeGreat question! Debugging Studio errors can be tricky since some errors get caught and handled by Studio's internal error boundaries before browser debuggers can intercept them. Here are some effective techniques:
The first place to look is your browser's developer console. Studio errors are usually logged there with stack traces. Open DevTools (F12 or Cmd+Option+I on Mac) and check the Console tab for any red error messages.
When Studio encounters errors, it typically displays an error overlay with details. Look for:
Based on this community discussion, here are frequent culprits:
Schema problems:
name property on schema typesCustom code issues:
Add console.log statements: Place them in your schema definitions, custom components, or plugin code to trace execution flow.
Check your sanity.config.ts: Make sure all schemas are properly imported and configured, especially if you're adding them via plugins.
Validate your schema: Use TypeScript to catch type errors early. If you're using defineType and defineField helpers, they provide better type checking.
Inspect the Network tab: Check if there are failed API requests that might be causing issues.
Try the Vision plugin: Use the Vision tool in Studio to test GROQ queries and verify your data structure.
If your browser's "pause on exceptions" isn't catching errors, it's because Studio's error boundaries are catching them first before they bubble up to the browser's exception handler. This is intentional - it prevents the entire Studio from crashing and instead shows you a helpful error overlay.
In these cases, focus on:
The console output should give you enough detail to track down the source. Look for the file paths and line numbers in the stack trace to identify where the error originates - often it's a schema configuration issue or a problem with how you're adding schemas through plugins.
Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.
Content operations
Content backend


The only platform powering content operations
By Industry


Tecovas strengthens their customer connections
Build and Share

Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag store