
Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag storeI understand how frustrating this is! The generic "Upload failed - The upload could not be completed at this time" error can have several different causes. Since you've checked the Sanity Status page and everything looks operational, let me walk you through the most common causes and solutions:
Based on similar error patterns, the most common cause is having invalid options in your image field's metadata array. According to the image metadata documentation, there are three metadata fields that are always included automatically and will cause upload errors if you try to specify them:
dimensions (width and height)hasAlpha (whether the image has an alpha channel)isOpaque (whether the image is fully opaque)Check your schema - if you have an image field with a metadata configuration like this:
options: {
metadata: ['dimensions', 'location', 'exif'], // ❌ 'dimensions' will cause errors
}You need to remove dimensions, hasAlpha, or isOpaque from the array. The valid values are only:
'exif' - Camera and photo information'location' - GPS coordinates'palette' - Color information (included by default)'lqip' - Low Quality Image Placeholder (included by default)'blurhash' - Compact image representation (included by default)The fix:
options: {
metadata: ['location', 'exif'], // ✅ Only valid optional fields
}If the schema isn't the issue, check your CORS origins settings. This is especially important for hosted Studios or custom domains:
https://your-studio.sanity.studio)http://localhost:3333 (or your local port)Open your browser's developer tools (F12) and check the Console and Network tabs. Look for specific error messages that will tell you exactly what's failing. If you see an error mentioning meta validation or something like "must be one of [location, exif, image, palette, lqip, blurhash, none]", that confirms it's a schema metadata configuration issue.
metadata arraysSince this is happening both locally and on your hosted Studio, a schema configuration issue (particularly with the metadata array) is the most likely culprit, but the browser console will tell you for certain. Let me know what you see in the console and I can help narrow it down further!
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.
Content operations
Content backend


The only platform powering content operations
By Industry


Tecovas strengthens their customer connections
Build and Share

Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag store