Skip to content

AngularJS bundle throws 403 for 7.0.0 #5216

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks done
abhishek1234321 opened this issue Jun 7, 2022 · 4 comments · Fixed by getsentry/sentry-docs#5123
Closed
3 tasks done

AngularJS bundle throws 403 for 7.0.0 #5216

abhishek1234321 opened this issue Jun 7, 2022 · 4 comments · Fixed by getsentry/sentry-docs#5123

Comments

@abhishek1234321
Copy link

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which package are you using?

@sentry/browser

SDK Version

7.0.0

Framework Version

1.8.x

Link to Sentry event

No response

Steps to Reproduce

I am trying to upgrade Sentry SDK from 6.15.0 to 7.0.0 and this file https://browser.sentry-cdn.com/7.0.0/angular.min.js is throwing 403

Expected Result

File should be downloadable

Actual Result

Screenshot 2022-06-07 at 4 27 51 PM

@lforst
Copy link
Contributor

lforst commented Jun 7, 2022

Hi, thanks for writing in! We discontinued the angular integration with v7. Please use the @sentry/angular standalone package and see the migration guide for more information.

@abhishek1234321
Copy link
Author

ah ok, but the @sentry/angular standalone is for Angular 2+ and we are on AngularJS 1.8.x, does this mean we cannot upgrade Sentry to the latest versions anymore?

@abhishek1234321
Copy link
Author

abhishek1234321 commented Jun 7, 2022

This doc AngularJS mentions using it like what I was doing, the doc needs to be fixed as well I guess?

@lforst
Copy link
Contributor

lforst commented Jun 7, 2022

Correct, if you're on AngularJS 1.x you need to stick with version 6.x of the SDK. We officially dropped support in v7. Thanks for giving us a heads up about the docs - we're on it!

Sidenote: If you happen to downgrade to v6 now, please keep in mind that all sentry dependencies need to be on the same version. Meaning @sentry/integrations and @sentry/browser must both be pinned to version 6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants