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
- Issue with Custom SMTP
Hey everyone, I'm facing an issue when updating my Custom SMTP settings on Appwrite Cloud. The UI fails silently (no visual errors), but when checking the cons...
- Problem with Google Workspace at DNS Rec...
Hello, I bought a domain at Namecheap, and Google Workspace used to work there, but now that I switched from Custom DNS to Appwrite's nameservers, it doesn't w...
- Function running for more than 2 hours i...
This is my projectID: 669fe01b003800dd0503 Cloud functionID is 696ea05400147eb8eb3b I hope this doesn't count against my GB-hours?