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
I am working with "@sentry/react": "^5.20.1" and Next JS ("next": "^9.4.4").
I am working with the default configuration for React:
import * as Sentry from '@sentry/react'
.......
Sentry.init({
dsn:
'https://457703580b544d42a015013b0ef5436f@o429772.ingest.sentry.io/5377002',
})
Some errors are logged ok in Sentry, however when I tried, for example, to throw an error like throw new Error('testing Sentry!'), I get the response: 413 Request Entity Too Large.
Reacted by Michael D, Björn S. von Ubisch and Dmytro Chumak
In my case, it sends too many breadcrumbs with the category 'console' so the error object serialized to a string was greater than the maximum size.
Reacted by Michael D, Adithya Reddy, Björn S. von Ubisch, repl-sarath, balarayen-blippar, Kaat, Roshan Choxi, Abdalla Abdelnasser, Daniel Vilela, Kunal Gupta and 2 more
This is absurd, that it would drop the reports altogether, SILENTLY.
Reacted by Yuichi Yogo, Mikhail P, Fego Ahia, Finlay Smith, Francis Pérez Padilla, Daniel Vilela, Edward Goubely, Jeffrey Biles, AndreKR, Tal Peretz and 8 more
Activity
davidpaley commentedon Aug 5, 2020
Ok, I could resolve this filtering the different breadcrumbs of the object it sends to entry:
In my case, it sends too many breadcrumbs with the category 'console' so the error object serialized to a string was greater than the maximum size.
avalanche1 commentedon Dec 12, 2021
This is absurd, that it would drop the reports altogether, SILENTLY.
andirsun commentedon Jan 9, 2023
For me was to reduce
normalizeDepthfrom 10 to 3 (default value for next js).Before
After