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

# E1738 — Library code parse error

> Library code parse error

# E1738 — Library code parse error

| Property | Value |
| - | - |
| **Code** | `1738` |
| **Slug** | `E1738` |
| **Category** | `validation` (Validation) |
| **CIP** | CIP-26 R7 |

## What happened

Library code parse error: \{message}.

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

## Why it happened

The node rejected the operation with `E1738` (category `validation`, Validation). 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 R7.

## How to fix

Fix the library source's syntax error described in the message; it must parse as valid Python AST for deploy-time candidate-import extraction.

## Receipt example

```json theme={null}
{
  "code": 1738,
  "slug": "E1738",
  "category": "validation",
  "what": "library code parse error: {message}",
  "fix": "Fix the library source's syntax error described in the message; it must parse as valid Python AST for deploy-time candidate-import extraction.",
  "docs_url": "https://docs.cowboy.inc/errors/E1738"
}
```

***

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