Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Getting CORS Issue With Next Js Application #5638

Locked Unanswered
guptadeepali39 asked this question in Q&A
Discussion options

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.

You must be logged in to vote

Replies: 1 comment

Comment options

Please open an issue with https://github.com/getsentry/self-hosted for self-hosted assistance. Thanks!

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /