I ran upload-sourcemaps with the sentry CLI. This usually works, but for my newest release, I am seeing:
Running with sourcemap validation
...
All Good!
Uploading sourcemaps for release af84b7
bundle.js.map -> https://..../bundle.js.map
error: could not perform API request: http error: generic error (413)
413 status code is “Request Entity Too Large” – I’m guessing this means your source map file is too large. There is an upper limit of 20 MB at the moment.
You could try omitting sourcesContent (see your build config) to make your source map smaller in order to fit under the limit … but this will remove some context from stack traces.
Is this always through sentry-cli? Can you set SENTRY_LOG_LEVEL=debug as an environment variable when running the command? That’ll give us more useful information to debug with. As of right now, I’ve manually tested all of our load balancers and the correct limits exist in the correct endpoints. The only thing I can think of is somehow you’re hitting the wrong endpoint.
@gingerlime@itajaja – are you seeing 413 responses from Raven.js, in the browser, as errors occur? Or are you seeing 413 HTTP responses in the act of uploading source maps via the releases/artifacts HTTP API?
@itajaja can you enable debug logging for the next time this happens? It’s really hard to debug this stuff without having more information for us to see. There’s nothing to indicate on my side that this should be happening and I’ve manually verified many times with 30MB files without an issue.