Invalid document structure: Unknown attribute: "type" when trying to create a database
- 0
- Self Hosted
- Databases
Hello. I have self hosted instance running on my server and has valid endpoint and most of things are working as should. Installation is fresh install of version 1.8.0. I get error when trying to create a database ' Invalid document structure: Unknown attribute: "type"'. I tried to reinstall appwrite and also I did read docs for help and scrolled some forum posts but no help. What could cause this and how to fix?
And logs show this:
appwrite | [Error] Timestamp: 2025-11-17T19:39:15+00:00
appwrite | [Error] Method: POST
appwrite | [Error] URL: /v1/tablesdb
appwrite | [Error] Type: Appwrite\Extend\Exception
appwrite | [Error] Message: Invalid document structure: Unknown attribute: "type"
appwrite | [Error] File: /usr/src/code/src/Appwrite/Platform/Modules/Databases/Http/Databases/Create.php
appwrite | [Error] Line: 89
Recommended threads
- Auth not working on expo react native
I'm trying to launch a development server with expo go and appwrite as a backend. On my windows pc, I've got a local docker instance of appwrite running as my b...
- Urgent help required - Could not resolve...
I upgraded my production environment to 1.8.0 but experienced issues with appwrite running out of worker threads. I downgraded back to 1.6.1 and restored the da...
- Bulk delete failed with 401
- I created a transaction to bulk delete rows in a table has `done` equal `true` follow documentation. But when run, it returns 401 unauthorized error as screen...