8000 🐛 Bug Report: Creating new team with existed teamId throws error 500 · Issue #5768 · appwrite/appwrite · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

🐛 Bug Report: Creating new team with existed teamId throws error 500 #5768

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
2 tasks done
huy-lv opened this issue Jul 5, 2023 · 5 comments
Closed
2 tasks done
Assignees
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

Comments

@huy-lv
Copy link
huy-lv commented Jul 5, 2023

👟 Reproduction steps

I create a new team with existed team id:
Method: Post
Url: Host/v1/teams
Body:

{
    "teamId": "63fc4cbb567e0d7d7f7d", //this team id already existed
    "name": "admin"
}

Response:

{
    "message": "Server Error",
    "code": 500,
    "type": "general_unknown",
    "version": "1.3.4"
}

👍 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:
image

🎲 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?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@huy-lv huy-lv added the bug Something isn't working label Jul 5, 2023
@stnguyen90 stnguyen90 added help wanted Extra attention is needed good first issue Good for newcomers product / auth Fixes and upgrades for the Appwrite Auth / Users / Teams services. labels Jul 5, 2023
@stnguyen90
Copy link
Contributor

@huy-lv, thanks for creating this issue! 🙏 We should definitely return a clearer error here.

@jaivix
Copy link
Contributor
jaivix commented Jul 8, 2023

@stnguyen90 would love to help with this, can you assign it to me?

@sahilrawat001
Copy link

@stnguyen90 just a check must be include to overcome this error .Can you assign this issue to me

@stnguyen90
Copy link
Contributor

@jaivix, assigned! Thanks for your interest! 🙏🏼

@TheOjasSingh
Copy link

can I work on this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

5 participants
0