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
- Console cloud is down
As attached I can not login to console and it affected to our services that uses Appwrite <#1102936099745177700> <#564160731327758347>
- Failed sending to target <Email> with er...
Hi! I got this problem and trying to test the resend smtp server. But when I use messaging feature within the console it says. ```Failed sending to target <Ema...
- Hi Folks, Database Writing Issue
Hey Folks im trying to get logging setup on my website but im getting an error, i dont have any document id and i think this is the issue but i havent got the f...