
I'm trying to update the data in "imageUrls" attribute in existing document on a collection, I'm getting this AppwriteException on flutter
Error:
AppwriteException: document_invalid_structure, Invalid document structure: Unknown attribute: "65afa152a03167d30e48" (400)
Details:
Project ID: 65af9f263941121c4d36
Collection ID: 65afa2106514f0c73413
Function that triggers update document
Future<models.Document> updateProductVariation(
Map map, String documentId) async {
final response = await databases!.updateDocument(
databaseId: AppWriteConstants.dbId,
collectionId: AppWriteConstants.productsVariationsCollectionId,
documentId: documentId,
data: {
"imageUrls": map["imageUrls"],
},
);
return response;
}
I didn't change anything on code and cloud, it was working fine, now it's not working.

This is the collection I'm trying to update which I add as image
Recommended threads
- Appwrite Cloud + Firebase hosting login ...
Hey team, can you please add the following to the CORS allowlist for my cloud project? Project ID: 68633b67002faf66fbcf Domains to allow: - https://taggit-...
- Realtime Disconnects and Error: INVALID_...
Hi Support, we are still experiencing the issue and we are a subscriber on your platform under the account of charlesbcalague@gmail.com I just want to ask here...
- Collection Permission issue
I am facing issue in my Pro account. "Add" button is disabled while adding permission in DB collection settings.
