
Hi, when i try to create a new function this happens:
CMD LOG (WINDOWS): C:\PROJECT_PATH\appwrite>appwrite --verbose init function ? What would you like to name your function? test ? What ID would you like to have for your function? unique() ? What runtime would you like to use? Node.js (node-16.0) AppwriteException [Error]: Server Error at Client.call (C:\Users\MY_USER\AppData\Roaming\npm\node_modules\appwrite-cli\lib\client.js:209:19) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async functionsCreate (C:\Users\MY_USER\AppData\Roaming\npm\node_modules\appwrite-cli\lib\commands\functions.js:174:16) at async initFunction (C:\Users\MY_USER\AppData\Roaming\npm\node_modules\appwrite-cli\lib\commands\init.js:79:20) { code: 500, response: [Object: null prototype] { message: 'Server Error', code: 500, type: 'general_unknown', version: '1.4.3' } } ✗ Error Server Error
SERVER LOG: [Error] Timestamp: 2023-09-16T15:16:02+00:00 [Error] Method: POST [Error] URL: /v1/functions [Error] Type: Utopia\Database\Exception\Structure [Error] Message: Invalid document structure: Unknown attribute: "schedule" [Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php [Error] Line: 2619
Does anyone know how to fix it?

I have fixed it with the migrate command: docker compose exec appwrite migrate
(Version 1.4.3)
Recommended threads
- custom requirements.txt file
How do I specify a custom requirements.txt file when creating a serverless function through the Appwrite console?
- CRUD Operations don't work
Hey all, Create, update, and delete is not working for the Appwrite database. The database seems down. When will it be solved? As I can see from the other suppo...
- Is my approach for deleting registered u...
A few weeks ago, I was advised not to use the registered users' id in my web app. Instead, I store the publicly viewable information such as username and email ...
