Skip to content

[nextjs] api route not returning response or json once deployed to Vercel in latest 7.29.0 #6670

Closed
@wadehammes

Description

@wadehammes

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which package are you using?

@sentry/nextjs

SDK Version

7.29.0

Framework Version

NextJS 13.0.6

Link to Sentry event

No response

Steps to Reproduce

In the latest version, I am not getting json response from a 200 api route. There are no console logs though, the only way I found an error was via the component not loading as it awaits data from the api route before rendering.

I have deduced through updating one new package update at a time that Sentry SDK is the issue, and I suspect it has something to do with this:

feat(nextjs): Send events consistently on platforms that don't support streaming (#6578)

This is only happening once deployed to Vercel. Local work as intended. Downgrading to 7.28.1 api routes work as intended on both local and Vercel.

Expected Result

API routes return response as intended like in 7.28.1 when deployed to Vercel

Actual Result

Component doesn't load. I can't reproduce since this only happens on Vercel. There are no Sentry logs attached to this work yet either.

Metadata

Metadata

Assignees

Labels

Package: nextjsIssues related to the Sentry Nextjs SDK

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions