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
- 1.9.5 Migration problem
1.9.5 migration problem after run migration command only openruntimes-executor
- Issue related to index
Why it is showing this error?
- Appwrite Functions not executing with a ...
I have multiple functions running with a CRON Job however, they all stopped executing around 35 mins ago from this post. Project ID:6a4a03920012bede992d Region:...