Skip to content

Increase Attachment Size Limit #81121

Closed
Closed

Description

@bruno-garcia

Problem Statement

Attachment limit today is 200MB uncompressed. And we support a few compressing algorithms.
The limit on the compressed request is set to 40MB.

That's documented here:

When the payload is larger, Sentry returns 413 Payload Too Large

This is a bigger problem with data that doesn't compress very well, such as video files.
Some platforms provide video recordings for test sessions (a replay video from a game play in a Game Console test instance).

Related to this, is that Sentry doesn't make it clear that things are getting dropped. See:

But even if we increase the size limit, it's very likely there'll always be a limit. So some UX improvement is needed anyway.

Solution Brainstorm

Ideally allow for 200MB uncompressed, for files that don't compress well anyway. This should allow for large enough videos for this platform.

Activity

  1. getsantry commented on Nov 21, 2024

    @getsantry
    Contributor

    Routing to @getsentry/product-owners-issues for triage ⏲️

  2. getsantry commented on Nov 21, 2024

    @getsantry
    Contributor

    Routing to @getsentry/product-owners-ingestion-and-filtering for triage ⏲️

  3. bruno-garcia commented on Mar 8, 2025

    @bruno-garcia
    MemberAuthor

    Came up again during a call with a prospect who is getting their dumps lost because they are larger than our limits.
    https://us-28010.app.gong.io/call?id=2350889066380960870

  4. getsantry commented on Apr 1, 2025

    @getsantry
    Contributor

    Routing to @getsentry/product-owners-ingestion-and-filtering for triage ⏲️

  5. bruno-garcia commented on Apr 2, 2025

    @bruno-garcia
    MemberAuthor
  6. bruno-garcia commented on Jun 23, 2025

    @bruno-garcia
    MemberAuthor

    Came up again in the context of devkit dumps. Dump files were 1.2GB in size

  7. bruno-garcia commented on Sep 23, 2025

    @bruno-garcia
    MemberAuthor

    I asked a customer for context on why they needed larger limits:

    This has been discussed at length multiple times in the past, but we need to store large images, videos of the last few seconds / minutes of the game and fulldumps, along with potential gpucrash files that tend to get huge.

    And a summary from the same customer recorded by the sales team:

    To how big are they dealing with? What is the ideal increase?
    We have crashes that are multiple GBs large, but even 1GB would be a great improvement
    We are uploading attachments with almost every event that we report. These include videos of the game just before it crashed that can get quite big. Also, we have many requests for uploading fulldumps instead of minidumps and that’s something that is not supported due to the size limitations.
    How often does this occur:
    We are encountering this issue multiple times per day
    Business Impact
    It will allow for faster debugging times, as the videos are very useful for graphics (among others) bugs. Also, fulldumps include data that are more valuable for identifying an issue than minidumps.

  8. bruno-garcia commented on Oct 16, 2025

    @bruno-garcia
    MemberAuthor

    Another use case this unblocks is GPU crashes from PS5, devkits can send these, but they are larger than we can ingest atm. Will figure out how big those can be.

  9. bitsandfoxes commented on Nov 20, 2025

    @bitsandfoxes
    Contributor

    Attachment Size Limit has been increased to

    - *40MB* for a compressed envelope request
    - *200MB* for a full envelope after decompression
    - *200MB* for all attachments combined
    - *200MB* for each attachment item
    

    See getsentry/sentry-docs#15395

  10. locked and limited conversation to collaborators on Dec 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions