Error Context Layer / checkout-api / production / inc_a04439
error
Tax quote returned malformed amount
RangeError invalid tax amount NaN
- Status
- open
- Priority
- P1
- Events
- 7
- Capture
- policy limited
Context Timeline
Request entry, outbound I/O, local state records, and the throw frame.
1
Request entered the servicePOST /checkout/confirm
POST /checkout/confirm reached checkout-api in iad1.
requestId = req_tax_44adcapturedtraceId = f25c8a90d7314be6920cf5b8a4d1e073captured2
Request entered checkout
cartId = "cart_82d1"captured3
Tax quote returned 200Tax service quote / https://tax.internal/quote / 200 OK / 284ms /
taxResponse.body = [omitted by policy]missing4
Numeric conversion produced NaN
taxCents = NaNderived5
Computed total became NaN
if (Number.isNaN(taxCents)) throw new RangeError('invalid tax amount NaN');taxCents
src/checkout/tax.ts:51:15NaNderivedRuntime evidence
Values, bound inputs, I/O records, and throw frame metadata.
Captured locals
taxCents
NaNderivedtaxCents = NaN / taxResponse.body = [omitted by policy]Origin I/O
Tax service quote
https://tax.internal/quote200 OK / 284ms / okBound inputs
cartId = "cart_82d1"Capture completenessmissing locals / captured args / captured I/O27 KB package / encrypted yes
Trace path
POST /checkout/confirmTax service quote: 200 OKtaxCents = NaNsrc/checkout/tax.ts:51request / I/O / local / stackStack trace entry point
The stack identifies where Errorcore attached the context above; it is the entry point, not the full answer.
applyTaxQuotesrc/checkout/tax.ts:51:15
confirmCheckoutsrc/checkout/confirm.ts:149:9
Request context
LinePOST /checkout/confirmRequest IDreq_tax_44adStatus500Regioniad1RoutePOST /checkout/confirmBodyresponse bodies disabledTracef25c8a90d7314be6920cf5b8a4d1e073Span1da6f4c08b7e3952 / parent 8e02b5d7c4a9f316
Runtime and I/O
Nodev22.14.0Hostiad-checkout-03Release2026.05.08-4f17c2SDK0.9.1Memoryrss 384 MB, heap 121 MBLoop lag17 ms
Tax service quote
ok284ms200 OK
https://tax.internal/quoteCapture completeness
Qualitypolicy limitedLocalsmissingArgscapturedI/OcapturedEncryptedyesPayload27 KB
redactedlocals.taxResponse.bodyresponse body capture disabled
policy appliedpayload 27 KB