# Unable to download using monaco v2

**URL:** <https://community.dynatrace.com/t/unable-to-download-using-monaco-v2/39408>\
**Category:** Open Q&A\
**Tags:** monaco\
**Created:** [April 21, 2023, 4:15pm UTC](https://community.dynatrace.com/t/unable-to-download-using-monaco-v2/39408 "2023-04-21T16:15:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![DS](https://avatars.discourse-cdn.com/v4/letter/d/49beb7/32.png) [@DS](https://community.dynatrace.com/u/DS)\
**Post date:** [April 21, 2023, 4:15pm UTC](https://community.dynatrace.com/t/unable-to-download-using-monaco-v2/39408/1 "2023-04-21T16:15:44Z")

</div>

Hi, I’m trying to run download using monaco 2.0.0 but it gets hung after the message “INFO Resolving dependencies between configurations”.&nbsp; This generates a really high CPU load on the server this command is run but doesnt progress. Didn’t had any issue when running monaco 1.8.9 on the same server to download. Tried using both with a manifest.yaml file and also by specifying the url option with the same result. Any help is appreciated.

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [April 21, 2023, 4:42pm UTC](https://community.dynatrace.com/t/unable-to-download-using-monaco-v2/39408/2 "2023-04-21T16:42:21Z")

</div>

Hi,

Are you following [this](https://dynatrace.github.io/dynatrace-configuration-as-code/commands/downloading-configuration)?

Could you paste which command are you using to download configuration?

Best regards

---

<div class="post-metadata">

**Author:** ![DS](https://avatars.discourse-cdn.com/v4/letter/d/49beb7/32.png) [@DS](https://community.dynatrace.com/u/DS)\
**Post date:** [April 21, 2023, 6:01pm UTC](https://community.dynatrace.com/t/unable-to-download-using-monaco-v2/39408/3 "2023-04-21T18:01:49Z")

</div>

I’m using monaco version 2(not 1.8.9) for linux. Running the following command(same result whether I export NEW\_CLI or not)

monaco download --url https://{environmentid}.live.dynatrace.com&nbsp;--token dynToken  
and I export my token as&nbsp;dynToken.

(With monaco 1.8.9 I can access and download using the same token. However I was advised to use version 2 by Dyn Support for deployment testings. So trying to get the download working first with v2)

Updated:

I can run the same command successfully if I specify “--only-api” but get stuck if I don’t specify or use “--only-settings”. However with --only-api option it doesnt download all the configuration in Dynatrace.

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [May 1, 2023, 9:18am UTC](https://community.dynatrace.com/t/unable-to-download-using-monaco-v2/39408/4 "2023-05-01T09:18:16Z")

</div>

Hi,

I am using Monaco version 1.8.9 and normally create a “environments.yaml”:

```markup
test:
 - name: "test"
 - env-url: "https://{environmentid}.live.dynatrace.com"
 - env-token-name: "TEST_TOKEN"

```

I set environments variables (in Windows):

- $env:NEW\_CLI=1
- $env:TEST\_TOKEN=“XXXXXXXXXXXXXXX”

And I execute command “monaco download --environments=environments.yaml”. It will download all APIs configuration to that environment.

If you want only a specific environment defined in YAML file or a specific API, you can use these parameters “monaco download -e environments.yaml -s test --specific-api synthetic-monitor”

Best regards
