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
- Error: Trying to install appwrite on sub...
``` [Error] Method: POST appwrite | [Error] URL: /v1/account appwrite | [Error] Type: Appwrite\Extend\Exce...
- Type 'Theme' does not satisfy the constr...
Type 'Theme' does not satisfy the constraint 'Row'. Type 'Theme' is missing the following properties from type 'Row': $id, $sequence, $tableId, $databaseId, a...
- JavaScript heap out of memory during bui...
I am running into heap out of memory when I am trying to build an Appwrite site. Usually this can be fixed by modifying the `max-old-space-size` configuration, ...