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

code:540 "Execution crash"

dineshk
Newcomer
when i run this im getting the error.
 

import { settingsObjectsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await settingsObjectsClient.deleteSettingsObjectByObjectId(
{ objectId: "vu9U3hXa3q0AAAABACpidWlsdGluOmxvZ21vbml0b3JpbmcubG9nLXN0b3JhZ2Utc2V0dGluZ3MABEhPU1QAEDU4RTU2QkE0Qzc0MDczNEQAJGNhNWRmODJjLTBhN2EtM2JkYS05ZTFlLTljOWY3MmE4YzQxZL7vVN4V2t6t" },
);


Error;
======
Execution crashed.
Details
 
{
"error": {
"code": 540,
"message": "Execution crashed.",
"details": {
"logs": "",
"type": "UNCAUGHT_EXCEPTION",
"message": "Uncaught (in promise) 404: No value found for 'builtin:logmonitoring.log-storage-settings'",
"details": {
"lineNumber": 31837,
"startColumn": 19,
"stack": "404: No value found for 'builtin:logmonitoring.log-storage-settings'\n at SettingsObjectsClient.deleteSettingsObjectByObjectId (file:///opt/sdk_modules/@dynatrace-sdk/client-classic-environment-v2/esm/index.js:31837:19)\n at eventLoopTick (ext:core/01_core.js:169:7)\n at async file:///script.ts:4:3"
}
}
}
}
1 REPLY 1

p_devulapalli
Helper

Are you trying this on managed or SaaS? I think you might still be using the old logs configuration page which is not a 2.0 setting

Featured Posts