Filter based on breadcrumb data or text within the message

Sentry noob here.

So I have errors coming in that are basically 401, login timeout. They are properly handled on the front end, users are being re-directed to the login page, but I need to ignore them in Sentry. However, Sentry is reporting them in the issue “bucket” as some 500 errors, which I do want.

So, is there a way to filter things out (so they don’t make it into the database) based on breadcrumb data (looking for the 401 status code) or text within the message (401 somewhere in the message)? Thanks

@panman8201 – you would have to perform this filtering yourself, from the client. Take a look at the documentation for your client library / SDK.