Sentry responded with an error: HTTP 413: Request Entity Too Large
See original GitHub issueI have an exception being raised in a POST request handler in Tornado. When that exception is sent to Sentry via self.captureException(True)
, I am seeing:
ERROR:sentry.errors:Sentry responded with an error: HTTP 413: Request Entity Too Large (url: https://sentry.io/api/148507/store/)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/raven/contrib/tornado/__init__.py", line 70, in _handle_result
future.result()
File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 237, in result
raise_exc_info(self._exc_info)
File "<string>", line 3, in raise_exc_info
HTTPError: HTTP 413: Request Entity Too Large
In the POST body is a large file. I tried to exclude the POST body data by adding the 'raven.processors.RemovePostDataProcessor'
, but I am still getting the 413 response.
app.sentry_client = AsyncSentryClient(_sentry_dsn,
processors=(
'raven.processors.SanitizePasswordsProcessor',
'raven.processors.RemovePostDataProcessor'
)
)
I am using raven==6.0.0
.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:5 (1 by maintainers)
Top Results From Across the Web
HTTP Error 413: Request Entity Too Large - SDKs - #sentry
We are using python + django + celery, raven version 6.1.0. This particular error happened inside a celery task. Having a truncated error...
Read more >ku on Twitter: "Sentry responded with an error: HTTP 413 ...
I have an exception being raised in a POST request handler in Tornado. When that exception is sent to Sentry via self.
Read more >How to Solve the "413 Request Entity Too Large" Error - Kinsta
In a nutshell, the “413 Request Entity Too Large” error is a size issue. It happens when a client makes a request that's...
Read more >413 Payload Too Large - HTTP - MDN Web Docs
The HTTP 413 Payload Too Large response status code indicates that the request entity is larger than limits defined by server; ...
Read more >What Is a 413 Request Entity Too Large Error & How to Fix It
A 413 HTTP error code occurs when the size of a client's request exceeds the server's file size limit. This typically happens when...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve also just run into this, looks like breadcrumbs are causing 413s. Sentry itself is self-hosted, and we’re using Django integration.
However, it looks like there’s no setting to disable breadcrumbs in a Django context, or am I looking at the wrong place?
Closed as duplicate #604