Questions tagged [sentryreact]

6 questions
3
votes
1 answer

How do I fix sentry error 403 on react.js?

I just created my-React-app and after doing npm run start I get the following error: POST https://o104379.ingest.sentry.io/api/5495040/envelope/?sentry_key=31f33ef1a1a74d32a00749c3718b640d&sentry_version=7 403 After I did npm install --save…
Ariana
  • 31
  • 1
  • 3
2
votes
1 answer

How to send all HTTP request errors to the Sentry in a Reactjs app in 2023?

I've developed a react@16.14.0 app, and I want to log every HTTP request error in Sentry. I read the Sentry documentation and used the captureException function of Sentry in the all catch block of my HTTP requests. . . . try { …
S. Hesam
  • 5,266
  • 3
  • 37
  • 59
0
votes
1 answer

Sentry issue not unminifying code with uploaded source maps

I'm working on a ReactJS (create-react-app) project. I do not generate source maps in my production build. But I still want to be able to unminify code for issues in production. In an attempt to achieve this I know create releases and uploade source…
0
votes
0 answers

Sentry absolute path error in node js and express

Sentry error getting this error in sentry if i am using sentry. We've encountered 1 problem un-minifying your applications source code! captureException but not occouring in sentry.captureMessage. is there any way to remove stack frame to get the…
0
votes
1 answer

Auto session replay is not working when using @sentry/react

Auto session replay is not working. getting Uncaught TypeError: e.recordDroppedEvent is not a function error on console I think the above error is causing an issue.. rest my code is Sentry.init({ dsn: process.env.REACT_APP_SENTRY_DSN, environment:…
0
votes
0 answers

Capture POST request body in Sentry React

Is there a way to capture the POST request body in Sentry.io when any request fails? I am using @sentry/react and "@sentry/tracing version ^7.16.0 const onSubmit = async ({foo, bar}: IForm) => { try { await fetch( …
Robson
  • 1,207
  • 3
  • 21
  • 43