Skip to main content

How do I debug the source map upload errors I see in my build logs in Vercel?

Updated over a month ago

Issue

When I deploy my app to Vercel, I am seeing errors such as this below and I need to know how I can debug.

sentry reported an error: One or more projects are invalid (http status: 400) 

Applies To

  • Next.js SDK users

  • Vercel Integration users

Resolution

Debug logging for the built-in Sentry Webpack plugin will log out the exact URLs that we are making requests to. You will be able to verify whether the org or the project variables are being passed in properly.

To enable debug logging in Vercel, add a new environment variable called SENTRY_LOG_LEVEL and set the value as debug.

Did this answer your question?