Coder.comC
Coder.com3mo ago
7 replies
ShamesBond

Agent suddenly not connecting due to `/api/v2/workspaceagents/aws-instance-identity` 404 / 400

This is the case both for new workspaces and for existing workspaces that worked yesterday.
The workspace agent log is attached, the relevant bit is:

[   12.556546] cloud-init[1056]: 2025-11-08 21:56:37.708 [debu]  sdk request  method=POST  url=https://coder.mycompany.com/api/v2/workspaceagents/aws-instance-identity  body=""
[   12.682532] cloud-init[1056]: 2025-11-08 21:56:37.834 [debu]  sdk response  method=POST  url=https://coder.mycompany.com/api/v2/workspaceagents/aws-instance-identity  status=404  body=""  trace_id=""  span_id=""
Was this page helpful?