cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

henk_stobbe
DynaMight Champion
DynaMight Champion

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 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

1 REPLY 1

mark_bley
Dynatrace Champion
Dynatrace Champion

You don't need to allow your tenant or authenticate if using the SDK as described here 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.

Featured Posts