> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cowboy.inc/llms.txt
> Use this file to discover all available pages before exploring further.

# E1412 — Transfer hook exceeded cell cap

> Transfer hook exceeded cell cap

# E1412 — Transfer hook exceeded cell cap

| Property | Value |
| - | - |
| **Code** | `1412` |
| **Slug** | `E1412` |
| **Category** | `gas` (Gas) |
| **CIP** | CIP-20 §Hook Constraints |

## What happened

Transfer hook exceeded cell cap: used \{used} cells, cap \{cap}.

This is the receipt's `what` text, produced by the node's `ExecutionError::TokenHookCellsExceeded`. Placeholders in braces are filled from the failing transaction.

## Why it happened

The node rejected the operation with `E1412` (category `gas`, Gas). The receipt's `why` field carries the specific cause and `context` carries structured details, such as the values that filled the placeholders above.

The normative rule is in CIP-20 §Hook Constraints.

## How to fix

Transfer hook exceeded the 50\_000-cell cap. Reduce state writes in the hook.

## Receipt example

```json theme={null}
{
  "code": 1412,
  "slug": "E1412",
  "category": "gas",
  "what": "transfer hook exceeded cell cap: used {used} cells, cap {cap}",
  "fix": "Transfer hook exceeded the 50_000-cell cap. Reduce state writes in the hook.",
  "docs_url": "https://docs.cowboy.inc/errors/E1412"
}
```

***

> [card] [All Error Codes](https://docs.cowboy.inc/errors/overview.md)
>
> View the complete error code reference


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.