STARK-44 enterprise checkout is 500ing because calculate_total calls validate_quantity on an item with quantity=None, which raises ValueError and bubbles up as a 500 right after the recent deploy window.
What Nirna found
-
Jira ticket shows checkout 500s for STARK-44 with traceback ending in ValueError: invalid quantity None, reported over the past two hours and noted as starting around a recent deploy.source ↗
-
A prior ticket for the same issue includes the same traceback and timeline for STARK-44.source ↗
-
STARK-44 is an active enterprise account.source ↗
-
validate_quantity raises on None and enforces bounds; this is the failure site.source ↗
What this means
An item in the cart lacks a quantity, so item.get("quantity") returns None in calculate_total; validate_quantity raises on None and the ValueError is not handled at the route layer, returning a 500 instead of rejecting the request or defaulting the quantity. This surfaced right after a deploy window, suggesting a new code path or payload shape made it easier to submit items without quantity.
Who’s affected
Also affects: STARK-44
Recommended fix
- nirna/demo/codebase/src/bindu_bazaar/common/validators.py:60–67 @ 8b3688e
Suggested replies
Copy-paste ready. Your engineer edits and sends.
Customer reply
Internal note
Engineering handoff
Why Nirna reached this conclusion
Verdict — Single-account escalation. Only this account is affected; the evidence points to account configuration mismatch and a code change in the failing path.
Confidence — High. Several checks came back strong: account matched from ticket text, recent deploy touched failing path, account configuration mismatch.
Who fixes it — Code change. This needs engineering: a recent deploy touched the code path that failed and the failing path changed in that deploy. The account's state also looks wrong, but the code evidence is the part anyone can act on — start there.
Who’s affected. Cross-account log check found the same error in 1 other accounts within the window: STARK-44.
| Signal | Score |
|---|---|
| Account matched from ticket text | 0.95 |
| Recent deploy touched failing path | 0.95 |
| Account configuration mismatch | 1.00 |
| Code change in the failing path | 1.00 |
| Feature-flag rollout mismatch | 0.00 |
| Patterns matched in your data | 0.90 |
| Similar recent tickets | 2.00 |
| Different accounts affected | 1.00 |
Was this triage right?
Corrections apply the same day. A wrong-account correction with a domain hint updates the routing rules for the next ticket automatically.