Getting CORS Issue With Next Js Application #5638
Replies: 1 comment
-
Please open an issue with https://github.com/getsentry/self-hosted for self-hosted assistance. Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Team,
I am using self hosted sentry latest version and integrating it with next js application using latest sdk(7.11.1), But I am getting 403 CORS issue. Tried couple of options which were suggested as a solution but still facing the issue:
Access to fetch at '/api/3/envelope/?sentry_key=<sentry_key>&sentry_version=7&sentry_client=sentry.javascript.nextjs%2F7.11.1' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
POST /api/3/envelope/?sentry_key=&sentry_version=7&sentry_client=sentry.javascript.nextjs%2F7.11.1 net::ERR_FAILED 403
Can some one please help.
Note: Getting the same issue while integrating android application.
Beta Was this translation helpful? Give feedback.
All reactions