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

Published changes not reflecting in queries after adding editor member

11 repliesLast updated: Nov 29, 2025

Hi everyone. I am developing a web app and I am using Sanity to provide some content. I have two pages. Everything was working fine until I added an editor member to the project. For some reason now the changes to a document are not showing in the queries. I am changing some content and then publishing the document, then testing out the changes on the Sanity Studio vision mode and the latest changes are not reflecting...am I doing something wrong? or perhaps missing out on some information regarding the editor? Thank you.
AI Update

I think I've found your issue! This is likely related to a recent change in Sanity's API regarding perspectives.

The Vision tool in Sanity Studio uses the Content Lake API, and there was a breaking change in API version 2025-02-19 where the default perspective changed from raw to published. This is probably what's happening to you.

What's going on with perspectives?

In Sanity, when you edit and save a document, it creates a draft version (with an ID like drafts.my-document-id). When you publish, the draft becomes the published document. Perspectives control which version of documents you see:

Why this might have started happening

If your project recently updated to use the newer API version (which could have happened automatically or when the editor was added), Vision might now be using the published perspective by default instead of raw. This means if there's any issue with the publish step, you won't see your changes.

How to troubleshoot

The timing with adding an editor member is likely coincidental, unless that action triggered some project configuration changes or an automatic update to a newer API version. The editor role itself shouldn't affect how documents publish or how queries work.

Quick fix: Try adding perspective=raw to your Vision query parameters and see if your changes show up. If they do, that confirms the perspective change is the issue!

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