docs(troubleshooting): a new organisation's API returns 401 #117
All Vouch review confidence checks passed
Residual risk 0.13 = Change Risk (0.33) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.33 · 159 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.304
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #117"
general
weight: 0.35
MuneebAijaz
What
The 401 cause is now explained, with the in-cluster check, on the Branded URLs page (#116: "Step 2: portal login" and "Known pitfalls"). This PR adds short entries in the places people look first, and links them to that page:
installation/scobasic.md→ Troubleshooting: new entry, "A new organization's API returns 401".- It explains that 401 means the token was rejected, while 403 means a missing role.
- The usual cause is that the cluster cannot reach the sign-in host name from inside.
- It links to the Branded URLs pitfall and to the step 2 check.
- If the check passes and only one user is affected, it points to the email-verified entry.
troubleshooting/common-issues.md→ "User created but cannot log in": adds the 401 symptom, plus a pointer to the Branded URLs pitfall for when every user of the organisation gets a 401.Why
A self-hosted install hit a 401 when fetching a new organisation's API schema. The cause was their network blocking the cluster from reaching the sign-in host. Someone troubleshooting from the scobasic page or the common-issues page wouldn't think to look on the Branded URLs page.
Based on
origin/main181c13db (after #116).🤖 Generated with Claude Code