How AI is powering better personalization in e-commerce [with Vercel]. Sign up now →

Can't delete documents in Sanity Studio - no errors shown

12 repliesLast updated: Dec 2, 2025

i can't delete any documents from my studio right now 🤔 when i click delete, nothing happens, not even a console error
AI Update

This is a frustrating issue! When the delete button doesn't work with no console errors, it's almost always a permissions problem. Here's what to check:

Check Your Role Permissions

The most common cause is that your user role doesn't have delete permissions. In Sanity, there are default roles that include:

The critical thing to understand is that delete permissions require the "Publish" permission level. Some roles allow you to create and update documents but don't include the ability to delete them.

Custom Roles Can Restrict Deletion

If you're on an Enterprise plan, your organization might be using custom roles with specific permission levels. The permission levels for content resources include:

If you have "Update and Create" permissions, you can edit documents but the delete button won't work. This is exactly the symptom you're experiencing - the button appears clickable but nothing happens when you click it.

How to Fix It

Other Things to Check

The silent failure (no error message) is confusing, but it's by design - Sanity hides or disables actions you don't have permission to perform. Check with your project administrator to get the appropriate permissions!

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