Skip to content
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

"h is not defined" when clicking "Add a screenshot #73828

Closed
Nubebuster opened this issue Jul 4, 2024 · 9 comments
Closed

"h is not defined" when clicking "Add a screenshot #73828

Nubebuster opened this issue Jul 4, 2024 · 9 comments

Comments

@Nubebuster
Copy link

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

  1. install sentry like so
import * as Sentry from "@sentry/react";

Sentry.init({
  dsn: "https://584ef4df9179d6209949fdbb8b49b688@o4507543529127936.ingest.de.sentry.io/4507543530897488",
  integrations: [
    Sentry.browserTracingIntegration(),
    Sentry.replayIntegration(),
    Sentry.feedbackIntegration({
      showBranding: false,
      colorScheme: "light",
    }),
  ],
  tracesSampleRate: 1.0,
  tracePropagationTargets: ["localhost", /^https:\/\/domain\.nl\/api/],
  replaysSessionSampleRate: 0.1,
  replaysOnErrorSampleRate: 1.0,
});

Click "Report a bug"
Click "Add a screenshot"

Expected Result

Opens screenshot dialog

Actual Result

Uncaught (in promise) ReferenceError: h is not defined
df https://www.domain.nl/assets/index-7da3ba37.js:1328
MZ https://www.domain.nl/assets/index-7da3ba37.js:983
b_ https://www.domain.nl/assets/index-7da3ba37.js:983
zP https://www.domain.nl/assets/index-7da3ba37.js:983
LZ https://www.domain.nl/assets/index-7da3ba37.js:983
b_ https://www.domain.nl/assets/index-7da3ba37.js:983
zP https://www.domain.nl/assets/index-7da3ba37.js:983
LZ https://www.domain.nl/assets/index-7da3ba37.js:983
b_ https://www.domain.nl/assets/index-7da3ba37.js:983
zP https://www.domain.nl/assets/index-7da3ba37.js:983
LZ https://www.domain.nl/assets/index-7da3ba37.js:983
b_ https://www.domain.nl/assets/index-7da3ba37.js:983
zP https://www.domain.nl/assets/index-7da3ba37.js:983
b_ https://www.domain.nl/assets/index-7da3ba37.js:983
zP https://www.domain.nl/assets/index-7da3ba37.js:983
LZ https://www.domain.nl/assets/index-7da3ba37.js:983
b_ https://www.domain.nl/assets/index-7da3ba37.js:983
zP https://www.domain.nl/assets/index-7da3ba37.js:983
b_ https://www.domain.nl/assets/index-7da3ba37.js:983
AZ https://www.domain.nl/assets/index-7da3ba37.js:983
lp https://www.domain.nl/assets/index-7da3ba37.js:983
promise callback*Ax https://www.domain.nl/assets/index-7da3ba37.js:983
setState https://www.domain.nl/assets/index-7da3ba37.js:983
__ https://www.domain.nl/assets/index-7da3ba37.js:983
onClick https://www.domain.nl/assets/index-7da3ba37.js:983
Nx https://www.domain.nl/assets/index-7da3ba37.js:983
r https://www.domain.nl/assets/index-7da3ba37.js:889
cQ https://www.domain.nl/assets/index-7da3ba37.js:892
xG https://www.domain.nl/assets/index-7da3ba37.js:892
cf https://www.domain.nl/assets/index-7da3ba37.js:983
LZ https://www.domain.nl/assets/index-7da3ba37.js:983
b_ https://www.domain.nl/assets/index-7da3ba37.js:983
zP https://www.domain.nl/assets/index-7da3ba37.js:983
LZ https://www.domain.nl/assets/index-7da3ba37.js:983
b_ https://www.domain.nl/assets/index-7da3ba37.js:983
zP https://www.domain.nl/assets/index-7da3ba37.js:983
LZ https://www.domain.nl/assets/index-7da3ba37.js:983
b_ https://www.domain.nl/assets/index-7da3ba37.js:983
zP https://www.domain.nl/assets/index-7da3ba37.js:983
LZ https://www.domain.nl/assets/index-7da3ba37.js:983
b_ https://www.domain.nl/assets/index-7da3ba37.js:983
zP https://www.domain.nl/assets/index-7da3ba37.js:983
LZ https://www.domain.nl/assets/index-7da3ba37.js:983
b_ https://www.domain.nl/assets/index-7da3ba37.js:983
zP https://www.domain.nl/assets/index-7da3ba37.js:983
b_ https://www.domain.nl/assets/index-7da3ba37.js:983
zP https://www.domain.nl/assets/index-7da3ba37.js:983
LZ https://www.domain.nl/assets/index-7da3ba37.js:983
b_ https://www.domain.nl/assets/index-7da3ba37.js:983
zP https://www.domain.nl/assets/index-7da3ba37.js:983
LZ https://www.domain.nl/assets/index-7da3ba37.js:983
b_ https://www.domain.nl/assets/index-7da3ba37.js:983
zP https://www.domain.nl/assets/index-7da3ba37.js:983
LZ https://www.domain.nl/assets/index-7da3ba37.js:983
b_ https://www.domain.nl/assets/index-7da3ba37.js:983
zP https://www.domain.nl/assets/index-7da3ba37.js:983
b_ https://www.domain.nl/assets/index-7da3ba37.js:983
zP https://www.domain.nl/assets/index-7da3ba37.js:983
b_ https://www.domain.nl/assets/index-7da3ba37.js:983
DZ https://www.domain.nl/assets/index-7da3ba37.js:983
d https://www.domain.nl/assets/index-7da3ba37.js:1253
open https://www.domain.nl/assets/index-7da3ba37.js:1253
qe https://www.domain.nl/assets/index-7da3ba37.js:983
r https://www.domain.nl/assets/index-7da3ba37.js:889
cQ https://www.domain.nl/assets/index-7da3ba37.js:892
xG https://www.domain.nl/assets/index-7da3ba37.js:892
me https://www.domain.nl/assets/index-7da3ba37.js:983
rt https://www.domain.nl/assets/index-7da3ba37.js:983
setupOnce https://www.domain.nl/assets/index-7da3ba37.js:983
EA https://www.domain.nl/assets/index-7da3ba37.js:880
PV https://www.domain.nl/assets/index-7da3ba37.js:880
PV https://www.domain.nl/assets/index-7da3ba37.js:880
setupIntegrations https://www.domain.nl/assets/index-7da3ba37.js:880
init https://www.domain.nl/assets/index-7da3ba37.js:880
DV https://www.domain.nl/assets/index-7da3ba37.js:881
OQ https://www.domain.nl/assets/index-7da3ba37.js:892
Iee https://www.domain.nl/assets/index-7da3ba37.js:1328
https://www.domain.nl/assets/index-7da3ba37.js:1328
index-7da3ba37.js:1328:5564
e https://www.domain.nl/assets/index-7da3ba37.js:983
b
https://www.domain.nl/assets/index-7da3ba37.js:983
AZ https://www.domain.nl/assets/index-7da3ba37.js:983
lp https://www.domain.nl/assets/index-7da3ba37.js:983
(Async: promise callback)
Ax https://www.domain.nl/assets/index-7da3ba37.js:983
setState https://www.domain.nl/assets/index-7da3ba37.js:983
__ https://www.domain.nl/assets/index-7da3ba37.js:983
onClick https://www.domain.nl/assets/index-7da3ba37.js:983
Nx https://www.domain.nl/assets/index-7da3ba37.js:983
r https://www.domain.nl/assets/index-7da3ba37.js:889
(Async: EventListener.handleEvent)
cQ https://www.domain.nl/assets/index-7da3ba37.js:892
xG https://www.domain.nl/assets/index-7da3ba37.js:892
cf https://www.domain.nl/assets/index-7da3ba37.js:983
LZ https://www.domain.nl/assets/index-7da3ba37.js:983
b
https://www.domain.nl/assets/index-7da3ba37.js:983
zP https://www.domain.nl/assets/index-7da3ba37.js:983
LZ https://www.domain.nl/assets/index-7da3ba37.js:983
b
https://www.domain.nl/assets/index-7da3ba37.js:983
zP https://www.domain.nl/assets/index-7da3ba37.js:983
LZ https://www.domain.nl/assets/index-7da3ba37.js:983
b_ https://www.domain.nl/assets/index-7da3ba37.js:983
zP https://www.domain.nl/assets/index-7da3ba37.js:983
LZ https://www.domain.nl/assets/index-7da3ba37.js:983
b_ https://www.domain.nl/assets/index-7da3ba37.js:983
zP https://www.domain.nl/assets/index-7da3ba37.js:983
LZ https://www.domain.nl/assets/index-7da3ba37.js:983
b_ https://www.domain.nl/assets/index-7da3ba37.js:983
zP https://www.domain.nl/assets/index-7da3ba37.js:983
b_ https://www.domain.nl/assets/index-7da3ba37.js:983
zP https://www.domain.nl/assets/index-7da3ba37.js:983
LZ https://www.domain.nl/assets/index-7da3ba37.js:983
b_ https://www.domain.nl/assets/index-7da3ba37.js:983
zP https://www.domain.nl/assets/index-7da3ba37.js:983
LZ https://www.domain.nl/assets/index-7da3ba37.js:983
b_ https://www.domain.nl/assets/index-7da3ba37.js:983
zP https://www.domain.nl/assets/index-7da3ba37.js:983
LZ https://www.domain.nl/assets/index-7da3ba37.js:983
b_ https://www.domain.nl/assets/index-7da3ba37.js:983
zP https://www.domain.nl/assets/index-7da3ba37.js:983
b_ https://www.domain.nl/assets/index-7da3ba37.js:983
zP https://www.domain.nl/assets/index-7da3ba37.js:983
b_ https://www.domain.nl/assets/index-7da3ba37.js:983
DZ https://www.domain.nl/assets/index-7da3ba37.js:983
d https://www.domain.nl/assets/index-7da3ba37.js:1253
open https://www.domain.nl/assets/index-7da3ba37.js:1253
qe https://www.domain.nl/assets/index-7da3ba37.js:983
InterpretGeneratorResume self-hosted:1412
AsyncFunctionNext self-hosted:799
(Async: async)
r https://www.domain.nl/assets/index-7da3ba37.js:889
(Async: EventListener.handleEvent)
cQ https://www.domain.nl/assets/index-7da3ba37.js:892
xG https://www.domain.nl/assets/index-7da3ba37.js:892
me https://www.domain.nl/assets/index-7da3ba37.js:983
rt https://www.domain.nl/assets/index-7da3ba37.js:983
setupOnce https://www.domain.nl/assets/index-7da3ba37.js:983
EA https://www.domain.nl/assets/index-7da3ba37.js:880
PV https://www.domain.nl/assets/index-7da3ba37.js:880
forEach self-hosted:157
PV https://www.domain.nl/assets/index-7da3ba37.js:880
_setupIntegrations https://www.domain.nl/assets/index-7da3ba37.js:880
init https://www.domain.nl/assets/index-7da3ba37.js:880
DV https://www.domain.nl/assets/index-7da3ba37.js:881
OQ https://www.domain.nl/assets/index-7da3ba37.js:892
Iee https://www.domain.nl/assets/index-7da3ba37.js:1328
https://www.domain.nl/assets/index-7da3ba37.js:1328

