You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Next.js]: Sentry should not catch trackDynamicDataAccessed #11969
When Partial Prerendering (PPR) is enabled, using APIs that opt into Dynamic Rendering like cookies, headers, or fetch (such as with cache: 'no-store' or revalidate: 0) will cause React to throw a special error object to know which part of the page cannot be statically generated - while still letting the rest of it be partially static. If you catch this error, it is not safe for us to generate any static data, and your build will fail.
Thanks for reporting. We'll look into it! Would you mind sharing your Next.js version, and how to reproduce this? (Normally our issue template asks for this but you opened this in the Sentry product repo instead of the SDK repo) Thanks!
Activity
getsantry commentedon May 10, 2024
Assigning to @getsentry/support for routing ⏲️
lforst commentedon May 10, 2024
Thanks for reporting. We'll look into it! Would you mind sharing your Next.js version, and how to reproduce this? (Normally our issue template asks for this but you opened this in the Sentry product repo instead of the SDK repo) Thanks!
typeofweb commentedon May 10, 2024
Next.js version is
14.3.0-canary.53(onlycanaryversions support PPR).To reproduce, enable PPR and create a page that uses params and searchParams. See: https://github.com/typeofweb/sentry-nextjs-bug-repro
AbhiPrasad commentedon May 27, 2024
Fix released with https://github.com/getsentry/sentry-javascript/releases/tag/8.5.0 - please give it a try!