Joint session with Vercel: How to build intelligent storefronts (May 15th)

Error opening document after updating Sanity Studio to ^2.2.3

17 repliesLast updated: Dec 1, 2025

I just updated the studio to
^2.2.3
and I have this error as soon I open a document 👀
AI Update

I can see you're experiencing an error with Studio v2.2.3 when opening documents. While you didn't provide the specific error message (just the "👀" emoji), this version had some known issues that affected several users.

Here are the most common solutions that worked for others experiencing problems after updating to Studio v2.2.3:

1. Clear browser cache and cookies Studio v2 stores local state in your browser, and sometimes updates can cause conflicts. Try:

2. Check for corrupted documents If the error only happens with specific documents, there might be corrupted data. You can use the CLI documents commands to inspect and fix problematic documents:

To view a specific document:

sanity documents get YOUR_DOCUMENT_ID

To edit a document directly:

sanity documents create --id YOUR_DOCUMENT_ID --replace

This will open your configured $EDITOR with the current document content. When you save and close the editor, it will replace the document with your edited version.

Important notes about the CLI:

3. Update to a more stable version Studio v2.2.3 was a relatively early v2 release. Consider updating to a later v2 patch version:

npm install sanity@latest-v2

4. Check your browser console Open your browser's developer console (F12 or right-click → Inspect → Console) to see the specific error message. Common errors include:

Important note: Studio v2 is now legacy software. The current version is Studio v3 (with v4 available for the latest features). If you're able to migrate, upgrading to v3+ will give you better stability, performance, and ongoing support.

If you can share the specific error message from your browser console, I can provide more targeted guidance for your exact issue!

Show original thread
17 replies

Was this answer helpful?

Sanity – Build the way you think, not the way your CMS thinks

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.

Related contributions