Sentry-javascript: 403 (FORBIDDEN): Event dropped due to filter, on basic use case

Created on 31 Oct 2017  路  5Comments  路  Source: getsentry/sentry-javascript

Entering this in the console:

        Raven.config('https://<key>@sentry.io/<key>').install()
        try{
          throw new Error('test');
        } catch(err){
          console.log('err', err);
          Raven.captureException(err);
        }

returns:

screen shot 2017-10-31 at 2 35 07 pm

(with the reponse message being Event dropped due to filter)

Versions:

  • "raven": "2.2.1",
  • "raven-js": "^3.19.1",

I had initially reported it here

Most helpful comment

I had the same issue today. In case someone can't figure it out you have you add localhost to "Allowed Domains". I'd suggest removing it as soon as you end testing ;)

image

All 5 comments

After many experiments I have found that this happens when Header > Referer is http://localhost:*

@PedroEsperanca this is solved right? If not, please feel free to reopen.

I had the same issue today. In case someone can't figure it out you have you add localhost to "Allowed Domains". I'd suggest removing it as soon as you end testing ;)

image

I had the same issue today. In case someone can't figure it out you have you add localhost to "Allowed Domains". I'd suggest removing it as soon as you end testing ;)

I've wasted so much time trying to understand what went wrong while debugging on my machine...

Would be great if this was added by default :)

@metju90 you can post this request in the main Sentry repo where this setting is set :)
https://github.com/getsentry/sentry

Was this page helpful?
0 / 5 - 0 ratings