Horsty - Cyril - MagicToolsOriginal post
Rank 3: Container
Hello, i try to update a document, but i get this error
I use cloud appwrite
JSON
{ "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"
HTTP
PATCH https://cloud.appwrite.io/v1/databases/DATABASE_ID/collections/tournaments/documents/DOCUMENT_IDJSON
{"data":{"name":"Duel commander","playerCount":64}}JavaScript
databases.updateDocument(dbId, collectionId, docId, {name: "Duel commander",playerCount: 64}, permissions),Summary
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.