
hello there... I think there's a bug in Appwrite. I created a collection named glasses with several attributes, including one called thumbnailUrl. Today, I decided to rename this attribute to thumbnail. However, Appwrite is now throwing an error. Here's what happened and the error I'm receiving:
TypeScript
[AppwriteException: Invalid document structure: Missing required attribute "thumbnailUrl"] {
name: 'AppwriteException',
code: 400,
type: 'document_invalid_structure',
response: {
message: 'Invalid document structure: Missing required attribute "thumbnailUrl"',
code: 400,
type: 'document_invalid_structure',
version: '1.6.1'
}
}
My glasses collection is empty.
TL;DR
Developers renamed the 'thumbnailUrl' attribute in an Appwrite collection to 'thumbnail' and encountered an error, even though the collection was empty. The error indicated a missing required attribute 'thumbnailUrl'.
**Solution:** Ensure to update the attribute name in all relevant locations within the Appwrite collection settings to match the new name 'thumbnail'.Recommended threads
- Permissions for bulk operation
Hi team, I have a question: “In the databases.createDocuments bulk API, can I set document-level permissions? If yes, how exactly should I include the permissio...
- hi I’m reaching out with an urgent req...
hi I’m reaching out with an urgent request regarding my account. My organization’s access has been restricted due to a $90 unpaid invoice, and I’m currently s...
- Resource limit
I am getting resource limit errors even tho i didnt exceeded
