Skip to content

Failed to fetch Anthropic quotas #16

@LeslieLeung

Description

@LeslieLeung

I deployed onWatch with docker compose on macOS. I installed Claude Code on the host, and logged in. To pass the credentials file to onWatch, I added a volume - "${HOME}/.claude:/home/nonroot/.claude". It kind of worked for a while but now I got the error below, and restarting the service/retry login on Claude Code won't fix it.

onwatch  | time=2026-03-05T08:17:51.081Z level=INFO msg="Auto-detected Anthropic token from Claude Code credentials"
onwatch  | time=2026-03-05T08:17:51.484Z level=INFO msg="Anthropic agent started" interval=1m0s
onwatch  | time=2026-03-05T08:17:51.486Z level=INFO msg="Anthropic token auto-detected from credentials file" path=/home/nonroot/.claude/.credentials.json
onwatch  | time=2026-03-05T08:17:51.486Z level=INFO msg="Anthropic token refreshed from credentials"
onwatch  | time=2026-03-05T08:17:52.803Z level=ERROR msg="Failed to fetch Anthropic quotas" error="anthropic: unexpected status code 429"

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions