Issue
When we build our application, it can't upload sourcemaps to Sentry because of this error:
Invalid request: `files` should NOT have more than 15000 items, received {a number above 15000}.
We are using Sentry Vite Plugin.
Applies To
- All SaaS Customers and Self-Hosted Users
- JS based SDKs
- Sentry Vite Plugin
Resolution
Ensure that you are using the latest version of Sentry Vite Plugin. If you are using unstable_sentryVitePluginOptions
, this is a legacy configuration, and you will need to change it to the up-to-date one that is documented here.