Product Area

User Feedback

Link

https://www.meetingaanzee.nl/en/

DSN

https://584ef4df9179d6209949fdbb8b49b688@o4507543529127936.ingest.de.sentry.io/4507543530897488

Version

8.14.0

@getsantry
Copy link
Contributor

getsantry bot commented Jul 4, 2024

Assigning to @getsentry/support for routing ⏲️

@gyannj
Copy link

gyannj commented Jul 8, 2024

I have the same issue, is there any fix?

@TheLiberal
Copy link

Getting the same, followed the setup from the wizard

@enszrlu
Copy link

enszrlu commented Jul 8, 2024

same error here.

@getsantry
Copy link
Contributor

getsantry bot commented Jul 8, 2024

Routing to @getsentry/product-owners-user-feedback for triage ⏲️

@ryan953
Copy link
Member

ryan953 commented Jul 8, 2024

Related to getsentry/sentry-javascript#12784

@c298lee
Copy link
Member

c298lee commented Jul 8, 2024

We are working on it, see getsentry/sentry-javascript#12784 for a status. Alternatively, you can use an older Sentry SDK version eg. 8.12.0 until the fix is out.

@ryan953
Copy link
Member

ryan953 commented Jul 8, 2024

Related to getsentry/sentry-javascript#12713

@ryan953 ryan953 self-assigned this Jul 8, 2024
@ryan953
Copy link
Member

ryan953 commented Jul 10, 2024

This should be resolved and out in 8.16.0!

getsentry/sentry-javascript#12713 (comment)

@ryan953 ryan953 closed this as completed Jul 10, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jul 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

No branches or pull requests

7 participants