Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/How to resolve "key not found" in Daml Script Export?Forum ↗

How to resolve "key not found" in Daml Script Export?

App Development4 posts144 viewsLast activity Dec 2021
BE
bernhardOP
Dec 2021

How do I solve this problem?

daml ledger export script --all-parties --output ../out --sdk-version 1.18.0
17:05:06.419 [script-export-akka.actor.default-dispatcher-4] INFO  akka.event.slf4j.Slf4jLogger - Slf4jLogger started
java.util.NoSuchElementException: key not found: party-41a9b204
CO
cocreature
Dec 2021

Sounds like a bug, can you share steps to reproduce this or is there more output in the error, e.g., a stacktrace? Not quite sure where it’s falling over.

BE
bernhard
Dec 2021

How do I get a stacktrace?

CO
cocreature
Dec 2021

I thought there might be some in the CLI output by default below the lines you showed here. If there isn’t, then I don’t know of an easy way to get one without code changes

← Back to Discussions