# Unable to get parties id

**URL:** <https://forum.canton.network/t/unable-to-get-parties-id/4685>\
**Category:** App Development\
**Created:** [June 7, 2022, 9:18am UTC](https://forum.canton.network/t/unable-to-get-parties-id/4685 "2022-06-07T09:18:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rotoo](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/rotoo/32/3905_2.png) [@Rotoo](https://forum.canton.network/u/Rotoo)\
**Post date:** [June 7, 2022, 9:18am UTC](https://forum.canton.network/t/unable-to-get-parties-id/4685/1 "2022-06-07T09:18:54Z")

</div>

Hello Damlers,

I’m trying to start a project and output the parties ids in order to create contracts. I used the below command to start the project, but i don’t get any output file.

> daml start --script-option --output-file=parties.json

[daml.yaml](https://forum.canton.network/uploads/short-url/qnI5eilGtCpxmxiURAf5SwFGgTT.yaml) (376 Bytes)

---

<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:** [June 7, 2022, 9:22am UTC](https://forum.canton.network/t/unable-to-get-parties-id/4685/2 "2022-06-07T09:22:24Z")

</div>

It looks like you did not specify an `init-script` in your `daml.yaml` so no script is being run.

---

<div class="post-metadata">

**Author:** ![Rotoo](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/rotoo/32/3905_2.png) [@Rotoo](https://forum.canton.network/u/Rotoo)\
**Post date:** [June 7, 2022, 10:09am UTC](https://forum.canton.network/t/unable-to-get-parties-id/4685/3 "2022-06-07T10:09:07Z")

</div>

Thank you @cocreature  
Is there a way to do the same thing for the parties that i listed in my daml.yaml file instead of the script.

---

<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:** [June 7, 2022, 10:14am UTC](https://forum.canton.network/t/unable-to-get-parties-id/4685/4 "2022-06-07T10:14:23Z")

</div>

No, I recommend to stop using the parties field and only use init scripts instead.
