You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error from browser extension is captured by Sentry and depleting usage quota #69096
TypeError: 'defineProperty' on proxy: trap returned falsish for property 'request'
at Function.defineProperty(<anonymous>)
at v(app:///js/inject.bundle.js:1:14842)
at ? (app:///js/inject.bundle.js:1:15576)
at ? (app:///js/inject.bundle.js:1:15731)
As you can see from the filename starting with app:/// this is from a chrome extension
Expected Result
Error should be filtered out because from an extension
We can't currently filter this error based purely on the message (it's generic enough that it doesn't always have to come from an extension) and all our filters after the SDK are currently based on the message. We'd have to filter on the stack trace as well, can you post a link to the issue in Sentry or an example error JSON payload so we can take a look and potentially come up with some better filtering?
I was talking to the SDK folk about this and it is unfortunate but we cannot detect that this stack trace is coming from an extension reliably.
The SDK prepends app:/// to aid with source map resolution, the location app:///js/inject.bundle.js could be coming from a <script src="js/inject.bundle.js"> or <script src="https://some-domain-or-cdn/js/inject.bundle.js"> in either case a website could have included this JS on purpose.
The idea came up that you can tell the SDK which JS sources are yours and it would automatically ignore errors coming from other sources, mentioned here: getsentry/sentry-javascript#10882 (comment)
So unfortunately you have no other choice than ignoring the error directly in the SDK using one of the methods mentioned here or using an Inbound Filter.
I'll be closing the issue since there is nothing we can do about it right now. We'll still track this is in the mentioned issue to improve the situation in the future.
Activity
getsantry commentedon Apr 17, 2024
Assigning to @getsentry/support for routing ⏲️
getsantry commentedon Apr 17, 2024
Routing to @getsentry/product-owners-ingestion-and-filtering for triage ⏲️
Dav1dde commentedon Apr 18, 2024
We can't currently filter this error based purely on the message (it's generic enough that it doesn't always have to come from an extension) and all our filters after the SDK are currently based on the message. We'd have to filter on the stack trace as well, can you post a link to the issue in Sentry or an example error JSON payload so we can take a look and potentially come up with some better filtering?
In the meantime you can start manually filtering out these errors, either in the SDK or via
Inbound Filtersin Sentry. We have a blog post summarizing all your options: https://blog.sentry.io/making-your-javascript-projects-less-noisy/remorses commentedon Apr 18, 2024
this is part of the json
Dav1dde commentedon Apr 18, 2024
I was talking to the SDK folk about this and it is unfortunate but we cannot detect that this stack trace is coming from an extension reliably.
The SDK prepends
app:///to aid with source map resolution, the locationapp:///js/inject.bundle.jscould be coming from a<script src="js/inject.bundle.js">or<script src="https://some-domain-or-cdn/js/inject.bundle.js">in either case a website could have included this JS on purpose.The idea came up that you can tell the SDK which JS sources are yours and it would automatically ignore errors coming from other sources, mentioned here: getsentry/sentry-javascript#10882 (comment)
So unfortunately you have no other choice than ignoring the error directly in the SDK using one of the methods mentioned here or using an Inbound Filter.
I'll be closing the issue since there is nothing we can do about it right now. We'll still track this is in the mentioned issue to improve the situation in the future.