[BUG] v2.1.81 - multiple parallel agents cause 401 auth issue

Resolved 💬 4 comments Opened Mar 22, 2026 by cyface Closed Apr 21, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

[BUG] v2.1.81 - multiple parallel agents cause 401 auth issue.

When I kick off a PR workflow with multiple parallel pr-review-workflow agents, they always eventually fail out with a 401 error:

⎿  Referenced file ../../../docs/00-progress.md
⎿  Read ../../../packages/client/src/features/map-canvas/Sidebar.tsx (414 lines)
⎿  Referenced file ../../../packages/client/src/features/map-canvas/MapEditor.tsx
⎿  Read ../../../packages/client/src/features/map-canvas/hooks/useMapData.ts (214 lines)
⎿  Read ../../../packages/client/src/main.tsx (31 lines)
⎿  Skills restored (pr, startdev)
⎿  Not logged in · Please run /login

⏺ Agent "Analyze test coverage gaps" completed
⎿  Not logged in · Please run /login

⏺ Agent "Review comments accuracy" completed
⎿  Not logged in · Please run /login

I am logged in via oauth, and even if I re-login, it doesn't help. Things eventually fail out, and then the whole session has a 401 issue: ⎿  Please run /login · API Error: 401 {"type":"error","error":{"type":"authentication_error","message":"OAuth authentication is currently not supported."},"request_id":"req_011CZJYsWsDfKnQx6PwyHEub"}

I thought it was intermittent load issues on the claude code backend, but it has happened consistently since 2.1.81.

What Should Happen?

Agents should run without encountering 401s

Error Messages/Logs

Steps to Reproduce

If you need specific details from before compaction (like exact code snippets, error messages, or content you generated), read the full transcript at:
/Users/timwhite/.claude/projects/-Users-timwhite-WebstormProjects-hexateer/e11dd4e3-426c-48ee-99f7-43020141d27f.jsonl
Continue the conversation from where it left off without asking the user any further questions. Resume directly — do not acknowledge the summary, do not recap what was happening, do not preface with
"I'll continue" or similar. Pick up the last task as if the break never happened.
⎿  Referenced file ../../../docs/00-progress.md
⎿  Read ../../../packages/client/src/features/map-canvas/Sidebar.tsx (414 lines)
⎿  Referenced file ../../../packages/client/src/features/map-canvas/MapEditor.tsx
⎿  Read ../../../packages/client/src/features/map-canvas/hooks/useMapData.ts (214 lines)
⎿  Read ../../../packages/client/src/main.tsx (31 lines)
⎿  Skills restored (pr, startdev)

11:50 AM <synthetic>
⎿  Not logged in · Please run /login

⏺ Agent "Analyze test coverage gaps" completed

11:50 AM <synthetic>
⎿  Not logged in · Please run /login

⏺ Agent "Review comments accuracy" completed

11:51 AM <synthetic>
⎿  Not logged in · Please run /login

❯ can you lookat the failed agents

11:56 AM <synthetic>
⎿  Please run /login · API Error: 401 {"type":"error","error":{"type":"authentication_error","message":"OAuth authentication is currently not supported."},"request_id":"req_011CZJYsWsDfKnQx6PwyHEub"}

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.81

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