
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
- Hola equipo de soporte,
Hola equipo de soporte, Estoy desarrollando una Function en Appwrite Cloud con Node.js 22 y el siguiente package.json: { "name": "upload-whitelist", "type"...
- Does appwrite have any alternative solut...
Hi Everyone, ... I am looking for a solution for AWS ECS Fargate in appwrite. Can anyone let me know if this is possible?
- REQUEST FAILED IN MIGRATION
I was trying to moved my archived project to a self-host database . Though the Project is "read only" but there's a message that I can view and migrate data to...
