Error Context Layer / ingest-gateway / staging / inc_c71e4d

warn

Payload missing service name

ValidationError capture payload missing service

Status
resolved
Priority
P2
Events
19
Capture
complete

Context Timeline

Request entry, outbound I/O, local state records, and the throw frame.

request -> I/O -> local state -> throw
1
Request entered the service

POST /capture reached ingest-gateway in iad1.

requestId = req_stg_7781capturedtraceId = 37d0f5c8a92b41e6c50d8a3179e2f4b0captured
POST /capture
2
Capture payload received
contentLength = 7214capturedheaders.x-errorcore-sdk = "0.6.1"captured
3
Payload normalized without a service field
payload.service = undefinedcapturedpayload.environment = "staging"captured
4
Schema branch rejected missing service
if (!payload.service) throw new ValidationError('capture payload missing service');
payload.serviceundefinedcaptured
src/ingest/normalize.ts:27:11

Runtime evidence

Values, bound inputs, I/O records, and throw frame metadata.

complete
Captured locals
payload.serviceundefinedcaptured
payload.service = undefined / payload.environment = "staging"
Origin I/O

No outbound I/O record is linked to this throw.

Bound inputscontentLength = 7214
Capture completenesscaptured locals / captured args / captured I/O18 KB package / encrypted yes
Trace pathPOST /capturepayload.service = undefinedsrc/ingest/normalize.ts:27request / I/O / local / stack

Stack trace entry point

The stack identifies where Errorcore attached the context above; it is the entry point, not the full answer.

normalizeCapturesrc/ingest/normalize.ts:27:11
captureRoutesrc/routes/capture.ts:62:16

Request context

LinePOST /captureRequest IDreq_stg_7781Status422Regioniad1RoutePOST /captureBodyschema fields capturedTrace37d0f5c8a92b41e6c50d8a3179e2f4b0Spana25c90e7b4f8d13a

Runtime and I/O

Nodev22.14.0Hoststg-ingest-02Release2026.05.07-betaSDK0.9.2-beta.2Memoryrss 384 MB, heap 121 MBLoop lag17 ms

No outbound I/O was recorded before this incident.

Capture completeness

QualitycompleteLocalscapturedArgscapturedI/OcapturedEncryptedyesPayload18 KB
policy appliedpayload 18 KB