Skip to main content

E1002 — Nonce mismatch

PropertyValue
Code1002
SlugE1002
Categoryvalidation (Validation)

What happened

Nonce mismatch.

Why it happened

The transaction nonce does not match the expected value for the sender account. Each account’s nonce increments by 1 after every committed transaction.

How to fix

Fetch the account’s current nonce via the RPC and retry with that value.

Receipt example

{
  "code": 1002,
  "slug": "E1002",
  "category": "validation",
  "what": "Nonce mismatch",
  "fix": "Fetch the account's current nonce via the RPC and retry with that value.",
  "docs_url": "https://docs.cowboy.inc/errors/E1002"
}

All Error Codes

View the complete error code reference