Nexus

indexer 500: "DecodeTxnRowNext() decode err: illegal base64 data"

Short answer: The next pagination token you sent is not one the indexer issued. Bad client input comes back as HTTP 500, which looks like a server fault but is not.

The exact message

error while searching for transaction: DecodeTxnRowNext() decode err: illegal base64 data at input byte 4

Source: GET /v2/transactions?next=garbage, HTTP 500, captured against a public TestNet node on 2026-12-03.

Why it happens

Captured with ?next=garbage: status 500 and the message above. Only tokens from the next-token field of a previous response are valid.

How to fix it

Wording can change between node versions. All API errors · errors.json · transaction errors · SDK errors · costs