> ## 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.

# E1736 — Library cap exceeded

> Library cap exceeded

# E1736 — Library cap exceeded

| Property | Value |
| - | - |
| **Code** | `1736` |
| **Slug** | `E1736` |
| **Category** | `gas` (Gas) |
| **CIP** | CIP-26 R14 |

## What happened

Library cap exceeded: kind=\{kind}, observed=\{observed}, cap=\{cap}.

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

## Why it happened

The node rejected the operation with `E1736` (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-26 R14.

## How to fix

Reduce the deploy's resolved library pin set — fewer distinct libraries if kind=Count, or less total imported code if kind=Bytes — to fit under the CIP-26 R14 cap.

## Receipt example

```json theme={null}
{
  "code": 1736,
  "slug": "E1736",
  "category": "gas",
  "what": "library cap exceeded: kind={kind}, observed={observed}, cap={cap}",
  "fix": "Reduce the deploy's resolved library pin set — fewer distinct libraries if kind=Count, or less total imported code if kind=Bytes — to fit under the CIP-26 R14 cap.",
  "docs_url": "https://docs.cowboy.inc/errors/E1736"
}
```

***

> [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.