framework icon indicating copy to clipboard operation
framework copied to clipboard

409 error should display a better error message

Open mcglincy opened this issue 1 year ago • 2 comments

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 avatar Feb 24 '24 16:02 mcglincy

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.

CobusT avatar Apr 07 '24 19:04 CobusT

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

mbostock avatar Apr 07 '24 21:04 mbostock