Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
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.