🐛 Bug Report: Creating new team with existed teamId throws error 500 #5768
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
product / auth
Fixes and upgrades for the Appwrite Auth / Users / Teams services.
Milestone
Uh oh!
There was an error while loading. Please reload this page.
👟 Reproduction steps
I create a new team with existed team id:
Method: Post
Url:
Host/v1/teams
Body:
Response:
👍 Expected behavior
This should throw error "Team ID already existed" or something like that, error code should not be 500
👎 Actual Behavior
Response Server Error code 500

Log from docker:
🎲 Appwrite version
Version 1.3.x
💻 Operating system
Linux
🧱 Your Environment
Appwrite 1.3.4
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: