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

Sanity changes visible in preview but not publishing

7 repliesLast updated: Nov 29, 2025

Hello - not sure if this is the right forum but somehow changes that are made in sanity are not published, but are seen in preview. Any ideas? We have two different sanity versions, and this is one that has not been used for some time. Thanks
AI Update

This sounds like a classic draft vs. published content issue! When you're seeing changes in preview but not in production, it typically means your preview is looking at draft documents while your production site is querying only published documents.

Here's what's likely happening:

The Draft/Published System

When you make changes to content in Sanity Studio, those changes are saved as draft documents with an ID prefixed by drafts. (like drafts.post-123). The published version remains unchanged until you explicitly click the "Publish" button in the Studio. This means both versions can exist simultaneously.

Common Causes & Solutions:

Quick Debug Steps:

If you're still stuck, checking the Vision plugin will quickly show you whether the published documents exist in your Content Lake or if they're still only in draft state.

Show original thread
7 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