Hello, i try to update a document, but i get this error I use cloud appwrite
TypeScript
{
"message": "Invalid document structure: Unknown attribute: \"startDate\"",
"code": 400,
"type": "document_invalid_structure",
"version": "1.6.2"
}
I use the appwrite package 17.0.0, and i have no trace of some "startDate"
TypeScript
PATCH https://cloud.appwrite.io/v1/databases/DATABASE_ID/collections/tournaments/documents/DOCUMENT_ID
TypeScript
{"data":{"name":"Duel commander","playerCount":64}}
TypeScript
databases.updateDocument(
dbId,
collectionId,
docId,
{
name: "Duel commander",
playerCount: 64
},
permissions
),
TL;DR
Error message indicates an unknown attribute "startDate" for updating a document in Appwrite. Developer mentions not having this attribute in the collection and is using the Appwrite package 17.0.0. Check database schema, update request, and code for any mentions of "startDate" attribute. Remove or adjust it to resolve the issue.I precise, i have no attribute "startDate" inside my collection
Have you ever had this attribute in your collection?
Recommended threads
- Backup does not restore
I need to urgently restore a backup but nothing is happening when trying to restore!
- Urgent help with removed databases
Hi <@564158268319203348> <@501784879638249472> I wrote to paid plan support about this but no response as of yet… About an hour ago one of the interns from o...
- proccessing problems
A database schema operation is stuck in my Frankfurt project. In the matryq database, the workspaceId attribute of the coaching_activity_entries collection rema...