docsvc PATCH /api/documents/v2/:id/internal: permission denied — 22 of 71 calls (31 %; 403×22) in the last 15 min — 73× its usual 0.3
critical
4xx spike (403/401/404…)
automation
resolved
impact 57
Owner: Prasad Limaye (backup: Harish Kumar)
opened 18d ago · last observed 2d ago · observed 24× · #13056 · 14b0898b2093b8b8c821
What happened template
4xx spike (403/401/404…): docsvc PATCH /api/documents/v2/:id/internal: permission denied — 22 of 71 calls (31 %; 403×22) in the last 15 min — 73× its usual 0.3. Facts: endpoint PATCH /api/documents/v2/:id/internal, service docsvc, calls 71, c4xx 22, share_pct 30.985915492957748, c401 0.
An endpoint answering far more 4xx than its own usual rate — a permissions change (403), expired or broken auth (401), a missing route or contract break (404). Its usual rate is its last seven days.
The facts
| endpoint | PATCH /api/documents/v2/:id/internal |
| service | docsvc |
| calls | 71 |
| c4xx | 22 |
| share_pct | 30.99 |
| c401 | 0 |
| c403 | 22 |
| other_4xx | 0 |
| rejecting | no |
| usual_per_window | 0.30 |
| baseline_days | 7 |
| window_min | 15 |
| discriminator | PATCH /api/documents/v2/:id/internal |
| window | 2026-11-16 08:30:00 UTC → 2026-11-16 08:45:00 UTC |
What is failing in docsvc — the bad events, decomposed
“Bad events” are HTTP 5xx answers from docsvc. In this finding's window (2026-11-16 08:30:00 UTC → 2026-11-16 08:45:00 UTC) there were 24; every line links to the grouped errors behind it.
PUT /api/documents/:id/promote |
11 bad of 74 calls · 46% of the service's 5xx |
PATCH /api/documents/v2/:id/internal |
7 bad of 86 calls · 29% of the service's 5xx |
POST /api/documents/folders/manager |
4 bad of 6 calls · 17% of the service's 5xx |
DELETE /api/documents/:id |
1 bad of 68 calls · 4% of the service's 5xx |
PATCH /api/documents/v2 |
1 bad of 200 calls · 4% of the service's 5xx |
The error shapes behind them
| 468× | FolderManager(StudyInstance) not found: not found since 2026-09-15 01:09:37 UTC |
| 464× | policy not found since 2026-10-30 00:31:22 UTC |
| 385× | failed to run cypher in transaction — Neo4jError: Neo.TransientError.Transaction.DeadlockDetected (ForsetiClient[transac… since 2026-10-29 19:47:42 UTC |
| 232× | not found since 2026-09-15 00:56:35 UTC |
| 220× | this endpoint is only available to automated agents since 2026-09-15 01:04:26 UTC |
The story — No docsvc deploy or hand change is recorded in the hour before this opened. Everything below is docsvc only.
- 2026-10-31 20:05:35 UTCthis finding docsvc PATCH /api/documents/v2/:id/internal: permission denied — 22 of 71 calls (31 %; 403×22) in the last 15 min — 73× its usual 0.3
- 2026-11-01 04:07:06 UTCfinding · warning docsvc POST /api/documents: 4xx — 20 of 75 calls (27 %; other 4xx×20) in the last 15 min — 224× its usual 0.1
- 2026-11-14 00:00:00 UTClatency docsvc p95 peaked at 1.69 s
- 2026-11-14 18:04:50 UTChand change [email protected] changed apps/v1/namespaces/matrix/deployments/docsvc by hand (kubectl/v1.33.3 (darwin/arm64) kubernetes/80779bd,gzip(gfe))
- 2026-11-14 18:15:37 UTChand change [email protected] changed apps/v1/namespaces/matrix/deployments/docsvc by hand (kubectl/v1.33.3 (darwin/arm64) kubernetes/80779bd,gzip(gfe))
- 2026-11-14 18:29:14 UTChand change [email protected] changed apps/v1/namespaces/matrix/deployments/docsvc by hand (kubectl/v1.33.3 (darwin/arm64) kubernetes/80779bd,gzip(gfe))
- 2026-11-14 18:32:27 UTChand change [email protected] changed apps/v1/namespaces/matrix/deployments/docsvc by hand (kubectl/v1.33.3 (darwin/arm64) kubernetes/80779bd,gzip(gfe))
- 2026-11-14 18:35:19 UTChand change [email protected] changed apps/v1/namespaces/matrix/deployments/docsvc by hand (kubectl/v1.33.3 (darwin/arm64) kubernetes/80779bd,gzip(gfe))
- 2026-11-14 18:50:24 UTChand change [email protected] changed apps/v1/namespaces/matrix/deployments/docsvc by hand (kubectl/v1.33.3 (darwin/arm64) kubernetes/80779bd,gzip(gfe))
- 2026-11-14 19:09:00 UTChand change [email protected] changed apps/v1/namespaces/matrix/deployments/docsvc by hand (kubectl/v1.33.3 (darwin/arm64) kubernetes/80779bd,gzip(gfe))
- 2026-11-14 19:09:26 UTChand change [email protected] changed apps/v1/namespaces/matrix/deployments/docsvc by hand (kubectl/v1.33.3 (darwin/arm64) kubernetes/80779bd,gzip(gfe))
- 2026-11-14 19:47:52 UTChand change [email protected] changed apps/v1/namespaces/matrix/deployments/docsvc by hand (kubectl/v1.33.3 (darwin/arm64) kubernetes/80779bd,gzip(gfe))
- 2026-11-14 19:48:16 UTChand change [email protected] changed apps/v1/namespaces/matrix/deployments/docsvc by hand (kubectl/v1.33.3 (darwin/arm64) kubernetes/80779bd,gzip(gfe))
- 2026-11-14 19:58:18 UTChand change [email protected] changed apps/v1/namespaces/matrix/deployments/docsvc by hand (kubectl/v1.33.3 (darwin/arm64) kubernetes/80779bd,gzip(gfe))
- 2026-11-14 20:07:50 UTChand change [email protected] changed apps/v1/namespaces/matrix/deployments/docsvc by hand (kubectl/v1.33.3 (darwin/arm64) kubernetes/80779bd,gzip(gfe))
- 2026-11-14 20:24:46 UTChand change [email protected] changed apps/v1/namespaces/matrix/deployments/docsvc by hand (kubectl/v1.33.3 (darwin/arm64) kubernetes/80779bd,gzip(gfe))
- 2026-11-14 20:39:09 UTChand change [email protected] changed apps/v1/namespaces/matrix/deployments/docsvc by hand (kubectl/v1.33.3 (darwin/arm64) kubernetes/80779bd,gzip(gfe))
- 2026-11-14 20:46:18 UTChand change [email protected] changed apps/v1/namespaces/matrix/deployments/docsvc by hand (kubectl/v1.33.3 (darwin/arm64) kubernetes/80779bd,gzip(gfe))
- 2026-11-14 20:57:58 UTChand change [email protected] changed apps/v1/namespaces/matrix/deployments/docsvc by hand (kubectl/v1.33.3 (darwin/arm64) kubernetes/80779bd,gzip(gfe))
- 2026-11-14 20:58:56 UTChand change [email protected] changed apps/v1/namespaces/matrix/deployments/docsvc by hand (kubectl/v1.33.3 (darwin/arm64) kubernetes/80779bd,gzip(gfe))
- 2026-11-14 21:02:45 UTChand change [email protected] changed apps/v1/namespaces/matrix/deployments/docsvc by hand (kubectl/v1.33.3 (darwin/arm64) kubernetes/80779bd,gzip(gfe))
- 2026-11-15 00:00:00 UTCerrors docsvc 5xx peaked at 101 in one five-minute bucket (median 0 in this window)
- 2026-11-15 00:49:50 UTCfinding · warning docsvc: a new error shape, 16× in the last hour, never seen in 90 days (message was never published because transaction was never committed)
- 2026-11-15 07:16:44 UTChand change [email protected] changed apps/v1/namespaces/matrix/deployments/docsvc by hand (kubectl/v1.33.3 (darwin/arm64) kubernetes/80779bd,gzip(gfe))
- 2026-11-15 07:28:03 UTChand change [email protected] changed apps/v1/namespaces/matrix/deployments/docsvc by hand (kubectl/v1.33.3 (darwin/arm64) kubernetes/80779bd,gzip(gfe))
- 2026-11-15 07:43:45 UTChand change [email protected] changed apps/v1/namespaces/matrix/deployments/docsvc by hand (kubectl/v1.33.3 (darwin/arm64) kubernetes/80779bd,gzip(gfe))
- 2026-11-15 07:54:57 UTChand change [email protected] changed apps/v1/namespaces/matrix/deployments/docsvc by hand (kubectl/v1.33.3 (darwin/arm64) kubernetes/80779bd,gzip(gfe))
- 2026-11-15 07:55:26 UTChand change [email protected] changed apps/v1/namespaces/matrix/deployments/docsvc by hand (kubectl/v1.33.3 (darwin/arm64) kubernetes/80779bd,gzip(gfe))
- 2026-11-15 07:59:25 UTChand change [email protected] changed apps/v1/namespaces/matrix/deployments/docsvc by hand (kubectl/v1.33.3 (darwin/arm64) kubernetes/80779bd,gzip(gfe))
- 2026-11-16 05:45:37 UTChand change [email protected] changed apps/v1/namespaces/matrix/deployments/docsvc by hand (kubectl/v1.33.3 (darwin/arm64) kubernetes/80779bd,gzip(gfe))
- 2026-11-16 05:56:38 UTChand change [email protected] changed apps/v1/namespaces/matrix/deployments/docsvc by hand (kubectl/v1.33.3 (darwin/arm64) kubernetes/80779bd,gzip(gfe))
- 2026-11-16 06:49:44 UTChand change [email protected] changed apps/v1/namespaces/matrix/deployments/docsvc by hand (kubectl/v1.33.3 (darwin/arm64) kubernetes/80779bd,gzip(gfe))
- 2026-11-16 07:02:14 UTChand change [email protected] changed apps/v1/namespaces/matrix/deployments/docsvc by hand (kubectl/v1.33.3 (darwin/arm64) kubernetes/80779bd,gzip(gfe))
- 2026-11-16 07:18:01 UTChand change [email protected] changed apps/v1/namespaces/matrix/deployments/docsvc by hand (kubectl/v1.33.3 (darwin/arm64) kubernetes/80779bd,gzip(gfe))
- 2026-11-16 07:32:32 UTChand change [email protected] changed apps/v1/namespaces/matrix/deployments/docsvc by hand (kubectl/v1.33.3 (darwin/arm64) kubernetes/80779bd,gzip(gfe))
- 2026-11-16 07:49:01 UTChand change [email protected] changed apps/v1/namespaces/matrix/deployments/docsvc by hand (kubectl/v1.33.3 (darwin/arm64) kubernetes/80779bd,gzip(gfe))
- 2026-11-16 08:05:51 UTChand change [email protected] changed apps/v1/namespaces/matrix/deployments/docsvc by hand (kubectl/v1.33.3 (darwin/arm64) kubernetes/80779bd,gzip(gfe))
- 2026-11-16 08:21:36 UTChand change [email protected] changed apps/v1/namespaces/matrix/deployments/docsvc by hand (kubectl/v1.33.3 (darwin/arm64) kubernetes/80779bd,gzip(gfe))
History
- 2026-11-16 08:53:28 UTCreopened x-ray · severity=critical was=critical title=docsvc PATCH /api/documents/v2/:id/internal: permission denied — 22 of 71 calls (31 %; 403×22) in the last 15 min — 73× its usual 0.3 level=high was_level=high finding={'id': 13056, 'fingerprint': '14b0898b2093b8b8c821', 'kind': 'endpoint.4xx_spike', 'severity': 'critical', 'cluster': 'automation', 'subject': 'docsvc', 'title': 'docsvc PATCH /api/documents/v2/:id/internal: permission denied — 22 of 71 calls (31 %; 403×22) in the last 15 min — 73× its usual 0.3', 'facts': {'endpoint': 'PATCH /api/documents/v2/:id/internal', 'service': 'docsvc', 'calls': 71, 'c4xx': 22, 'share_pct': 30.985915492957748, 'c401': 0, 'c403': 22, 'other_4xx': 0, 'rejecting': False, 'usual_per_window': 0.3, 'baseline_days': 7, 'window': [1794817800, 1794818700], 'window_min': 15, 'recent_deploys': [], 'discriminator': 'PATCH /api/documents/v2/:id/internal'}, 'evidence': [{'label': 'The 4xx calls (status, caller, path)', 'href': '/api-calls?cluster=automation&from=1794817800&to=1794818700&service=docsvc&status=4xx'}, {'label': 'docsvc service page', 'href': '/service/docsvc?cluster=automation&from=1794817800&to=1794818700'}], 'provenance': {'source': 'rollup', 'collected_at': 1794819089, 'age_seconds': 125, 'stale': False, 'shown': None, 'total': None, 'truncated': False, 'coverage_from': None, 'retain_days': None, 'note': None}, 'impact': 52.0, 'status': 'open', 'first_seen': 1793477135, 'last_seen': 1794819208, 'resolved_at': None, 'acked_by': None, 'acked_at': None, 'snoozed_until': None, 'occurrences': 24, 'narrative': '4xx spike (403/401/404…): docsvc PATCH /api/documents/v2/:id/internal: permission denied — 192 of 249 calls (77 %; 403×165, 401×2, other 4xx×25) in the last 15 min — 41× its usual 4.7. Facts: endpoint PATCH /api/documents/v2/:id/internal, service docsvc, calls 249, c4xx 192, share_pct 77.10843373493977, c401 2.', 'narrative_kind': 'template', 'discriminator': 'PATCH /api/documents/v2/:id/internal', 'level': 'high', 'told_level': None, 'episode_at': 1794819208, 'chat_thread': None, 'kind_label': '4xx spike (403/401/404…)', 'group': 'Errors', 'age_s': 1342079, 'stale_s': 6}
- 2026-11-16 09:50:12 UTCresolved x-ray · reason=not observed grace_s=900 finding={'id': 13056, 'fingerprint': '14b0898b2093b8b8c821', 'kind': 'endpoint.4xx_spike', 'severity': 'critical', 'cluster': 'automation', 'subject': 'docsvc', 'title': 'docsvc PATCH /api/documents/v2/:id/internal: permission denied — 22 of 71 calls (31 %; 403×22) in the last 15 min — 73× its usual 0.3', 'facts': {'endpoint': 'PATCH /api/documents/v2/:id/internal', 'service': 'docsvc', 'calls': 71, 'c4xx': 22, 'share_pct': 30.985915492957748, 'c401': 0, 'c403': 22, 'other_4xx': 0, 'rejecting': False, 'usual_per_window': 0.3, 'baseline_days': 7, 'window': [1794817800, 1794818700], 'window_min': 15, 'recent_deploys': [], 'discriminator': 'PATCH /api/documents/v2/:id/internal'}, 'evidence': [{'label': 'The 4xx calls (status, caller, path)', 'href': '/api-calls?cluster=automation&from=1794817800&to=1794818700&service=docsvc&status=4xx'}, {'label': 'docsvc service page', 'href': '/service/docsvc?cluster=automation&from=1794817800&to=1794818700'}], 'provenance': {'source': 'rollup', 'collected_at': 1794819089, 'age_seconds': 125, 'stale': False, 'shown': None, 'total': None, 'truncated': False, 'coverage_from': None, 'retain_days': None, 'note': None}, 'impact': 57.0, 'status': 'resolved', 'first_seen': 1793477135, 'last_seen': 1794819208, 'resolved_at': 1794822612, 'acked_by': None, 'acked_at': None, 'snoozed_until': None, 'occurrences': 24, 'narrative': '4xx spike (403/401/404…): docsvc PATCH /api/documents/v2/:id/internal: permission denied — 22 of 71 calls (31 %; 403×22) in the last 15 min — 73× its usual 0.3. Facts: endpoint PATCH /api/documents/v2/:id/internal, service docsvc, calls 71, c4xx 22, share_pct 30.985915492957748, c401 0.', 'narrative_kind': 'template', 'discriminator': 'PATCH /api/documents/v2/:id/internal', 'level': 'high', 'told_level': None, 'episode_at': 1794819208, 'chat_thread': None, 'kind_label': '4xx spike (403/401/404…)', 'group': 'Errors', 'age_s': 1345485, 'stale_s': 3412}
Check it yourself
Every link carries the finding's own time window, so it shows tomorrow what it shows now.
Actions
Sign in (IAP) to acknowledge, snooze or resolve.
Where the numbers come from
| source | rollup |
| collected_at | 1794819089 |
| age_seconds | 125 |
| stale | False |
| shown | None |
| total | None |
| truncated | False |
| coverage_from | None |
| retain_days | None |
| note | None |
| detector | endpoint_4xx_spike |