# Error downloading dynatrace configuration using monaco?

**URL:** <https://community.dynatrace.com/t/error-downloading-dynatrace-configuration-using-monaco/30956>\
**Category:** Open Q&A\
**Tags:** monaco, settings\
**Created:** [March 30, 2021, 4:22am UTC](https://community.dynatrace.com/t/error-downloading-dynatrace-configuration-using-monaco/30956 "2021-03-30T04:22:13Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![nakb](https://avatars.discourse-cdn.com/v4/letter/n/8edcca/32.png) [@nakb](https://community.dynatrace.com/u/nakb)\
**Post date:** [March 30, 2021, 4:22am UTC](https://community.dynatrace.com/t/error-downloading-dynatrace-configuration-using-monaco/30956/1 "2021-03-30T04:22:13Z")

</div>

Hi I am using dynatrace SAAS and getting below error while downloading configuration using the _monaco cli._

CLI version - 1.4.0

**Command:**

NEW\_CLI=1 monaco download -e environments.yaml

**Error:**

--- GETTING CONFIGS for application-web  
ERROR Cannot unmarshal API response for existing objects: invalid character ‘\<’ looking for beginning of value  
ERROR error getting client list from api application-web invalid character ‘\<’ looking for beginning of value  
ERROR error getting configs from API application-web %!v(MISSING)

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [June 17, 2021, 9:06pm UTC](https://community.dynatrace.com/t/error-downloading-dynatrace-configuration-using-monaco/30956/2 "2021-06-17T21:06:24Z")

</div>

[@nakb](https://community.dynatrace.com/user/41100)&nbsp;are you still running into download issues? What did you have to do to correct this?

---

<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:** [August 11, 2023, 10:48pm UTC](https://community.dynatrace.com/t/error-downloading-dynatrace-configuration-using-monaco/30956/3 "2023-08-11T22:48:28Z")

</div>

Hi,

Have you try it with Monaco V2?

Best regards

---

<div class="post-metadata">

**Author:** ![Slawa](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@Slawa](https://community.dynatrace.com/u/Slawa)\
**Post date:** [August 12, 2023, 12:05pm UTC](https://community.dynatrace.com/t/error-downloading-dynatrace-configuration-using-monaco/30956/4 "2023-08-12T12:05:10Z")

</div>

[@AntonPineiro](https://community.dynatrace.com/user/58682)&nbsp;  
Maybe because v1 is still default and hardcoded in docs)  
So everyone who wants just to try - will download the old version.  
[https://dynatrace.github.io/dynatrace-configuration-as-code/Get-started/installation](https://dynatrace.github.io/dynatrace-configuration-as-code/Get-started/installation)

 ![Slawa_0-1691841741906.png](https://global.discourse-cdn.com/dynatrace/original/2X/3/3cf77b2c46f2d176ffda288350a3f7a0c91e2a0c.jpeg)

---

<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:** [August 12, 2023, 4:58pm UTC](https://community.dynatrace.com/t/error-downloading-dynatrace-configuration-using-monaco/30956/5 "2023-08-12T16:58:25Z")

</div>

Hi,

I use Monaco V2 normally I have never got similar issue.

Best regards

---

<div class="post-metadata">

**Author:** ![Raj](https://avatars.discourse-cdn.com/v4/letter/r/c0e974/32.png) [@Raj](https://community.dynatrace.com/u/Raj)\
**Post date:** [November 17, 2023, 10:38am UTC](https://community.dynatrace.com/t/error-downloading-dynatrace-configuration-using-monaco/30956/6 "2023-11-17T10:38:46Z")

</div>

Hello&nbsp;[@AntonPineiro](https://community.dynatrace.com/user/58682)&nbsp;I am using Monaco v2.9.2 but still getting error when deploying configuration:

Error we got in the logs is below ( **Environment Name is hidden on purpose as its client information** 😞

2023-11-16T16:35:40+01:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; info&nbsp;&nbsp;&nbsp; Loading manifest “/learn-monaco-auto-tag/manifest.yaml”. Restrictions: groups=[], environments=[]  
2023-11-16T16:35:41+01:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; error&nbsp;&nbsp; Could not connect to environment “development-environment” (https://{environmentid}.live.dynatrace.com😞&nbsp;failed to query version of Dynatrace environment: HTTP request failed: Get “https://{environmentid}/live.dynatrace.com/api/v1/config/clusterversion” data-saferedirecturl=“https://{environmentid}/live.dynatrace.com/api/v1/config/clusterversion&source=gmail&ust=1700302975691000&usg=AOvVaw2HOyOiXPcGuJZpFAUGtV21” target=\_blank\>[live.dynatrace.com/api/v1/config/clusterversion](http://live.dynatrace.com/api/v1/config/clusterversion)": proxyconnect tcp: dial tcp: lookup http on&nbsp;0.0.0.0:53: no such host&nbsp;(0.0.0.0 is replaced IP as original one is client DNS IP)  
2023-11-16T16:35:41+01:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; error&nbsp;&nbsp; Please verify that this environment is a Dynatrace Classic environment.  
2023-11-16T16:35:41+01:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; error&nbsp;&nbsp; Error: unable to verify Dynatrace environment generation

---

<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:** [November 17, 2023, 4:53pm UTC](https://community.dynatrace.com/t/error-downloading-dynatrace-configuration-using-monaco/30956/7 "2023-11-17T16:53:17Z")

</div>

Hi,

You need to change placeholder “{environmentid}” for your tenant id.

Best regards

---

<div class="post-metadata">

**Author:** ![Raj](https://avatars.discourse-cdn.com/v4/letter/r/c0e974/32.png) [@Raj](https://community.dynatrace.com/u/Raj)\
**Post date:** [November 20, 2023, 6:58am UTC](https://community.dynatrace.com/t/error-downloading-dynatrace-configuration-using-monaco/30956/8 "2023-11-20T06:58:32Z")

</div>

I already did that, I did not paste environment ID here due to security reasons. But its still failing with same error.

Since the server where we are deploying Monaco is in client network so do we need additional ports/URLs which needs to be opened for this to work?

---

<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:** [November 20, 2023, 5:44pm UTC](https://community.dynatrace.com/t/error-downloading-dynatrace-configuration-using-monaco/30956/9 "2023-11-20T17:44:44Z")

</div>

Hi,

You should be able to reach Dynatrace tenant APIs.

Looks like you cannot reach it.

Best regards

---

<div class="post-metadata">

**Author:** ![Raj](https://avatars.discourse-cdn.com/v4/letter/r/c0e974/32.png) [@Raj](https://community.dynatrace.com/u/Raj)\
**Post date:** [November 22, 2023, 7:33am UTC](https://community.dynatrace.com/t/error-downloading-dynatrace-configuration-using-monaco/30956/10 "2023-11-22T07:33:08Z")

</div>

Yes we are able to reach Dynatrace tenant APIs when we use curl but I dont know why Monaco is sending this error.

We have raised case which vendor has moved from P2 to P3 and its been 2 days since we received a reply. Dont know how to proceed with this now.

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [November 22, 2023, 8:25am UTC](https://community.dynatrace.com/t/error-downloading-dynatrace-configuration-using-monaco/30956/11 "2023-11-22T08:25:56Z")

</div>

[@Raj](https://community.dynatrace.com/user/46482)&nbsp; are you sure your URL is correct? I see some extra slash there:

https://{environmentid}\*\*/\*\*[live.dynatrace.com/api/v1/config/clusterversion](http://live.dynatrace.com/api/v1/config/clusterversion)

Also are you using HTTP proxy? If so, is there any chance your proxy is blocking some requests?

---

<div class="post-metadata">

**Author:** ![Raj](https://avatars.discourse-cdn.com/v4/letter/r/c0e974/32.png) [@Raj](https://community.dynatrace.com/u/Raj)\
**Post date:** [November 22, 2023, 8:50am UTC](https://community.dynatrace.com/t/error-downloading-dynatrace-configuration-using-monaco/30956/12 "2023-11-22T08:50:06Z")

</div>

Yes&nbsp;[@Julius\_Loman](https://community.dynatrace.com/user/3364)&nbsp;we have double checked and its correct. The extra slash pasted due to hiding the environment tenant name while pasting here. The error URL which Monaco gave - we used same to hit a curl and it was successful.

We are using HTTP proxy and exported it as well as tried to pass proxy in same command line while trying to deploy configuration but everytime it gives same error

“proxyconnect tcp: dial tcp: lookup http on&nbsp;0.0.0.0:53: no such host&nbsp;(0.0.0.0 is replaced IP as original one is client DNS IP)  
2023-11-16T16:35:41+01:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; error&nbsp;&nbsp; Please verify that this environment is a Dynatrace Classic environment.  
2023-11-16T16:35:41+01:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; error&nbsp;&nbsp; Error: unable to verify Dynatrace environment generation”

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [November 22, 2023, 10:46am UTC](https://community.dynatrace.com/t/error-downloading-dynatrace-configuration-using-monaco/30956/13 "2023-11-22T10:46:13Z")

</div>

Does your proxy require authentication?

---

<div class="post-metadata">

**Author:** ![Raj](https://avatars.discourse-cdn.com/v4/letter/r/c0e974/32.png) [@Raj](https://community.dynatrace.com/u/Raj)\
**Post date:** [November 22, 2023, 11:17am UTC](https://community.dynatrace.com/t/error-downloading-dynatrace-configuration-using-monaco/30956/14 "2023-11-22T11:17:17Z")

</div>

Yes it does and credentials are passed as well during command run.&nbsp;😑

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [November 22, 2023, 11:30am UTC](https://community.dynatrace.com/t/error-downloading-dynatrace-configuration-using-monaco/30956/15 "2023-11-22T11:30:50Z")

</div>

Try to encode any special character in your username and password in the exported HTTPS\_PROXY using url encoding.

---

<div class="post-metadata">

**Author:** ![p\_devulapalli](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/p_devulapalli/32/41590_2.png) [@p\_devulapalli](https://community.dynatrace.com/u/p_devulapalli)\
**Post date:** [May 5, 2025, 3:28am UTC](https://community.dynatrace.com/t/error-downloading-dynatrace-configuration-using-monaco/30956/16 "2025-05-05T03:28:45Z")

</div>

[@Raj](https://community.dynatrace.com/user/46482)&nbsp;I know this is a very old thread, but did you manage to get your issue sorted ? I have a similar issue happening on my side

---

<div class="post-metadata">

**Author:** ![Raj](https://avatars.discourse-cdn.com/v4/letter/r/c0e974/32.png) [@Raj](https://community.dynatrace.com/u/Raj)\
**Post date:** [May 5, 2025, 7:17am UTC](https://community.dynatrace.com/t/error-downloading-dynatrace-configuration-using-monaco/30956/17 "2025-05-05T07:17:33Z")

</div>

Hi&nbsp;[@p\_devulapalli](https://community.dynatrace.com/user/21657)&nbsp;, use the latest Monaco bits available and it fixes the issue. That what helped me in my case.
