Skip to content
Back

Receiving server error and attribute limit exceeded when adding or updating new attributes.

  • 0
  • Web
Wouter G
8 Nov, 2024, 08:02

When I want to update an attribute or add a new one, I'm getting the server error or attribute limit exceeded. This is about the following link:

/project-67042ce1003e17e79ad2/databases/database-67069b170002996fe497/collection-6725d571002f0450b0ae/attributes

Can this be fixed please, or what is causing this error? Noticed both errors quite alot in the attributes view.

TL;DR
Developers encounter server error and attribute limit exceeded when updating or adding new attributes. A fix has been merged and will be released soon. To resolve the issue temporarily, developers need to delete some attributes or reduce the size of existing attributes. The problem persists with broken app columns and internal errors when updating attributes. The error message shows a code of 500, type "general_unknown," and version 1.6.0. Other developers report similar issues with functions, attributes, and databases. The attribute limit is at 19, but the errors may indicate large attribute sizes causing the problem.
Jake
8 Nov, 2024, 08:17

Hey πŸ‘‹ how many attributes does the collection currently have?

Wouter G
8 Nov, 2024, 09:42

19

Wouter G
8 Nov, 2024, 09:42

is there a limit?

Jake
8 Nov, 2024, 10:11

Yep but it's around 1000 so still very far off your count. The other way that exception is thrown is if the maximum byte-size for each document would be too big based on the attributes. What kind of attributes are the ones you have? Strings with large sizes?

Wouter G
8 Nov, 2024, 16:38

Yes maybe large sizes.

Wouter G
8 Nov, 2024, 16:38

But looks like I can't change anything once it's reached

Wouter G
8 Nov, 2024, 16:39

Always server error and attribute limit exceeded

Wouter G
8 Nov, 2024, 16:39

Also on other collections

Wouter G
8 Nov, 2024, 16:40

pretty annoying

Wouter G
10 Nov, 2024, 16:03

Hi, would it be possible to have a look into this issue please?

Wouter G
10 Nov, 2024, 16:03

I'm not able to update attributes or change my database structure.

Wouter G
10 Nov, 2024, 16:04

I'm I the only one who has issues with functions, attrbutes, databases?

Wouter G
10 Nov, 2024, 16:06

When updating a attribute - always internal error

code 500 message "Server Error" type "general_unknown" version "1.6.0"

Wouter G
10 Nov, 2024, 16:07

Even deleted some attributes to make the size smaller on some attributes, but changing after also does not work

Wouter G
10 Nov, 2024, 16:07

Now a few columns are broken in my app

Jake
12 Nov, 2024, 01:58

A fix for the server error has been merged and will be released in the next fews days, I'll circle back here when it's live.

For now, since you've hit the limit, you would have to either delete some attributes or reduce the size on some existing attribute sizes by a decent amount, if you get the server error it means it's still too large

Wouter G
12 Nov, 2024, 08:00

OkΓ©, I had to create a new collection and add all atrributes again. Then it was working. The "old" collection had the same values, and it was not possible to update/add new attributes.

Wouter G
12 Nov, 2024, 08:00

Just to let you know.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more