mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #5426] [bug]: “Import from Another Workspace” only imports the first 10 requests per folder/collection #2084
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#2084
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @simon-heinz-telekom on GitHub (Oct 2, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5426
Is there an existing issue for this?
Platform
Web App
Browser
Chrome
Operating System
Windows
Bug Description
What happened?
When I use Collections → Import from Another Workspace to copy a collection from Workspace A to Workspace B, only the first 10 requests inside each folder are imported. Requests beyond 10 are silently skipped (no error shown).
What I expected is all requests in the source folders to be imported.
Steps to reproduce
Req 01…Req 12).Actual: Only 10 requests are present.
Expected: All requests (e.g., 12/12) should be present.
Additional context
Suspected cause:
Looks like a pagination default of
take = 10on the backend list method fetching requests for a collection (e.g., a signature like). During the import flow only the first page (10 items) is requested; no subsequent pages are fetched, so anything beyond 10 per folder is dropped.
Workaround:
Export the source collection as JSON and import that file into the target workspace — this includes all requests.
Proposed fix ideas:
take = 1000) to avoid partial imports.fetchAllRequestsInCollection(collectionId)that abstracts pagination and is used by the importer.Logs and Console Output (if available)
Additional details (if relevant)
Deployment Type
Self-hosted (on-prem deployment)
Version
2025.4.2
@mirarifhasan commented on GitHub (Oct 2, 2025):
@simon-heinz-telekom
We’ve addressed related issues in #5338. Could you please try again with the latest Hoppscotch version and let us know if the problem still persists?