Last updated 26 November 2026. By Paul Badarau.
A fictional yoga studio's site reports TypeError: Cannot read properties of null (reading 'appendChild'). The top frame is in https://widget.chatvendor.example/v3/loader.js. Two frames down is startChat in https://yogastudio.example/assets/main.js. The widget threw, but the studio's code started it before the element it draws into existed, so the fix is in the studio's code.
- Open the issue and read the top frame. Each frame on the issue page keeps the full address of its file, with query values removed. The host tells you who served the code.
- Read down to the first frame on your own host. If you find one, check how your code calls the script: the timing, the arguments, or an element that is not there yet.
- If no frame is on your host, the script failed on its own. Update it, report it to its vendor, or remove it.
- Frames with a
chrome-extension://ormoz-extension://address come from an extension the visitor installed. You cannot fix those. - To stop errors from a script you cannot change, add its address to
denyUrlsinSentry.init, for exampledenyUrls: [/widget\.chatvendor\.example/]. The SDK checks the file of the frame that threw, so in the example it would also drop the error the studio's own code caused.
Two shortcuts mislead. The In app mark does not separate your code from theirs, because the browser SDK marks every browser frame in app. And the culprit line under each row of the Errors list drops the host, so the widget's error shows /v3/loader.js, which can pass for one of your own files. Only the frames on the issue page show the host.
Some third-party errors never reach Monitoring at all. When a script from another host throws and the browser was not allowed to share its details, the page only sees Script error. with no message and no stack, and the browser SDK drops errors with that text by default. To see them, add the crossorigin attribute to that script's tag, and the script's host must send an Access-Control-Allow-Origin header. If the host does not send it, the error stays hidden.
The product page for this is Monitoring.