Skip to main content

E1738 — Library code parse error

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


All Error Codes

View the complete error code reference