This Friday: Hear from Sanity + Vercel experts on AI and better personalization in e-commerce

Desk crash when deleting image from gallery array

10 repliesLast updated: Dec 1, 2025

Hello, I’m experiencing this desk crash when trying to delete a single item (clicking on the bin icon) of a gallery. I’m using a default schema:
{
  name: "gallery",
  title: "Gallery",
  type: "array",
  of: [{ type: "image" }],
},
Can’t figure out why
😕
AI Update

This sounds frustrating! While your gallery schema looks perfectly fine, Studio crashes when deleting array items (especially images) can happen for a few reasons. Let me walk you through the most common causes and solutions:

Most Common Causes:

Debugging Steps:

Temporary Workaround:

Instead of using the bin icon, try:

If none of this helps, the browser console error message will be crucial for diagnosing the issue. Post it in the Sanity Slack community or search GitHub issues - the team is very responsive to crash reports and may have a specific fix for your Studio version.

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