Claude Code OAUTH 401 with valid token

Author: deymoshCreated Sep 19, 2026Updated Sep 27, 2026

Using Claude Code Router in it's latest version v3.1.1 I noticed the router returns 401 even if a valid token is stored in .credentials.json (refreshed since CCR start).

This was solved in previous versions but seems like is failing in latest. A restart of the CCR container picks up the latest token correctly.

The usage overview is working with the latest token seems like only the routing request is what is failing.

Source: musistudio/claude-code-router