Back

Error with update: Unknown attribute: \"startDate\"

  • 0
  • Databases
  • Web
  • Cloud
Horsty - Cyril - MagicTools
27 Mar, 2025, 21:11

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.
Horsty - Cyril - MagicTools
27 Mar, 2025, 21:12

I precise, i have no attribute "startDate" inside my collection

Kenny
27 Mar, 2025, 21:46

Have you ever had this attribute in your collection?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more