Skip to main content

E1407 — Mint would exceed max_supply

PropertyValue
Code1407
SlugE1407
Categorytoken (Token (CIP-20))
CIPCIP-20

What happened

Mint would exceed max_supply.

Why it happened

The requested mint amount, when added to the current total supply, exceeds the token’s configured max_supply.

How to fix

Lower the mint amount to stay within max_supply.

Receipt example

{
  "code": 1407,
  "slug": "E1407",
  "category": "token",
  "what": "Mint would exceed max_supply",
  "fix": "Lower the mint amount to stay within `max_supply`.",
  "docs_url": "https://docs.cowboy.inc/errors/E1407"
}

All Error Codes

View the complete error code reference