PetchavOriginal post
Web Developer
Hello, I have a problem with my appwrite server when I try to add an attribute to my collection, I get the following error:
Bash
[Error] Timestamp: 2024-04-20T16:53:10+00:00[Error] Method: POST[Error] URL: /v1/databases/:databaseId/collections/:collectionId/attributes/url[Error] Type: Appwrite\Extend\Exception[Error] Message: Attribute limit exceeded[Error] File: /usr/src/code/app/controllers/api/databases.php[Error] Line: 152I've looked at other similar topics and it's explained that you have to use a size greater than 16383 for appwrite to use a TEXT instead of a VARCHAR.
But that doesn't help me much, because I'm having trouble when I try to create an Url attribute and I can't select the size for this type.
If anyone can help me it would be really nice.
Summary
Problem: Developer encountering "Attribute limit exceeded" error when attempting to add an attribute to a collection in the appwrite server. Unsure how to set size for URL attribute to resolve the issue.
Solution: To resolve the "Attribute limit exceeded" error, consider changing the datatype to TEXT instead of VARCHAR in appwrite and ensure the size is set greater than 16383. Unfortunately, setting size for URL attribute directly might not be possible.