Title: SDK Handling HTTP 413 [JavaScript] · Issue #18935 · getsentry/sentry-javascript · GitHub
Open Graph Title: SDK Handling HTTP 413 [JavaScript] · Issue #18935 · getsentry/sentry-javascript
X Title: SDK Handling HTTP 413 [JavaScript] · Issue #18935 · getsentry/sentry-javascript
Description: Relay previously returned HTTP 400 Bad Request for oversized envelopes. This was changed in Relay #5474 to HTTP 413 (Content Too Large) to allow SDKs to distinguish size-related rejections from other errors. For more context on this deci...
Open Graph Description: Relay previously returned HTTP 400 Bad Request for oversized envelopes. This was changed in Relay #5474 to HTTP 413 (Content Too Large) to allow SDKs to distinguish size-related rejections from oth...
X Description: Relay previously returned HTTP 400 Bad Request for oversized envelopes. This was changed in Relay #5474 to HTTP 413 (Content Too Large) to allow SDKs to distinguish size-related rejections from oth...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/18935
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"SDK Handling HTTP 413 [JavaScript]","articleBody":"Relay previously returned HTTP 400 Bad Request for oversized envelopes. This was changed in Relay [#5474](\u003chttps://github.com/getsentry/relay/pull/5474>) to HTTP 413 (Content Too Large) to allow SDKs to distinguish size-related rejections from other errors. For more context on this decision, see the [DACI: Relay Returns 413 for too-large envelopes.](\u003chttps://www.notion.so/sentry/DACI-Relay-returns-413-for-too-large-envelopes-2c68b10e4b5d8034be83e524c855e73d>)\n\nThe main benefit is for our users. With the HTTP 413 response, SDKs can now log specific, actionable error messages when envelopes are rejected due to size limits. Previously, users had no clear indication of why their data was being dropped when envelopes exceeded size limits. Now, they'll understand the cause and can take steps to resolve it.\n\n### Requirements\n\nSee the [413 section in Dealing With Network Failures in the SDK develop docs](\u003chttps://develop.sentry.dev/sdk/expected-features/#dealing-with-network-failures>) for the full specification.","author":{"url":"https://github.com/philippsuess","@type":"Person","name":"philippsuess"},"datePublished":"2026-01-22T08:31:55Z","url":"https://github.com/getsentry/sentry-javascript/issues/18935"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e665420b-b9a7-ef00-5eef-e111d2ea7cc1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DE40:279C41:79ECE5:AC50F7:6B0481EB |
| html-safe-nonce | 67688819aa162fc1eafe926a60623b7819d7274c572e82f48dc9c610168214d3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTQwOjI3OUM0MTo3OUVDRTU6QUM1MEY3OjZCMDQ4MUVCIiwidmlzaXRvcl9pZCI6IjY0NzQyOTcxMTQ2ODMwMTU2NTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4f1ba1fd274e7686527e2531db7c1909cd4515b82ed3f3b944d17ae6635d5e20 |
| hovercard-subject-tag | issue:3841832649 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/18935/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7224f4af3e3a232847a8a69366f939c0fd1f13c423ff77ad2b9733db314b5b2c/getsentry/sentry-javascript/issues/18935 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7224f4af3e3a232847a8a69366f939c0fd1f13c423ff77ad2b9733db314b5b2c/getsentry/sentry-javascript/issues/18935 |
| og:image:alt | Relay previously returned HTTP 400 Bad Request for oversized envelopes. This was changed in Relay #5474 to HTTP 413 (Content Too Large) to allow SDKs to distinguish size-related rejections from oth... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | philippsuess |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1d5c152376e38b7d2e37f3d5179be29a73bee93b85110da28a4eebe1159cdc70 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f5017e8ff4ea25a8011fcf0f2a0e430c60dc86c8 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width