๐Ÿ”ฎ Sanity Create is here. Writing is reinvented. Try now, no developer setup

Increase in attribute limit and migration to document level translations.

7 replies
Last updated: Jun 8, 2022
Hey folks,
Currently using (maybe abusing) blocks in pages.

Each field block is configured to have an addional field for 25 other languages. A field level locale.

We currently on the team plan. I am hitting the data/attribute 1K limit but can't find any reference to how upgrading payment plans will increase the limit and by how much.

I am aware of the document level data/attribute limits:

What is the attribute limit?
The attribute limit determines how many unique combinations of attribute and datatype you can have in your dataset. Depending on what plan your project is on, your limit is one of the following:

Free: 2k attributes
Team: 4k attributes
Business: 10k attributes
Enterprise: 10k attributes
Where can I find info on how to increase the 1k limit?

Thanks in advance.
Jun 6, 2022, 11:50 AM
The place I've found where that text appears has under it
The attribute limit is a hard technical limit right now. For this reason, we do not currently offer a pay-as-you-go option for extra attributes.
which to me suggests the only info on how to increase the limit is to go to yet another higher plan.
But stepping back for a second, is it a typo when you said "1k" if you're on the Team plan and it lists "4k"? Or is that part of the question, that you are allowed 4 and being capped at 1 instead?

(I don't work for Sanity, by the way, but I am eager to help and learn myself)
Jun 6, 2022, 12:34 PM
Hi User,
Nope, not a typo. It's part of the question. I has definitely caused me some confusion.

I have rediscovered this page on technical limits.


https://www.sanity.io/docs/technical-limits#5d93553a927d
It states that there is a dataset limitation on the number of unique attributes.

Free: 2000, Team: 4000, Business: 10000
A little bit further down it also states that each document also has a 1000 limit on the number of attributes.
It also states that the limit for enterprise is
8000
.
This would mean only enterprise has a higher attribute limit compare to the rest.

The above would explain a lot.

In the interest of time I was hoping I switching tiers would solve my immediate problem while I find a way to optimize my document structures.
Jun 6, 2022, 1:14 PM
Oh wow, I didn't even realize documents had their own intrinsic limit. Sorry I couldn't be of more help till the cavalry arrives ๐Ÿ˜ƒ
Jun 6, 2022, 2:12 PM
Hey User! As
user S
said, you can't increase your document attribute limit without upgrading your plan. In this case, though, I'd caution you against upgrading. You'll find that you're overpaying if you move up tiers just to compensate for your content model.
I know it seems like a time sink, but because of how you've structured things, I don't think even the Enterprise level will provide enough attributes in the future. You're going to be better off restructuring your content model using the best practices mentioned
here .
Jun 6, 2022, 5:10 PM
user S
user M
Thank you both for your help. I had hoped to buy time as we were a couple of days from a product launch. ๐Ÿ™
Anyways 48 sleepless hours later I managed to migrate from field level translations to document level translations.
๐Ÿ˜ช
The sanity JavaScript client came in handy with the data migrations to avoid translation data loss.
๐Ÿคฉ
Jun 8, 2022, 7:43 AM
user J
You're welcome; I don't always feel like I do but I always try ๐Ÿ˜ƒ I hope you are able to get some sleep this weekend!
Jun 8, 2022, 9:35 AM
user J
so glad to hear you got everything sorted out! Now, go get some well deserved rest!
Jun 8, 2022, 3:30 PM

Sanityโ€“ build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?