Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
When using the new "Tasks" tab, after the workspace is created and code-server is ready, the left part (chat?) shows:
"user" must be an existing uuid or username.
queried user="chat"
I think this might be due to the fact that I logged in via GitHub (?) and this is the open source edition

The path of the HTTP call is:
/api/v2/users/chat/workspace/embed?include_deleted=true
Additionally, when starting one of the workspaces with Claude Code:
... the "Claude Code Web" link opens a tab pointing at /chat/embed
- but that returns a similar error:
"user" must be an existing uuid or username.
queried user="chat"
Relevant Log Output
Expected Behavior
A chat appears on the left side and no error shows up in the developer console
Steps to Reproduce
- Create a template that uses the new coding agents (see for example claude-code)
- Create a new task, type anything
- Wait for the workspace to be ready, you should see the error on the left side
Environment
- Host OS: Alpine Linux - Kubernetes
- Coder version: ghcr.io/coder/coder:v2.24.1
Additional Context
The issue occurs consistently