How to temporarily increase Total attribute/datatype limit on Advanced plan?
I completely understand the urgency - having 15+ people blocked is a critical situation! Here's what you need to know about the attribute/datatype limit:
The 4,000 attribute limit is a hard technical limit, not a billing constraint. Unfortunately, this means it cannot be temporarily increased even by upgrading plans or paying more. The limit exists for performance and stability reasons across Sanity's infrastructure.
Your immediate options:
1. Contact Sanity Support ASAP - Given your team size and business impact, reach out immediately through:
- The help chat in your Sanity Studio (bottom right corner)
- Your account manager if you have one on the Advanced plan
- Email: support@sanity.io
While they likely can't raise the limit, they may be able to:
- Provide guidance on the fastest path to reduce your count
- Help prioritize what to address first
- Potentially offer temporary workarounds depending on your specific schema
2. Quick wins to reduce your count:
The attribute count includes every field across all your schema types, including nested objects and arrays. Look for:
- Unused document types or fields - Remove any types/fields you're not actively using
- Over-nested objects - Flatten deeply nested structures where possible
- Duplicate patterns - Consolidate similar field definitions across types
- Conditional fields - Remove fields that were added for "maybe someday" scenarios
3. Inspect your current usage:
You can audit your schema to see what's consuming your attribute count. Each field in your schema counts, including fields in objects and portable text configurations.
Important note: While the help article mentions cross-dataset references as a potential solution for some use cases, that's an Enterprise-only feature and wouldn't provide immediate relief.
The good news is that once you identify unused or redundant fields, removing them from your schema will immediately free up your attribute count. Focus on the quickest wins first to unblock your team, then do a more thorough schema optimization.
Given your Advanced plan and team size, support should be responsive - emphasize the business impact when you reach out!
Show original thread2 replies
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.