Vercel integration fails on side

I’m receiving the error “Warning: failed to fetch”. I’m trying to link my Next.js project, deployed to Vercel, with a Javascript project on Sentry. It works fine in development (on my dev server), but the integration on Vercel fails to load and I can see that no source maps are being generated for the Sentry project.