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

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’ (host not in allowlist). To find out about how to manage allowed domains please visit Allow external requests | Dynatrace Developer”
}
}
}

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

You don’t need to allow your tenant or authenticate if using the SDK as described here SDK for TypeScript | Dynatrace Developer

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.