Sentry responds HTTP 200 with event ID but there's no event on dashboard

Hi, I’m using sentry for javascript ("@sentry/browser": “5.19.2”) and I’m seeing in LogRocket that the event was reported to sentry and the request responded HTTP 200 with an event ID but I never received an email about it and it’s not in the sentry dashboard. (the responded event id is “5e62ca63c7b04a2eabbb2f6c4e70929e”).
The event was reported using “Sentry.captureException”.

Everything was working last week and I haven’t done any new deploy to my app, so nothing changed on the client app.

Please let me know if you need something else to debug this. This is really important!!

Thanks

I have the same issue although I am using sentry/browser version 5.22.3 and sentry/react version 5.22.3.

In my case messages appear on the dashboard when sent from my development environment but not from the staging server. However, in both cases I get successful responses and an id returned, just nothing in the dashboard when sent from the staging server.

The only difference I can see is the origin. The message from dev has http://localhost:3000 for origin and referrer in the request header and the same in the access-control-allow-origin in the response header. The staging environment uses a sub-domain of our live domain for this value.

I have checked and experimented with all the settings (allowed domains etc) and swapped DSNs with other projects to rule out a specific issue with that project but with no success.

For info, here is the request as a curl with keys etc REDACTED and the associated response:

Message:

curl 'https://o412273.ingest.sentry.io/api/5302730/envelope/?sentry_key=REDACTED&sentry_version=7' -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:81.0) Gecko/20100101 Firefox/81.0' -H 'Accept: */*' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H 'Referer: REDACTED/' -H 'Content-Type: text/plain;charset=UTF-8' -H 'Origin: REDACTED' -H 'Connection: keep-alive' --data-raw $'{"event_id":"3f502e8e2e2d4815aa5fa80c2bf1db3b","sent_at":"2020-09-09T07:12:41.042Z"}\n{"type":"transaction"}\n{"contexts":{"trace":{"data":{"_sentry_web_vitals":{"LCP":{}}},"op":"pageload","span_id":"9a6b38d40b6f04bf","trace_id":"9735ee7dc7d94d9e8eb36692ed0266da"}},"spans":[{"description":"unloadEvent","op":"browser","parent_span_id":"9a6b38d40b6f04bf","span_id":"bea4499991fe6933","start_timestamp":1599635559.201,"timestamp":1599635559.201,"trace_id":"9735ee7dc7d94d9e8eb36692ed0266da"},{"description":"domContentLoadedEvent","op":"browser","parent_span_id":"9a6b38d40b6f04bf","span_id":"a7aadcf25d03f55f","start_timestamp":1599635560.038,"timestamp":1599635560.06,"trace_id":"9735ee7dc7d94d9e8eb36692ed0266da"},{"description":"loadEvent","op":"browser","parent_span_id":"9a6b38d40b6f04bf","span_id":"b9bbc09b77367f50","start_timestamp":1599635560.063,"timestamp":1599635560.063,"trace_id":"9735ee7dc7d94d9e8eb36692ed0266da"},{"description":"connect","op":"browser","parent_span_id":"9a6b38d40b6f04bf","span_id":"bb66b47906e030ca","start_timestamp":1599635557.812,"timestamp":1599635558.381,"trace_id":"9735ee7dc7d94d9e8eb36692ed0266da"},{"description":"domainLookup","op":"browser","parent_span_id":"9a6b38d40b6f04bf","span_id":"841f3987a1e9e6b5","start_timestamp":1599635557.7810001,"timestamp":1599635557.812,"trace_id":"9735ee7dc7d94d9e8eb36692ed0266da"},{"description":"request","op":"browser","parent_span_id":"9a6b38d40b6f04bf","span_id":"b6ebaaa34df0ea75","start_timestamp":1599635558.381,"timestamp":1599635559.197,"trace_id":"9735ee7dc7d94d9e8eb36692ed0266da"},{"description":"response","op":"browser","parent_span_id":"9a6b38d40b6f04bf","span_id":"aaf1e8aab3af6140","start_timestamp":1599635559.196,"timestamp":1599635559.197,"trace_id":"9735ee7dc7d94d9e8eb36692ed0266da"},{"data":{"Transfer Size":527,"Encoded Body Size":1360182,"Decoded Body Size":4809403},"description":"/39805a9198591718318428f974b4f64a071c05ac.js?meteor_js_resource=true","op":"resource.script","parent_span_id":"9a6b38d40b6f04bf","span_id":"a631db0c141f384c","start_timestamp":1599635559.207,"timestamp":1599635559.517,"trace_id":"9735ee7dc7d94d9e8eb36692ed0266da"},{"data":{"Transfer Size":0,"Encoded Body Size":18193,"Decoded Body Size":18193},"description":"/apple-touch-icon-precomposed.png","op":"resource.other","parent_span_id":"9a6b38d40b6f04bf","span_id":"b60c9a0ecd2469b8","start_timestamp":1599635559.269,"timestamp":1599635560.0440001,"trace_id":"9735ee7dc7d94d9e8eb36692ed0266da"},{"data":{"Transfer Size":0,"Encoded Body Size":8384,"Decoded Body Size":8384},"description":"/favicon.png?v1","op":"resource.other","parent_span_id":"9a6b38d40b6f04bf","span_id":"8ac89506860c03de","start_timestamp":1599635559.27,"timestamp":1599635560.046,"trace_id":"9735ee7dc7d94d9e8eb36692ed0266da"},{"description":"sentry-tracing-init","op":"mark","parent_span_id":"9a6b38d40b6f04bf","span_id":"a1df4073bed3666f","start_timestamp":1599635560.033,"timestamp":1599635560.033,"trace_id":"9735ee7dc7d94d9e8eb36692ed0266da"},{"data":{"Transfer Size":0,"Encoded Body Size":33004,"Decoded Body Size":191713},"description":"/7344eb78100284964720e2efb7779f8043ba1d48.css?meteor_css_resource=true","op":"resource.other","parent_span_id":"9a6b38d40b6f04bf","span_id":"826f108ee5eb5100","start_timestamp":1599635560.114,"timestamp":1599635560.1190002,"trace_id":"9735ee7dc7d94d9e8eb36692ed0266da"}],"start_timestamp":1599635557.7810001,"tags":{},"timestamp":1599635560.1190002,"transaction":"/projects","type":"transaction","platform":"javascript","sdk":{"name":"sentry.javascript.react","packages":[{"name":"npm:@sentry/browser","version":"5.22.3"},{"name":"npm:@sentry/react","version":"5.22.3"}],"version":"5.22.3","integrations":["InboundFilters","FunctionToString","TryCatch","Breadcrumbs","GlobalHandlers","LinkedErrors","UserAgent","BrowserTracing"]},"event_id":"3f502e8e2e2d4815aa5fa80c2bf1db3b","breadcrumbs":[{"timestamp":1599635560.471,"category":"xhr","data":{"method":"GET","url":"REDACTED/sockjs/info?cb=se1wss6_k4","status_code":200},"type":"http"}],"request":{"url":"REDACTED/projects","headers":{"User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:81.0) Gecko/20100101 Firefox/81.0"}}}'

Response:

HTTP/1.1 200 OK
Server: nginx
Date: Wed, 09 Sep 2020 07:12:42 GMT
Content-Type: application/json
Content-Length: 41
Connection: keep-alive
access-control-allow-origin: REDACTED
access-control-expose-headers: x-sentry-rate-limits, retry-after, x-sentry-error
vary: Origin
x-envoy-upstream-service-time: 0
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
{"id":"3f502e8e2e2d4815aa5fa80c2bf1db3b"}

Any help would be appreciated!

Thanks.

Edit: I activated logging and get the following (could No valid entryTypes; aborting registration be the issue?):

This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. projects
Ignoring unsupported entryTypes: largest-contentful-paint.
Sentry Logger [Log]: Integration installed: InboundFilters
Sentry Logger [Log]: Integration installed: FunctionToString
Sentry Logger [Log]: Integration installed: TryCatch
Sentry Logger [Log]: Integration installed: Breadcrumbs
Sentry Logger [Log]: Global Handler attached: onerror
Sentry Logger [Log]: Global Handler attached: onunhandledrejection
Sentry Logger [Log]: Integration installed: GlobalHandlers
Sentry Logger [Log]: Integration installed: LinkedErrors
Sentry Logger [Log]: Integration installed: UserAgent
Sentry Logger [Warn]: [Tracing] You need to define `tracingOrigins` in the options. Set an array of urls or patterns to trace.
Sentry Logger [Warn]: [Tracing] We added a reasonable default for you: localhost,/^\//
Sentry Logger [Log]: [Tracing] starting pageload idleTransaction on scope
Sentry Logger [Log]: Setting idle transaction on scope. Span ID: 8404d3862c6de95d
Sentry Logger [Log]: Starting heartbeat
Sentry Logger [Log]: pinging Heartbeat -> current counter: 0
Sentry Logger [Log]: Integration installed: BrowserTracing
Cookie “_lr5_” will be soon rejected because it has the “SameSite” attribute set to “None” or an invalid value, without the “secure” attribute. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite logger-1.min.js:15:1001
Ignoring unsupported entryTypes: longtask. logger-1.min.js:8:87278
No valid entryTypes; aborting registration. logger-1.min.js:8:87278
Sentry Logger [Log]: [Tracing] finishing IdleTransaction 2020-09-10T05:44:57.114Z pageload
Sentry Logger [Log]: [Tracing] Adding & adjusting spans using Performance API
Sentry Logger [Log]: [Tracing] flushing IdleTransaction