# 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:** 5\
**Page:** 1

<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:09am UTC](https://community.dynatrace.com/t/forbidden-access-to-query-internal-dynatrace-data/39259/1 "2023-04-12T07:09:14Z")

</div>

Hi,

I was trying to access Dynatrace’s internal data via Notebook. However, I came across HTTP 403 - Forbidden. I was curious about the root cause behind it as we did not do anything on our end and were still able to access it yesterday.

 ![kwangxi_0-1681283276703.png](https://global.discourse-cdn.com/dynatrace/original/2X/6/63f67716db67cf65a1193f1b1b055c6eef000a88.png)

---

<div class="post-metadata">

**Author:** ![Philipp\_Kastner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/philipp_kastner/32/28797_2.png) [@Philipp\_Kastner](https://community.dynatrace.com/u/Philipp_Kastner)\
**Post date:** [April 12, 2023, 7:24am UTC](https://community.dynatrace.com/t/forbidden-access-to-query-internal-dynatrace-data/39259/2 "2023-04-12T07:24:38Z")

</div>

Hi&nbsp;[@kwangxi](https://community.dynatrace.com/user/58678)

Thanks for the feedback. Could you share the query you tried to execute?

Kind regards, Philipp

---

<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

```

---

<div class="post-metadata">

**Author:** ![Philipp\_Kastner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/philipp_kastner/32/28797_2.png) [@Philipp\_Kastner](https://community.dynatrace.com/u/Philipp_Kastner)\
**Post date:** [April 13, 2023, 8:40am UTC](https://community.dynatrace.com/t/forbidden-access-to-query-internal-dynatrace-data/39259/4 "2023-04-13T08:40:48Z")

</div>

Thanks,&nbsp;[@kwangxi](https://community.dynatrace.com/user/58678)&nbsp;for following up. I believe you’re missing the permission to read entity data.  
You need the

```javascript
storage:entities:read

```

permission to execute the query mentioned above.

There were some recent changes to the permission model in the scope of the preview, I’ll email you a document on this with further details.

Kind regards, Philipp

---

<div class="post-metadata">

**Author:** ![yuesong\_teh](https://avatars.discourse-cdn.com/v4/letter/y/bc8723/32.png) [@yuesong\_teh](https://community.dynatrace.com/u/yuesong_teh)\
**Post date:** [April 13, 2023, 3:45pm UTC](https://community.dynatrace.com/t/forbidden-access-to-query-internal-dynatrace-data/39259/5 "2023-04-13T15:45:46Z")

</div>

Hi&nbsp;[@Philipp\_Kastner](https://community.dynatrace.com/user/38485)

Wondering if we can refer to any release note whenever there is change to permission model?  
For the benefit where in future we can refer and update our policy statements if necessary?

Thanks.  
Regards,  
Teh
