Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Errors

Protocol and integration errors seen in operation, with the cause and the fix.

SymptomCauseFix
null pointer passed to rustA main-thread WASM object passed to the worker clientPass hex strings into every client method
expected instance of X or eTwo WASM copies in the bundle, or a cross-instance objectForce one copy with Vite resolve.dedupe; build all objects from one module
procedure with root digest ... could not be foundThe client minor is behind the nodeBump every @miden-sdk/* and miden-node-proto pin to the node’s version
no account header record found for given IDThe account is not in the local store, or the handle is staleImport the account; pass strings
could not interpret input as a bech32-encoded account id ... invalid checksumA bare hex id failed the hex test and was parsed as bech32Test with /^(?:0x)?[0-9a-f]+$/i, or prefix 0x
Empty-vault assertion on a faucet mint or deployA fresh account pays its own feeFund with a note and consume it as the first transaction
ERR_NETWORK_ACCOUNT_TRANSACTION_HAS_NO_EFFECTAn empty scriptless deploy of a network accountDeploy by consuming a funding note
advice stack read failed on a multisigA two-word fee-conversion preimage where three words are readBuild the three-word MultisigAuthArgs
account's ... component reuses the fee conversion salt ...No salt declared for a multisigDeclare a fresh salt, or the full MultisigAuthArgs
storage root not found ... slot ... blockDeclaring specific storage slots on a public foreign accountUse empty storage requirements; a public target resolves lazily
SummaryAnchorMismatchError ...The wallet captures a chain anchor at its own sync height while a 0.17 multisig summary binds the request’s bound blockSync the wallet immediately before the build. Retry rebuilds the request at a fresh tip
private account ... cannot be retrievedImporting a private accountPrivate accounts are not importable
invalid amount: 250,000An amount parser rejects grouping commas while a formatter emits themStrip commas in the parser
Cannot access 'x' before initializationA render helper runs before a const or let it reads is initializedDeclare the variable above the first call
Cannot read properties of undefined (reading 'includes')Module code runs before a const declared laterMove the bootstrap call to the end of the module

Rule

A protocol rejection names a violated invariant. Resubmitting until the error stops hides the cause and turns a deterministic defect into an intermittent one. Change the code so the invariant holds on the first attempt.