Skip to content

Unhelpful 403 message when starting/deleting a workspace that doesn't exist #1899

@bpmct

Description

@bpmct

OS Information

  • OS: Darwin
  • Browser (if applicable): CLI bug
  • Architecture: amd64
  • coder --version:
    Coder v0.6.0+841d9f2 Wed May 25 21:58:00 UTC 2022
    https://github.com/coder/coder/commit/841d9f277cd62f9cf89c241ad9f1aa134fd8fc92

Steps to Reproduce

  1. run coder workspace delete this-workspace-does-not-exist

Expected

~ coder start does-not-exist 
> Confirm start workspace? (yes/no) yes
status code 403: forbidden. This workspace does not exist, or you do not have access to it
Run 'coder start --help' for usage.

Actual

~ coder start does-not-exist 
> Confirm start workspace? (yes/no) yes
status code 403: forbidden          
Run 'coder delete --help' for usage.

Metadata

Metadata

Assignees

Labels

apiArea: HTTP APIcliArea: CLI

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy