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

403 Forbidden Error when using JavaScript code in Synthetic Monitor

vuthayak
Visitor

Hello, as the title suggests, I am running into a "403 - FORBIDDEN" error when executing my synthetic monitor on a JavaScript event. I am using JavaScript to simulate a click on a popup window, as the normal Dynatrace click event does not seem to work, no matter what CSS selectors I provide. I would like to mention that up until a few days ago, the synthetic monitor was working without issues. Additionally, when accessing the site normally, I am able to use the same commands in the Developer Tools console to perform the action with no issues. Does anyone have a solution to this? Thanks.

let btn = document.querySelector("#popup-element")
btn.click()

 

vuthayak_0-1732219136224.png

vuthayak_1-1732219156586.png

 

2 REPLIES 2

HannahM
Dynatrace Leader
Dynatrace Leader

This would be better investigated in a ticket.

Synthetic SME and community advocate.

Peter_Youssef
Champion

Hello @vuthayak 

You can solve it through:

hoping it helps.

BR,

Peter

Featured Posts