let response = null;
try {
response = await pm.execution.runRequest("39434079-01e6cd2a-80e3-4699-80c2-1d2510248aa1");
} catch (err) {
console.error(err);
}
if (response == null) {
console.error(`response == null`);
}
else if (response.code >= 400) {
console.error(`Failed to get access token: ${response.json()}`);
} else {
pm.collectionVariables.set("accessKey", response.json().access);
}
Can you help me understand why does await pm.execution.runRequest triggers infinite times until an error occurs? The console messages are attached. Unfortunately I can't send the full JSON of the logs since they contain sensitive information.