Issue
I am receiving a lot of errors from users scraping my page. I see that a lot of the user agents reported on these errors belong to Headless Chrome
Applies To
- Javascript SDK users
Resolution
In your Project Settings, accessed by going to Settings > Projects > <YourProject>, you can configure your Allowed Domain settings to only allow events sent from your specified domains. Allowed Domains work by checking the Origin and Referrer headers of the POST request containing the event payload to Sentry.
The default Allowed Domains setting is
*
, which will allow events from all domains.To filter events from Headless Chrome, please check this article instead.