# Unknown option --ledgerid

**URL:** <https://forum.canton.network/t/unknown-option-ledgerid/4413>\
**Category:** App Development\
**Tags:** features and bugs\
**Created:** [April 25, 2022, 1:21pm UTC](https://forum.canton.network/t/unknown-option-ledgerid/4413 "2022-04-25T13:21:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![cocreature](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/cocreature/32/36_2.png) [@cocreature](https://forum.canton.network/u/cocreature)\
**Post date:** [April 25, 2022, 1:56pm UTC](https://forum.canton.network/t/unknown-option-ledgerid/4413/2 "2022-04-25T13:56:15Z")

</div>

Hey @TanguyLauc, the Sandbox in SDK 2.x is based on Canton which sets the ledger id to the participant id rather than letting you configure it separately, see [Canton: how to set participant's ledger id - #3 by Ratko\_Veprek](https://discuss.daml.com/t/canton-how-to-set-participants-ledger-id/3891/3).

As described in [Daml Sandbox — Daml SDK 2.1.1 documentation](https://docs.daml.com/tools/sandbox.html#daml-sandbox) the participant used when you spawn `daml sandbox` is called `sandbox` so that will also be your ledger id.

Do you have a specific reason why you’re trying to change the ledger id?

---

_[View the full topic](https://forum.canton.network/t/unknown-option-ledgerid/4413)._
