# Forbidden access to query internal Dynatrace data

**URL:** <https://community.dynatrace.com/t/forbidden-access-to-query-internal-dynatrace-data/39259>\
**Category:** Dashboarding\
**Tags:** dql, latest-dynatrace, notebooks\
**Created:** [April 12, 2023, 7:09am UTC](https://community.dynatrace.com/t/forbidden-access-to-query-internal-dynatrace-data/39259 "2023-04-12T07:09:14Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![kwangxi](https://avatars.discourse-cdn.com/v4/letter/k/ccd318/32.png) [@kwangxi](https://community.dynatrace.com/u/kwangxi)\
**Post date:** [April 12, 2023, 7:55am UTC](https://community.dynatrace.com/t/forbidden-access-to-query-internal-dynatrace-data/39259/3 "2023-04-12T07:55:55Z")

</div>

Hi Philipp,

Some are affected, some are not.

Working fine: fetch logs  
Not working fine such as fetch dt.entity.host and my custom query:

```auto
fetch dt.entity.host, timeframe:"2023-03-01T00:00:00Z/2023-04-05T12:00:00Z"
|fieldsAdd osVersion, cpuCores, memory = (memoryTotal/1000/1000000), ipAddress, monitoringMode
|lookup [fetch dt.entity.process_group_instance |fieldsAdd softwareTechnologies, tags |filterOut contains (entityName, "OneAgent") OR contains (entityName, "Linux") OR contains (entityName, "sshd") OR contains (entityName, "Short-live") OR contains (entityName, "master")], sourceField:tags, lookupField:tags

```

---

_[View the full topic](https://community.dynatrace.com/t/forbidden-access-to-query-internal-dynatrace-data/39259)._
