appwrite/sdk-for-cli

๐Ÿ› Bug Report: Team id cannot be found when creating project

eroo36 opened this issue ยท 1 comments

๐Ÿ‘Ÿ Reproduction steps

When i try to use appwrite projects create

๐Ÿ‘ Expected behavior

should create a project

๐Ÿ‘Ž Actual Behavior

(base) โžœ ~ appwrite teams create --teamId 1235 --name test-team

$id : 1235
$createdAt : 2023-01-20T09:14:22.859+00:00
$updatedAt : 2023-01-20T09:14:22.859+00:00
name : test-team
total : 0
โœ“ Success 

(base) โžœ ~ appwrite projects create --name test2 --projectId "unique()" --teamId 1235

โœ— Error Team with the requested ID could not be found.

๐ŸŽฒ Appwrite version

Version 1.1.x

๐Ÿ’ป Operating system

MacOS

๐Ÿงฑ Your Environment

cli: appwrite@1.1.1 from npm
appwrite: appwrite@1.2.0 from docker-compose

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

So figured out what teamId i was supposed to use
i had to appwrite projects list and use the teamId that was provided there. I were not able to find this teamId in the dashboard. Kind of confusing