The AI support engineer for production.
Cited evidence using logs, deploys, data, code and features. A recommended fix.
Customer-hosted or on Nirna cloud. Your model. No lock-in.
3 accounts hitting the same KeyError('sub') in validate_token since the token-rotation deploy at 09:42 UTC.
- Logs
POST /auth/verifyraisesKeyError: 'sub'attokens.py:59, 3 accounts in 32 min - Data
new_token_rotationenabled for all 3 infeature_flag_overrides - Code
_rotate_claimsdrops the subject — allowlist omits'sub'—tokens.py:37–45@76b3ab8 - Deploy
76b3ab8changedtokens.pyon the failing call path at 09:42 UTC
"sub" to the allowlist in _rotate_claims (tokens.py:37–45), and guard the subject read in validate_token (:48–60).