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

Token missing update permission despite no option in Sanity API settings

1 replyLast updated: Nov 30, 2025

Hi is anyone else getting this error with their tokens. On all of the other forms I've read people are saying that I need to get a new token but none of the tokens listed in the sanity api have update listed as a permission
AI Update

I understand your frustration! This is actually a common point of confusion about how Sanity API tokens work. The key thing to understand is that tokens don't have permissions listed directly on them - instead, they inherit permissions from the role assigned to the token.

When you see errors mentioning "update" permission, it means your token is assigned a role that doesn't include write permissions (like "Viewer" which is read-only). Here's how to fix this:

The Solution

Understanding Token Permissions

As explained in the API tokens documentation, tokens work like this:

The confusing part is that when you look at the token in Manage, you won't see a checkbox list of permissions like "read", "update", "delete" - you just see the role name. The permissions are defined by that role.

Important Security Note

If you need write access (update/create/delete), make sure you're using this token only on the server-side or in Sanity Functions, never in client-side/frontend code. Write tokens should be kept in environment variables and never exposed to browsers.

If you're still seeing issues after creating an Editor token, double-check that:

Hope this clears things up!

Show original thread
1 reply

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