# Scopes empty decoding the bearer token

**URL:** <https://community.dynatrace.com/t/scopes-empty-decoding-the-bearer-token/54950>\
**Category:** Dynatrace API\
**Tags:** settings, dynatrace-api, tokens\
**Created:** [February 10, 2026, 4:08pm UTC](https://community.dynatrace.com/t/scopes-empty-decoding-the-bearer-token/54950 "2026-02-10T16:08:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MaximilianoML](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/maximilianoml/32/25038_2.png) [@MaximilianoML](https://community.dynatrace.com/u/MaximilianoML)\
**Post date:** [February 10, 2026, 4:08pm UTC](https://community.dynatrace.com/t/scopes-empty-decoding-the-bearer-token/54950/1 "2026-02-10T16:08:31Z")

</div>

Hello guys,

I’m trying to request a Bearer Token via n8n workflow using the oAuth Client, and everything looks good on the Reqs,

For example the response from the oAuth Client is:

```javascript
[ {
"scope": "app-engine:functions:run storage:logs:read mcp-gateway:servers:invoke mcp-gateway:servers:read", 
"token_type": "Bearer",
"expires_in": 300,
"access_token": "eyJhbGciOiJ.RestOfTheToken",
"resource": "urn:dtaccount:numbersHere"
}]

```

The interesting part comes when I try to use the Token, it says that miss some scopes (the ones I sent), and when I decode to check the scopes they’re empty… I already checked the permissions and I also used these credentials before in another tool.

Any ideia?
