title: "π 401 User Not Found β Expired OpenRouter API Key Causes Silent Failure on Agent Model Response"
labels: bug, auth, openrouter, api-key, instance-config
assignees: yonksο½π€ποΈπͺο½Jason Younker βΎοΈ
π Bug Report: 401 User Not Found
Instance: INT-S004 (s004.ccc.bot)
Agent: MetaAgentClaude (Claude Opus 4.8 β VSA)
Reported: 21 Jun 2026 Β· 08:52 MDT
Reported by: @YonksTEAM (CCC-ID:GTM)
β Error Message
The agent model failed to respond: 401 User not found.
π What Happened
@YonksTEAM (CCC-ID:GTM) was attempting to interact with the MetaAgentClaude workspace on INT-S004 (s004.ccc.bot) and received the above 401 error. The agent model (Claude Opus 4.8) failed to respond.
π Environment Details
| Field |
Value |
| Instance |
INT-S004 (s004.ccc.bot) |
| Workspace |
MetaAgentClaude:INT-S004:vsa-claude |
| Model |
Claude Opus 4.8 (via OpenRouter.ai) |
| Error Code |
401 |
| Error Message |
"User not found" |
| Timeline |
Error observed ~08:52 MDT on 21 Jun 2026 |
π Root Cause Analysis
| Finding |
Detail |
| Root Cause |
OpenRouter.ai API key attached to INT-S004 expired on 19 Jun 2026 at 13:54 MDT |
| Detection |
@YonksTEAM (CCC-ID:GTM):ADMIN investigated and confirmed the expiration date |
| Impact Window |
~43 hours (19 Jun 13:54 MDT β 21 Jun 08:52 MDT) |
| Resolution |
@YonksTEAM (CCC-ID:GTM):ADMIN manually rotated the API key and updated instance settings within INT-S004 to restore functionality |
π§ͺ Steps to Reproduce
- Navigate to INT-S004 (s004.ccc.bot)
- Open the MetaAgentClaude:INT-S004:vsa-claude workspace
- Send any prompt to the agent
- Observe 401 error:
"The agent model failed to respond: 401 User not found."
β
Expected Behavior
- Agent should respond normally when API key is valid
- Instance should provide a clear, actionable error message indicating API key expiration rather than a generic "User not found" message
π« Actual Behavior
- Generic
401 User not found β does NOT indicate that the root cause is an expired API key
- No automated alert or warning when the API key approaches expiration
- Silent failure until human (@YonksTEAM (CCC-ID:GTM):ADMIN) investigates manually
π‘ Suggested Improvements
| # |
Improvement |
Priority |
| 1 |
Clearer error messaging β distinguish between "user not found" and "API key expired" in 401 responses |
π΄ P0 |
| 2 |
API key expiry monitoring β admin dashboard or notification when keys are within 7 days of expiration |
π΄ P0 |
| 3 |
Graceful degradation β if a model's API key expires, attempt fallback or surface a maintenance message instead of silent 401 |
π P1 |
| 4 |
API key rotation UI β allow key rotation without full instance reconfiguration |
π P1 |
| 5 |
Instance health dashboard β show key validity status per instance (INT-B001, INT-P08, INT-S004) |
π‘ P2 |
π Additional Context
| Detail |
Value |
| Instance Restored? |
β
YES β @YonksTEAM (CCC-ID:GTM):ADMIN manually rotated key at ~08:55 MDT |
| Data Loss? |
β None |
| Recurrence Risk |
π MEDIUM β no automated expiry monitoring currently exists |
| Related Instances |
INT-B001, INT-P08 β verify their OpenRouter keys are not also approaching expiry |
π Correction Log (Per BP-070-DR Anti-Pattern Mintplex-Labs#6)
| Previous Claim |
Previous CCC-ID |
Corrected Finding |
Source of Correction |
| "INT-S004 = WeOwnLLM.StrategyLab.ai" |
GTM_2026-W25_7007 |
INT-S004 = s004.ccc.bot |
@YonksTEAM (CCC-ID:GTM) |
| Instance URL "WeOwnLLM.StrategyLab.ai" |
GTM_2026-W25_7007 |
No URL confirmed β only domain s004.ccc.bot |
@YonksTEAM (CCC-ID:GTM) |
π Resolution Notes
- 19 Jun 2026 13:54 MDT β OpenRouter API key for INT-S004 expired
- 21 Jun 2026 08:52 MDT β @YonksTEAM (CCC-ID:GTM) encountered 401 error
- 21 Jun 2026 ~08:55 MDT β @YonksTEAM (CCC-ID:GTM):ADMIN diagnosed, rotated key, restored instance
- 21 Jun 2026 09:19 MDT β #BadAgent correction applied β instance identity corrected, GitHub issue re-drafted
/label ~bug ~auth ~openrouter ~api-key ~instance-config
/assign @yonksο½π€ποΈπͺο½Jason Younker βΎοΈ
/cc @YonksTEAM (CCC-ID:GTM)
title: "π 401 User Not Found β Expired OpenRouter API Key Causes Silent Failure on Agent Model Response"
labels: bug, auth, openrouter, api-key, instance-config
assignees: yonksο½π€ποΈπͺο½Jason Younker βΎοΈ
π Bug Report: 401 User Not Found
Instance: INT-S004 (s004.ccc.bot)
Agent: MetaAgentClaude (Claude Opus 4.8 β VSA)
Reported: 21 Jun 2026 Β· 08:52 MDT
Reported by: @YonksTEAM (CCC-ID:GTM)
β Error Message
π What Happened
@YonksTEAM (CCC-ID:GTM) was attempting to interact with the MetaAgentClaude workspace on INT-S004 (s004.ccc.bot) and received the above 401 error. The agent model (Claude Opus 4.8) failed to respond.
π Environment Details
π Root Cause Analysis
π§ͺ Steps to Reproduce
"The agent model failed to respond: 401 User not found."β Expected Behavior
π« Actual Behavior
401 User not foundβ does NOT indicate that the root cause is an expired API keyπ‘ Suggested Improvements
π Additional Context
π Correction Log (Per BP-070-DR Anti-Pattern Mintplex-Labs#6)
π Resolution Notes
/label ~bug ~auth ~openrouter ~api-key ~instance-config
/assign @yonksο½π€ποΈπͺο½Jason Younker βΎοΈ
/cc @YonksTEAM (CCC-ID:GTM)