[GH-ISSUE #4301] [bug]: attachment in the body disappears after reloading/reopening the page/method #1564

Open
opened 2026-03-16 20:52:16 +03:00 by kerem · 2 comments
Owner

Originally created by @KatyaGolyagina on GitHub (Aug 27, 2024).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4301

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

When I use attachments in the post method, they are not saved, the fields become empty.
I expect the attachment to be saved and can be used in the future

Steps to reproduce

  1. run a post with an attachment
  2. save method
  3. refresh page/shared method
  4. attachment fields are empty
    image
    Same on https://hoppscotch.io/

Environment

Production

Version

Self-hosted

Originally created by @KatyaGolyagina on GitHub (Aug 27, 2024). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4301 ### Is there an existing issue for this? - [x] I have searched the existing issues ### Current behavior When I use attachments in the post method, they are not saved, the fields become empty. I expect the attachment to be saved and can be used in the future ### Steps to reproduce 1. run a post with an attachment 2. save method 3. refresh page/shared method 4. attachment fields are empty ![image](https://github.com/user-attachments/assets/d18c7fe2-5df8-4edb-833c-6fe7c115b0f4) Same on https://hoppscotch.io/ ### Environment Production ### Version Self-hosted
Author
Owner

@sz-2302 commented on GitHub (Oct 9, 2024):

Hi! I would like to work on this issue. Please let me know if I can take it on:)

<!-- gh-comment-id:2401043359 --> @sz-2302 commented on GitHub (Oct 9, 2024): Hi! I would like to work on this issue. Please let me know if I can take it on:)
Author
Owner

@AndrewBastin commented on GitHub (Oct 9, 2024):

Hi there,

For the time being, we are considering this as an intentional behaviour. The Hoppscotch Request file doesn't store binary data for the time being to not mess with the bandwidth and size restrictions within the Hoppscotch infra.

We will keep the issue open for the time being to encourage discourse and will probably tackle this in a later date when the situation for this is better, but for the time being, we are not planning on tackling this.

<!-- gh-comment-id:2402105028 --> @AndrewBastin commented on GitHub (Oct 9, 2024): Hi there, For the time being, we are considering this as an intentional behaviour. The Hoppscotch Request file doesn't store binary data for the time being to not mess with the bandwidth and size restrictions within the Hoppscotch infra. We will keep the issue open for the time being to encourage discourse and will probably tackle this in a later date when the situation for this is better, but for the time being, we are not planning on tackling this.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#1564
No description provided.