erroropensearch-indexerjavascript

TypeError: Cannot read properties of undefined (reading 'documentId') for job <num>

src/indexer/build.js#buildIndex

Events243
First seen12d ago2026-08-11 18:14:20 UTC
Last seen11d ago2026-08-12 18:40:14 UTC
Releases1.9.0
Events per day, from the rollups0 in this window · peak 1
17 Aug
 
19 Aug
 
21 Aug
 
23 Aug
Table view
Bucket (UTC)Events
2026-08-17 00:00:000
2026-08-18 00:00:000
2026-08-19 00:00:000
2026-08-20 00:00:000
2026-08-21 00:00:000
2026-08-22 00:00:000
2026-08-23 00:00:000

How this group was decided

Every step below is a pure function of the event. The same event always produces the same group.

  1. 1 · Parse the stack trace

    4 frames parsed, 4 belong to the application. Only those decide the group — the same bug reaches the runtime through different framework paths depending on the request.

    • in-appsrc/indexer/build.js.buildIndexsrc/indexer/build.js:142
    • in-appsrc/indexer/queue.js.processQueuesrc/indexer/queue.js:88
    • in-appWorker.runsrc/worker.js:37
    • in-apptask_queues.<anonymous>task_queues:95
  2. 2 · Build the fingerprint input

    Line numbers are dropped so that editing a line above the throw site does not open a new group. Values inside the message are replaced with placeholders.

    v1
    platform=javascript
    service=search-indexer
    type=TypeError
    frame=src/indexer/build.js#buildIndex
    frame=src/indexer/queue.js#processQueue
    frame=Worker#run
    frame=task_queues#<anonymous>
  3. 3 · Hash it

    SHA-256 of the text above, truncated to 128 bits. The version is part of the group key: a future algorithm opens new groups rather than rewriting these.

    Fingerprint
    277df06dea90f0071c6a44df1720718d
    Algorithm version
    v1

Latest stored event

2026-08-12 18:40:14 UTC

Cannot read properties of undefined (reading 'documentId') for job 9934

TypeError: Cannot read properties of undefined (reading 'documentId')
    at buildIndex (/app/src/indexer/build.js:142:31)
    at processQueue (/app/src/indexer/queue.js:88:9)
    at async Worker.run (/app/src/worker.js:37:5)
    at async node:internal/process/task_queues:95:5

Similar groups

Trigram similarity computed by Postgres against a GIN index. It catches what a fingerprint cannot — the same fault one refactor away from an existing group. No model is involved.