[SOLVED] Failed to generate collection. ...http 400...attribute_limit_exceeded
- 0
- Functions
- Cloud
Failed to generate Short URL collection. {"code":400,"type":"attribute_limit_exceeded","response":{"message":"Attribute limit exceeded","code":400,"type":"attribute_limit_exceeded","version":"0.11.4"}}
I am generating exactly 8 attributes for one collection, one by one, and it fails on about 5. Is this yet another internal limit where I can't do small batch of 8 attribute creation?
url attributes take up a lot of space
hmm
I'll try toreconfigure
so the underlying database has a maximum size of 65kb. here's how much each attribute takes up:
+----------------+-----------------------------------------+
| Attribute Type | Bytes |
+----------------+-----------------------------------------+
| String | 4 * length |
| Integer | 8 for max values > 2,147,483,647 else 4 |
| Float | 4 |
| Boolean | 1 |
| URL | 4 * 2000 |
| Email | 4 * 254 |
| IP | 4 * 39 |
| Enum | 4 * length of longest enum value |
+----------------+-----------------------------------------+
as you can see URLs take up a lot of space
I actually don't make URL
but a string
Still, I might had too large length on it
possibly...what are the attributes?
I had 9999 on string ones xD
Ok yeah that was the issue. Thanks for the clarification on it. It's resolved π
[SOLVED] Failed to generate collection. ...http 400...attribute_limit_exceeded
Recommended threads
- Framework categorization for Sites
Hello, I want to deploy my web app via Appwrite SItes. My web app is vite+reactjs. In the Appwrite docs, it creates a vite+react app, and chooses React from the...
- [SOLVED] Appwrite 25.1.0 returns Invalid...
I've already opened an issue on GitHub, but somewhat it doesn't seem like GitHub is monitored very closely, so I'm leaving a bug report here on Discord as well....
- Helping in unblock my account
I deleted my Appwrite Cloud account that was linked via GitHub. Now I activated my GitHub Student Pack and want to sign up again using the same GitHub account, ...