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
- Functions not executing after usage rese...
Hi team, Last month my project hit 100% usage and functions stopped working (expected). Now the new month has started and usage has reset, requests are going ...
- Functions never end and always fail (sta...
Hi ! I'm using Appwrite Cloud Pro and function execution from appwrite website is KO. Deploying starter function template, execution is always Failed and the ...
- My function executions console if overwh...
It seems the requests are getting processed correctly but it is using a older version of the backend. And it seems the cron requests done an hour ago are shown ...