Generic error message when attachment larger than the maximum size is uploaded

XMLWordPrintable

    • Severity 3 - Minor

      Issue Summary

      It is possible to restrict uploads by setting an Attachment maximum size under Confluence Administration > General Configuration.

      When uploading an attachment larger than the maximum allowed size via the Attachments section of a page and using the Upload file button, a generic error message is displayed. The message is misleading to users and does not indicate the attachment size is larger than the current limit.

      Steps to Reproduce

      Steps:

      1. Navigate to General Configuration - /wiki/admin/configuration
      2. Set Attachment maximum size to 0 and Save
      3. Navigate to any Page > Attachments > Files
      4. Use the Upload file > Attach flow

      Expected Results

      An error message should be displayed informing the user the current attachment size limit.

      Actual Results

      A generic error is displayed:

      Something went wrong.
      We're moving mountains to get it sorted.
      View our status page and subscribe for service updates.
      

      Screenshot:

      Workaround

      Using the Drag-and-Drop flow does display an informative error message, both from Edit mode and the Attachments menu:

      <attachment> is too big to upload. Files must be less than 0 B.
      

      Screenshot:

        1. Screenshot 2025-04-08 at 17.17.29.png
          70 kB
          Thiago P [Atlassian Support]
        2. Screenshot 2025-04-08 at 20.31.35.png
          168 kB
          Thiago P [Atlassian Support]

            Assignee:
            Ben Keene
            Reporter:
            Thiago P [Atlassian Support]
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: