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
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...
- Our Appwrite organization is suspended
Please give support regarding this , no app is working now , please solve my issue and give support , no one is replying in message section or email.
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...