# Problem with ActiveGate token

**URL:** <https://community.dynatrace.com/t/problem-with-activegate-token/42905>\
**Category:** Troubleshooting\
**Tags:** kubernetes\
**Created:** [December 6, 2023, 9:50am UTC](https://community.dynatrace.com/t/problem-with-activegate-token/42905 "2023-12-06T09:50:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![darynakovyrina](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/darynakovyrina/32/30846_2.png) [@darynakovyrina](https://community.dynatrace.com/u/darynakovyrina)\
**Post date:** [December 6, 2023, 9:50am UTC](https://community.dynatrace.com/t/problem-with-activegate-token/42905/1 "2023-12-06T09:50:00Z")

</div>

**Example error on the ActiveGate deployment status page:**

`Problem with ActiveGate token (reason:Absent)`

**Example error on Dynatrace Operator logs:**

```auto
{"level":"info","ts":"2022-09-22T06:49:17.351Z","logger":"dynakube-controller","msg":"reconciling DynaKube","namespace":"dynatrace","name":"dynakube"}
{"level":"info","ts":"2022-09-22T06:49:17.502Z","logger":"dynakube-controller","msg":"problem with token detected","dynakube":"dynakube","token":"APIToken","msg":"Token on secret dynatrace:dynakube missing scopes [activeGateTokenManagement.create]"}

```

**Example error on DynaKube status:**

```auto
status:
    ...
    conditions:
    - message: Token on secret dynatrace:dynakube missing scopes [activeGateTokenManagement.create]
      reason: TokenScopeMissing
      status: "False"
      type: APIToken

```

Starting with Dynatrace Operator version 0.9.0, Dynatrace Operator handles the ActiveGate token by default. If you’re getting one of these errors, follow the instructions below, according to your Dynatrace Operator version.

- For **Dynatrace Operator versions earlier than 0.7.0** : you need to upgrade to the latest Dynatrace Operator version.
- For **Dynatrace Operator version 0.7.0 or later, but earlier than version 0.9.0** : you need to create a new access token. For instructions, see [Tokens and permissions required: Dynatrace Operator token](https://docs.dynatrace.com/docs/setup-and-configuration/setup-on-k8s/installation/tokens-permissions).

---

<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:** [December 6, 2023, 1:03pm UTC](https://community.dynatrace.com/t/problem-with-activegate-token/42905/2 "2023-12-06T13:03:50Z")

</div>

Thank you for Sharing this&nbsp;[@darynakovyrina](https://community.dynatrace.com/user/48950)&nbsp;!
