# Couldn't find package while looking for template or interface

**URL:** https://forum.canton.network/t/couldnt-find-package-while-looking-for-template-or-interface/7047
**Category:** App Development
**Tags:** daml, canton
**Created:** [January 19, 2024, 3:22pm UTC](https://forum.canton.network/t/couldnt-find-package-while-looking-for-template-or-interface/7047 "2024-01-19T15:22:13Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![issam.alazzoni](https://avatars.discourse-cdn.com/v4/letter/i/919ad9/32.png) [@issam.alazzoni](https://forum.canton.network/u/issam.alazzoni)
#### Post date: [January 19, 2024, 3:22pm UTC](https://forum.canton.network/t/couldnt-find-package-while-looking-for-template-or-interface/7047/1 "2024-01-19T15:22:13Z")

</div>

I have followed the tutorial on DAML Script ([Daml Script — Daml SDK 2.8.0 documentation](https://docs.daml.com/daml-script/index.html))  
When entering the command indicated in the tutorial:  
`daml script --dar .daml/dist/script-example-0.0.1.dar --script-name ScriptExample:test --ledger-host localhost --ledger-port 6865`

I keep getting the exception Couldn’t find package while looking for template or interface …ScriptExample:CoinProposal

It seems that the template CoinProposal cannot be found! I have used started a Canton ledger using the command daml sandbox. I have built the project as specified.

Any help is appreciated.

---

<div class="post-metadata">

### Author: ![a\_putkov](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/a_putkov/32/2971_2.png) [@a\_putkov](https://forum.canton.network/u/a_putkov)
#### Post date: [January 22, 2024, 8:23pm UTC](https://forum.canton.network/t/couldnt-find-package-while-looking-for-template-or-interface/7047/2 "2024-01-22T20:23:12Z")

</div>

The error message indicates that the package you built is not available on the ledger. Did you upload the script-example-0.0.1.dar file to the Sandbox? When starting the Sandbox you need to use the command that also uploads the dar file to the ledger: `daml sandbox --dar .daml/dist/script-example-0.0.1.dar`

---

<div class="post-metadata">

### Author: ![issam.alazzoni](https://avatars.discourse-cdn.com/v4/letter/i/919ad9/32.png) [@issam.alazzoni](https://forum.canton.network/u/issam.alazzoni)
#### Post date: [January 23, 2024, 6:57am UTC](https://forum.canton.network/t/couldnt-find-package-while-looking-for-template-or-interface/7047/3 "2024-01-23T06:57:45Z")

</div>

Thank you Alex. This has solved my problem.
