Appwrite cli appwrite init project --verbose command throws this error message:
AppwriteException [Error]: For console projects, please use the organizations API.
at Client.call (/usr/local/lib/node_modules/appwrite-cli/lib/client.js:211:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async teamsList (/usr/local/lib/node_modules/appwrite-cli/lib/commands/teams.js:68:16)
at async paginate (/usr/local/lib/node_modules/appwrite-cli/lib/paginate.js:10:26)
at async Object.choices (/usr/local/lib/node_modules/appwrite-cli/lib/questions.js:155:31) {
code: 401,
response: 'general_access_forbidden'
}
P.S.: I'm using Appwrite Cloud & Latest Appwrite CLi
@Support
This is a known bug
With Cloud
Is this a speedrun or what? @kamal.panara
I put my medal to myself :zoom:
Solution: create appwrite.json manually which is same as using init project command i guess. and use other cli commands.
appwrite.json file:
{
"projectId": "REPLACE WITH THE PROJECT ID",
"projectName": "REPLACE WITH YOUR PROJECT NAME"
}
[SOLVED] CLI not working
Recommended threads
- Cannot migrate from Supabase
Hi, I was trying to migrate from Supabase to the Appwrite database. My database had around 190K columns. I tried it twice. Both times, after 2 days, the proce...
- Production down - createExecution return...
Hey, Since 1.9.6 rollout in fra (~17:00 UTC, 14 Aug), POST /v1/functions/{functionId}/executions returns a 400 whenever the body includes an empty headers ob...
- Domain is owned by a different organizat...
Hi Appwrite team, I'm trying to add my custom domain **futlive9.com** to my project, but I'm getting the error: "Domain is owned by a different organization." ...