# Failed to generate download token

**URL:** <https://community.dynatrace.com/t/failed-to-generate-download-token/48575>\
**Category:** Open Q&A\
**Tags:** activegate, tokens\
**Created:** [October 27, 2024, 3:34am UTC](https://community.dynatrace.com/t/failed-to-generate-download-token/48575 "2024-10-27T03:34:35Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![blade](https://avatars.discourse-cdn.com/v4/letter/b/edb3f5/32.png) [@blade](https://community.dynatrace.com/u/blade)\
**Post date:** [October 27, 2024, 3:34am UTC](https://community.dynatrace.com/t/failed-to-generate-download-token/48575/1 "2024-10-27T03:34:35Z")

</div>

We are trying to install an Activegate and noticed that the installation setup has changed.

1. We opened the Hub and looked for Activegate.

2. After finding the installer, we were taken to a different UI, which no longer has the typical black background.

3. We click on setup, and when we click on the generate token, we get this error: “Failed to generate download token.”

Is this a new activegate setup? How can I get that token working?

---

<div class="post-metadata">

**Author:** ![MostafaHussein](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mostafahussein/32/2785_2.png) [@MostafaHussein](https://community.dynatrace.com/u/MostafaHussein)\
**Post date:** [October 27, 2024, 3:59am UTC](https://community.dynatrace.com/t/failed-to-generate-download-token/48575/2 "2024-10-27T03:59:45Z")

</div>

try to open “Access Token” from the navigation menu and generate it manually and select `InstallerDownload` scope.

 ![MostafaHussein_0-1730001529852.png](https://global.discourse-cdn.com/dynatrace/original/3X/1/4/14741f3c80a75c1779c5f1e73a6ef2f31bf716a1.png)

BR,  
Mostafa Hussein.

---

<div class="post-metadata">

**Author:** ![blade](https://avatars.discourse-cdn.com/v4/letter/b/edb3f5/32.png) [@blade](https://community.dynatrace.com/u/blade)\
**Post date:** [October 27, 2024, 4:46am UTC](https://community.dynatrace.com/t/failed-to-generate-download-token/48575/3 "2024-10-27T04:46:20Z")

</div>

How do I get to that navigation menu? I’m sorry. I’m still trying to familiarize myself with where to find stuff in Dynatrace.

---

<div class="post-metadata">

**Author:** ![MostafaHussein](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mostafahussein/32/2785_2.png) [@MostafaHussein](https://community.dynatrace.com/u/MostafaHussein)\
**Post date:** [October 27, 2024, 9:36am UTC](https://community.dynatrace.com/t/failed-to-generate-download-token/48575/4 "2024-10-27T09:36:21Z")

</div>

in old view of Dynatrace it looks like the below screenshot

 ![MostafaHussein_0-1730021851343.png](https://global.discourse-cdn.com/dynatrace/original/2X/3/39f7d731be56362829787ca2c6ab3575ee609cbe.png)

and this is the view in new Dynatrace UI

 ![MostafaHussein_1-1730021958689.png](https://global.discourse-cdn.com/dynatrace/original/2X/9/9ee7cd02f01ffc9ce25af9edc7642568febf1b0b.png)

BR,  
Mostafa Hussein.

---

<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:** [October 27, 2024, 9:59pm UTC](https://community.dynatrace.com/t/failed-to-generate-download-token/48575/5 "2024-10-27T21:59:34Z")

</div>

Hi&nbsp;[@blade](https://community.dynatrace.com/user/79229)&nbsp;, If you are getting the&nbsp;“Failed to generate download token.”, it could also be because of the user permissions . Please check if you have the needed permissions to generate an access token and download active gate

> **[Install an Environment ActiveGate on Linux](https://docs.dynatrace.com/docs/ingest-from/dynatrace-activegate/installation/linux/linux-install-an-environment-activegate)**
>
> Read the step-by-step procedure for installing an Environment ActiveGate on Linux.

Also, if you want to use the old black background screen when installing active gate look for the " Deploy ActiveGate" and try navigating from there , you will be taken to a familiar old screen to install ActiveGate.

Looks like&nbsp; you are navigating from Hub which is a new interface

 ![p_devulapalli_0-1730066192050.png](https://global.discourse-cdn.com/dynatrace/original/2X/6/6809278cd167761c93f12b0948ac52464393f4b1.png)

---

<div class="post-metadata">

**Author:** ![Fin\_Ubels](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/fin_ubels/32/18008_2.png) [@Fin\_Ubels](https://community.dynatrace.com/u/Fin_Ubels)\
**Post date:** [October 27, 2024, 11:47pm UTC](https://community.dynatrace.com/t/failed-to-generate-download-token/48575/6 "2024-10-27T23:47:31Z")

</div>

Hey&nbsp;[@blade](https://community.dynatrace.com/user/79229)

This seems like it could be a permissions issue. Double check that you have the required permissions for the “Discovery and Coverage” app which is where it has taken you. To see what permissions are required for any app you can search for the app in the hub just like you searched for the activegate deployment. Once on the page for the app, under the “Technical information” tab you should find the permissions required and a description for why they are. As seen below, for creating deployment tokens the “environment-api:api-tokens:write” permission is required.

 ![Fin_Ubels_0-1730072276200.png](https://global.discourse-cdn.com/dynatrace/original/2X/d/d708a9bfdde6f3b224084e00e983e614a173f19f.png)

---

<div class="post-metadata">

**Author:** ![Peter\_Youssef](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/peter_youssef/32/14668_2.png) [@Peter\_Youssef](https://community.dynatrace.com/u/Peter_Youssef)\
**Post date:** [October 28, 2024, 9:31am UTC](https://community.dynatrace.com/t/failed-to-generate-download-token/48575/7 "2024-10-28T09:31:49Z")

</div>

Hello&nbsp;[@blade](https://community.dynatrace.com/user/79229)

In case of Dynatrace managed deployments to generate a token you should have either one of the following permissions:

1. **Cluster admin permissio** n : gives you full capability to control the managed setup entirely means cluster and Monitoring tenants “as per the current situation, you don’t have such privilege”.

2. The next point “Environment Permissions” as follows:

 ![2024-10-28_13h24_10.png](https://global.discourse-cdn.com/dynatrace/original/2X/5/5168275e76c3d2c9cfbe486f97a6b2a4713f731e.png)

- then you can create a token without any error messages.
- so it’s good to verify the granted user permission to your account.

KR,

Peter.

---

<div class="post-metadata">

**Author:** ![blade](https://avatars.discourse-cdn.com/v4/letter/b/edb3f5/32.png) [@blade](https://community.dynatrace.com/u/blade)\
**Post date:** [October 30, 2024, 1:07pm UTC](https://community.dynatrace.com/t/failed-to-generate-download-token/48575/8 "2024-10-30T13:07:54Z")

</div>

I appreciate your input and suggestions and explored them all.

The specific solution to my issue was going to the Account management\Identity and access managemen\Groups.

I modified each group to add that specific environment. The Dynatrace post sales team provided me with this solution.

Thank you!

---

<div class="post-metadata">

**Author:** ![adam\_gardner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/adam_gardner/32/20087_2.png) [@adam\_gardner](https://community.dynatrace.com/u/adam_gardner)\
**Post date:** [October 31, 2024, 5:43am UTC](https://community.dynatrace.com/t/failed-to-generate-download-token/48575/9 "2024-10-31T05:43:47Z")

</div>

Access tokens **not** Personal access tokens
