Skip to content

SvelteKit Demo + Sentry wizard: Sentry.diagnoseSdkConnectivity() bad request (is this actually expected?) #16226

Description

@ktarmyshov

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/sveltekit

SDK Version

"version": "9.16.1",

Framework Version

SvelteKit, latest

Link to Sentry event

N/A

Reproduction Example/SDK Setup

Browser exception, tried to wrap into try/catch - no effect
There is no exception, just bad request and undefined is returned.

Console.output

+page.svelte:17 
            
            
POST https://o447951.ingest.sentry.io/api/1337/envelope/?sentry_version=7&sentry_key=1337&sentry_client=sentry.javascript.browser%2F1.33.7 400 (Bad Request)
window.fetch @ fetcher.js:66
(anonymous) @ fetch.ts:81
tt @ diagnose-sdk.ts:27
(anonymous) @ +page.svelte:17
En @ utils.js:39
(anonymous) @ lifecycle.js:51
pn @ runtime.js:1017
$effect @ lifecycle.js:51
bt @ runtime.js:414
be @ runtime.js:580
_n @ runtime.js:706
xt @ runtime.js:677
setTimeout
(anonymous) @ browserapierrors.ts:106
(anonymous) @ client.js:2369
r @ helpers.ts:116
requestAnimationFrame
(anonymous) @ browserapierrors.ts:112
Z.type @ client.js:2368
(anonymous) @ client.js:2367
r @ helpers.ts:116

Steps to Reproduce

git clone git@github.com:kt-npm-modules/svelte-adapter-azure-swa.git
cd svelte-adapter-azure-swa
npm ci:all
cd tests/demo
npm run build
npm run preview

Click through Home, About, Sverdle, and "Sentry Example"

Expected Result

I suppose no error should happen for calling this method created by wizard

Actual Result

Bad request + uncatchable error

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions