Skip to main content

E1404 — Insufficient token allowance

PropertyValue
Code1404
SlugE1404
Categorytoken (Token (CIP-20))
CIPCIP-20

What happened

Insufficient token allowance.

Why it happened

The spender’s allowance is less than the transfer_from amount.

How to fix

Call token_approve to raise the allowance before calling token_transfer_from.

Receipt example

{
  "code": 1404,
  "slug": "E1404",
  "category": "token",
  "what": "Insufficient token allowance",
  "fix": "Call `token_approve` to raise the allowance before calling `token_transfer_from`.",
  "docs_url": "https://docs.cowboy.inc/errors/E1404"
}

All Error Codes

View the complete error code reference