Skip to content

Timestamp out of range ​

HTTP 401   timestamp_out_of_range

What it means ​

TxG-Timestamp is too far from TxGold's clock: more than 3 minutes ahead, or more than 7 minutes behind.

What to do ​

Check the server's clock (NTP). A retry of an old request can't be resent once it's out of the window: look the payment up instead, as in Idempotency and retries.

The response ​

json
HTTP/1.1 401
Content-Type: application/problem+json

{
  "type": "https://docs.txgold.money/errors/timestamp_out_of_range",
  "title": "Timestamp out of range",
  "status": 401,
  "code": "timestamp_out_of_range",
  "detail": "…",
  "requestId": "7219af94e39d"
}

Branch on code, never on title or detail: the code never changes once published, and the text may. Quote requestId to TxGold support. See all errors.

The SDKs are MIT licensed.