[GH-ISSUE #5520] File uploads in form-data are not being sent to target APIs after upgrading from 2025.6.1 to 2025.9.2 (All-in-One) #2127

Closed
opened 2026-03-16 23:16:44 +03:00 by kerem · 2 comments
Owner

Originally created by @farhatakrout on GitHub (Oct 28, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5520

After upgrading Hoppscotch All-in-One from version 2025.6.1 to 2025.9.2, I noticed that file uploads defined in form-data requests are no longer passed through to the target APIs.

In the previous version (2025.6.1), uploading files worked correctly — the files were included in the API requests.
After the upgrade, the files are not being transmitted at all, and the target APIs receive the request without the file data.

Steps to Reproduce
Run Hoppscotch All-in-One using Docker (see configuration below).
Create a request with Body → form-data containing a file field.
Send the request to any API expecting a file upload.
Observe that the file is not received by the target API.

Environment
Hoppscotch version: 2025.9.2 (All-in-One)
Previous working version: 2025.6.1
Deployment: Docker Compose
Database: PostgreSQL 15
Host OS: Debian 12
Browser: Chrome 141, Firefox 144

Docker Compose Setup

`version: "3.8"

services:
hoppscotch-db:
image: postgres:15
container_name: hoppscotch-db
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: hoppscotch
volumes:
- hoppscotch-data:/var/lib/postgresql/data
networks:
- hoppscotch-net

migrations:
image: hoppscotch/hoppscotch:2025.9.2
container_name: hoppscotch-migrations
depends_on:
- hoppscotch-db
environment:
DATABASE_URL: "postgresql://postgres:postgres@hoppscotch-db:5432/hoppscotch"
JWT_SECRET: "example-jwt-secret"
SESSION_SECRET: "example-session-secret"
TOKEN_SALT_COMPLEXITY: "10"
DATA_ENCRYPTION_KEY: "EXAMPLEENCRYPTIONKEY1234567890"
VITE_BASE_URL: "http://example.com:8080"
VITE_BACKEND_API_URL: "http://example.com:8081/v1"
VITE_BACKEND_GQL_URL: "http://example.com:8081/graphql"
VITE_BACKEND_WS_URL: "ws://example.com:8081/graphql"
VITE_ADMIN_URL: "http://example.com:8082"
WHITELISTED_ORIGINS: "http://example.com:8080,http://example.com:8081,http://example.com:8082"
MAILER_ENABLED: "true"
MAILER_SMTP_URL: "smtp://apikey:SG.examplekey@smtp.example.net:587"
MAILER_ADDRESS_FROM: "noreply@example.com"
command: >
sh -c "npx prisma migrate deploy"
networks:
- hoppscotch-net

hoppscotch:
image: hoppscotch/hoppscotch:2025.9.2
container_name: hoppscotch
depends_on:
- hoppscotch-db
- migrations
environment:
DATABASE_URL: "postgresql://postgres:postgres@hoppscotch-db:5432/hoppscotch"
JWT_SECRET: "example-jwt-secret"
SESSION_SECRET: "example-session-secret"
TOKEN_SALT_COMPLEXITY: "10"
DATA_ENCRYPTION_KEY: "EXAMPLEENCRYPTIONKEY1234567890"
MAILER_ENABLED: "true"
VITE_BASE_URL: "http://example.com:8080"
VITE_BACKEND_API_URL: "http://example.com:8081/v1"
VITE_BACKEND_GQL_URL: "http://example.com:8081/graphql"
VITE_BACKEND_WS_URL: "ws://example.com:8081/graphql"
VITE_ADMIN_URL: "http://example.com:8082"
WHITELISTED_ORIGINS: "http://example.com:8080,http://example.com:8081,http://example.com:8082"
MAILER_SMTP_URL: "smtp://apikey:SG.examplekey@smtp.example.net:587"
MAILER_ADDRESS_FROM: "noreply@example.com"
ports:
- "8080:3000"
- "8081:3170"
- "8082:3100"
networks:
- hoppscotch-net

volumes:
hoppscotch-data:
external: true

networks:
hoppscotch-net:
driver: bridge
`

Originally created by @farhatakrout on GitHub (Oct 28, 2025). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5520 After upgrading Hoppscotch All-in-One from version 2025.6.1 to 2025.9.2, I noticed that file uploads defined in form-data requests are no longer passed through to the target APIs. In the previous version (2025.6.1), uploading files worked correctly — the files were included in the API requests. After the upgrade, the files are not being transmitted at all, and the target APIs receive the request without the file data. **Steps to Reproduce** Run Hoppscotch All-in-One using Docker (see configuration below). Create a request with Body → form-data containing a file field. Send the request to any API expecting a file upload. Observe that the file is not received by the target API. **Environment** Hoppscotch version: 2025.9.2 (All-in-One) Previous working version: 2025.6.1 Deployment: Docker Compose Database: PostgreSQL 15 Host OS: Debian 12 Browser: Chrome 141, Firefox 144 **Docker Compose Setup** `version: "3.8" services: hoppscotch-db: image: postgres:15 container_name: hoppscotch-db environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres POSTGRES_DB: hoppscotch volumes: - hoppscotch-data:/var/lib/postgresql/data networks: - hoppscotch-net migrations: image: hoppscotch/hoppscotch:2025.9.2 container_name: hoppscotch-migrations depends_on: - hoppscotch-db environment: DATABASE_URL: "postgresql://postgres:postgres@hoppscotch-db:5432/hoppscotch" JWT_SECRET: "example-jwt-secret" SESSION_SECRET: "example-session-secret" TOKEN_SALT_COMPLEXITY: "10" DATA_ENCRYPTION_KEY: "EXAMPLEENCRYPTIONKEY1234567890" VITE_BASE_URL: "http://example.com:8080" VITE_BACKEND_API_URL: "http://example.com:8081/v1" VITE_BACKEND_GQL_URL: "http://example.com:8081/graphql" VITE_BACKEND_WS_URL: "ws://example.com:8081/graphql" VITE_ADMIN_URL: "http://example.com:8082" WHITELISTED_ORIGINS: "http://example.com:8080,http://example.com:8081,http://example.com:8082" MAILER_ENABLED: "true" MAILER_SMTP_URL: "smtp://apikey:SG.examplekey@smtp.example.net:587" MAILER_ADDRESS_FROM: "noreply@example.com" command: > sh -c "npx prisma migrate deploy" networks: - hoppscotch-net hoppscotch: image: hoppscotch/hoppscotch:2025.9.2 container_name: hoppscotch depends_on: - hoppscotch-db - migrations environment: DATABASE_URL: "postgresql://postgres:postgres@hoppscotch-db:5432/hoppscotch" JWT_SECRET: "example-jwt-secret" SESSION_SECRET: "example-session-secret" TOKEN_SALT_COMPLEXITY: "10" DATA_ENCRYPTION_KEY: "EXAMPLEENCRYPTIONKEY1234567890" MAILER_ENABLED: "true" VITE_BASE_URL: "http://example.com:8080" VITE_BACKEND_API_URL: "http://example.com:8081/v1" VITE_BACKEND_GQL_URL: "http://example.com:8081/graphql" VITE_BACKEND_WS_URL: "ws://example.com:8081/graphql" VITE_ADMIN_URL: "http://example.com:8082" WHITELISTED_ORIGINS: "http://example.com:8080,http://example.com:8081,http://example.com:8082" MAILER_SMTP_URL: "smtp://apikey:SG.examplekey@smtp.example.net:587" MAILER_ADDRESS_FROM: "noreply@example.com" ports: - "8080:3000" - "8081:3170" - "8082:3100" networks: - hoppscotch-net volumes: hoppscotch-data: external: true networks: hoppscotch-net: driver: bridge `
kerem 2026-03-16 23:16:44 +03:00
  • closed this issue
  • added the
    duplicate
    label
Author
Owner

@jamesgeorge007 commented on GitHub (Oct 28, 2025):

Hi @farhatakrout, this is a known issue and a potential duplicate of #5443. We've a fix up addressing this, scheduled for the upcoming major release. In the meantime, it is recommended to opt out of the Experimental scripting sandbox via Settings > Experiments. Closing, please keep track of the same in the above issue.

<!-- gh-comment-id:3455696916 --> @jamesgeorge007 commented on GitHub (Oct 28, 2025): Hi @farhatakrout, this is a known issue and a potential duplicate of #5443. We've a [fix](https://github.com/hoppscotch/hoppscotch/pull/5512) up addressing this, scheduled for the upcoming major release. In the meantime, it is recommended to opt out of the Experimental scripting sandbox via `Settings > Experiments`. Closing, please keep track of the same in the above issue.
Author
Owner

@jamesgeorge007 commented on GitHub (Oct 31, 2025):

This is now resolved in the latest release.

<!-- gh-comment-id:3474203708 --> @jamesgeorge007 commented on GitHub (Oct 31, 2025): This is now resolved in the [latest release](https://github.com/hoppscotch/hoppscotch/releases/tag/2025.10.0).
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#2127
No description provided.