coder / coder/vscode-coder

Confusing error connecting to workspace marked "pending deletion"

Open
#359 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
130
Forks
48
Avg merge
3d 3h
Merged PRs (30d)
15

Description

Trying to connect to a workspace which is pending deletion results in this error:

```
API POST to 'https:///api/v2/workspaces/fbcd97fa-2b0f-4eea-87fd-c3b343633071/builds' failed.
Status code: 403
Message: insert workspace build
Detail: authorize context: unauthorized: rbac: forbidden
```

Reactivating the workspace makes it possible to connect.

Ideally this would remove the pending deletion automatically, or inform the user how to do so.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.