Skip to content
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

409 error should display a better error message #909

Open
mcglincy opened this issue Feb 24, 2024 · 2 comments · May be fixed by #1381
Open

409 error should display a better error message #909

mcglincy opened this issue Feb 24, 2024 · 2 comments · May be fixed by #1381
Labels
enhancement New feature or request

Comments

@mcglincy
Copy link
Contributor

Right now I see a "Could not create project: Unexpected response status 409". This is likely due to a workspace/slug name collision, so we could show a message to that effect. E.g., "Could not create project: / is already in use."

@mcglincy mcglincy added the enhancement New feature or request label Feb 24, 2024
@CobusT
Copy link
Contributor

CobusT commented Apr 7, 2024

I just encountered this. There was a previous project with the same slug that was deleted. When I try and create a new project with that slug I get this error.

If we show a better error message, then we should keep in mind that the user may not see a project with that name in the workspace anymore (since the slug is occupied by a deleted project).

Alternatively we should allow the slug to be re-used.

@mbostock
Copy link
Member

mbostock commented Apr 7, 2024

Yes, we should allow the slug to be re-used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants