# Running local script, what do I add to the allow list"?

**URL:** <https://community.dynatrace.com/t/running-local-script-what-do-i-add-to-the-allow-list/45618>\
**Category:** Dynatrace API\
**Tags:** dynatrace-api\
**Created:** [May 16, 2024, 12:07pm UTC](https://community.dynatrace.com/t/running-local-script-what-do-i-add-to-the-allow-list/45618 "2024-05-16T12:07:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![henk\_stobbe](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/henk_stobbe/32/30434_2.png) [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Post date:** [May 16, 2024, 12:07pm UTC](https://community.dynatrace.com/t/running-local-script-what-do-i-add-to-the-allow-list/45618/1 "2024-05-16T12:07:15Z")

</div>

Hi all,

Look at below error:

{  
“error”: {  
“code”: 541,  
“message”: “Execution crashed.”,  
“details”: {  
“logs”: “”,  
“type”: “ILLEGAL\_FETCH”,  
“message”: “Uncaught (in promise) Error: Blocked request to ‘[secret.live.dynatrace.com](http://secret.live.dynatrace.com)’ (host not in allowlist). To find out about how to manage allowed domains please visit [Allow external requests | Dynatrace Developer](https://dt-url.net/allow-outbound-connections)”  
}  
}  
}

Maybe a stupid question, bur as this script is running on the environment in a dashboard/notebook, how do I allow myself (-;

Do I just allow “secret”

KR Henk

---

<div class="post-metadata">

**Author:** ![mark\_bley](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mark_bley/32/20954_2.png) [@mark\_bley](https://community.dynatrace.com/u/mark_bley)\
**Post date:** [May 31, 2024, 7:38am UTC](https://community.dynatrace.com/t/running-local-script-what-do-i-add-to-the-allow-list/45618/2 "2024-05-31T07:38:15Z")

</div>

You don’t need to allow your tenant or authenticate if using the SDK as described here&nbsp;[SDK for TypeScript | Dynatrace Developer](https://developer.dynatrace.com/reference/sdks/)

It will get your users permissions and you will be able to interact with all the REST endpoints from _within Dynatrace_.

You will only need to allow external endpoints/services if you want to interact with those.
