Nexus

indexer 400: "Invalid format for parameter after-time"

Short answer: The time filter must be RFC 3339 or a plain date, not a word like "yesterday".

The exact message

Invalid format for parameter after-time: error parsing 'yesterday' as RFC3339 or 2006-01-02 time: parsing time "yesterday" as "2006-01-02": cannot parse "yesterday" as "2006"

Source: GET /v2/transactions?after-time=yesterday, HTTP 400, captured against a public TestNet node on 2026-12-03.

Why it happens

Captured with ?after-time=yesterday. The message says it accepts "RFC3339 or 2006-01-02" formats.

How to fix it

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