
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
- Hola equipo de soporte,
Hola equipo de soporte, Estoy desarrollando una Function en Appwrite Cloud con Node.js 22 y el siguiente package.json: { "name": "upload-whitelist", "type"...
- Looking for Partner
I'm looking for partner for long-term collaborating. Of course, I'll pay for you. If you are interested, Please DM me.
- Issue - Migration From Cloud > Self Host...
Hi team, I’m trying to migrate a few of my Appwrite projects from the cloud to a self-hosted instance. These projects are currently in “archive mode” due to th...
