Skip to content

Command error (undefined): Cannot read properties of undefined (reading 'startTokenId') #4023

@botnumberseven

Description

@botnumberseven

After upgrade to v8.1.1+hotfix.9 I can see a fair amount of these (one every couple of minutes)
ERROR: Command error (undefined): Cannot read properties of undefined (reading 'startTokenId').
Would be nice to add command name into this error message, so it's clear what command failed.

Typical context looks like this:
[2025-07-29 11:21:50] DEBUG: Getting Assertion with the UAL: did:dkg:otp:2043/0x8f678eb0e57ee8a109b295710e23076fa3a443fe/395441.
[2025-07-29 11:21:50] DEBUG: Getting Assertion with the UAL: did:dkg:otp:2043/0x8f678eb0e57ee8a109b295710e23076fa3a443fe/395442.
[2025-07-29 11:21:50] DEBUG: Getting Assertion with the UAL: did:dkg:otp:2043/0x8f678eb0e57ee8a109b295710e23076fa3a443fe/395443.
[2025-07-29 11:21:50] DEBUG: Getting Assertion with the UAL: did:dkg:otp:2043/0x8f678eb0e57ee8a109b295710e23076fa3a443fe/395444.
[2025-07-29 11:21:50] DEBUG: Getting Assertion with the UAL: did:dkg:otp:2043/0x8f678eb0e57ee8a109b295710e23076fa3a443fe/395445.
[2025-07-29 11:21:50] DEBUG: Getting Assertion with the UAL: did:dkg:otp:2043/0x8f678eb0e57ee8a109b295710e23076fa3a443fe/395446.
[2025-07-29 11:21:50] DEBUG: Getting Assertion with the UAL: did:dkg:otp:2043/0x8f678eb0e57ee8a109b295710e23076fa3a443fe/395447.
[2025-07-29 11:21:50] DEBUG: Getting Assertion with the UAL: did:dkg:otp:2043/0x8f678eb0e57ee8a109b295710e23076fa3a443fe/395448.
[2025-07-29 11:21:50] DEBUG: Getting Assertion with the UAL: did:dkg:otp:2043/0x8f678eb0e57ee8a109b295710e23076fa3a443fe/395449.
[2025-07-29 11:21:50] DEBUG: Getting Assertion with the UAL: did:dkg:otp:2043/0x8f678eb0e57ee8a109b295710e23076fa3a443fe/395450.
[2025-07-29 11:21:50] ERROR: Command error (undefined): Cannot read properties of undefined (reading 'startTokenId')
[2025-07-29 11:21:50] DEBUG: Marking operation id 62cd8f51-0575-4aac-bd7d-832844b3db57 as failed
[2025-07-29 11:21:50] DEBUG: Removing operation id: 62cd8f51-0575-4aac-bd7d-832844b3db57 cached data
[2025-07-29 11:21:50] TRACE: Removing file at path: /root/ot-node/data/operation_id_cache/62cd8f51-0575-4aac-bd7d-832844b3db57
[2025-07-29 11:21:50] DEBUG: File not found at path: /root/ot-node/data/operation_id_cache/62cd8f51-0575-4aac-bd7d-832844b3db57
[2025-07-29 11:21:50] DEBUG: Removing operation id: 62cd8f51-0575-4aac-bd7d-832844b3db57 cached data from memory
[2025-07-29 11:21:50] DEBUG: Sending response from QmQSmxjJL38oT6D8UHoyJzg9zhFmUtteH1uepFUZVUPKgD to QmapSytEE1LaK9kM7PYDeit8qDMYph5LvyaGBxxEYViCr5: protocol: /batch-get/1.0.0, messageType: NACK;
[2025-07-29 11:21:50] TRACE: Session found remotePeerId: QmapSytEE1LaK9kM7PYDeit8qDMYph5LvyaGBxxEYViCr5, operation id: 62cd8f51-0575-4aac-bd7d-832844b3db57
[2025-07-29 11:21:50] TRACE: Removed session for remotePeerId: QmapSytEE1LaK9kM7PYDeit8qDMYph5LvyaGBxxEYViCr5, operationId: 62cd8f51-0575-4aac-bd7d-832844b3db57.
[2025-07-29 11:21:50] TRACE: BatchGetJob with ID 14041, v1_0_0HandleBatchGetRequestCommand has been completed. Duration: 27
[2025-07-29 11:21:50] TRACE: [TripleStoreService.getAssertion EXISTS_CHECK] 62cd8f51-0575-4aac-bd7d-832844b3db57 did:dkg:otp:2043/0x8f678eb0e57ee8a109b295710e23076fa3a443fe/395404 - 80.00ms

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions