[GH-ISSUE #3208] [bug]: Self-Hosted Hoppscotch: Workspace import of Postman/Hoppscotch JSON leads to broken folder tree structure, except in team context #1057

Closed
opened 2026-03-16 18:19:56 +03:00 by kerem · 4 comments
Owner

Originally created by @kimseungwook on GitHub (Jul 24, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3208

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

I am experiencing an issue specifically when importing Postman or Hoppscotch JSON files from my Workspace. After the import, the folder tree structure is incorrect and does not reflect the original structure of the imported JSON.

The key issue is that the id of the top-level folder in the userCollection table is being replaced with the collectionID from the userRequest table. This replacement results in a broken folder tree structure.

However, this problem does not occur when I am working within a team organization context. If I organize a team and upload the same JSON file, the import correctly reflects the original structure.

The problem appears only when importing files directly from my Workspace outside of a team organization context. Is this a known issue, or could you offer any advice on how to resolve this?

Thank you for your attention to this matter.

Steps to reproduce

my Workspace
import postman

Environment

Production

Version

Self-hosted

Originally created by @kimseungwook on GitHub (Jul 24, 2023). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3208 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior I am experiencing an issue specifically when importing Postman or Hoppscotch JSON files from my Workspace. After the import, the folder tree structure is incorrect and does not reflect the original structure of the imported JSON. The key issue is that the id of the top-level folder in the userCollection table is being replaced with the collectionID from the userRequest table. This replacement results in a broken folder tree structure. However, this problem does not occur when I am working within a team organization context. If I organize a team and upload the same JSON file, the import correctly reflects the original structure. The problem appears only when importing files directly from my Workspace outside of a team organization context. Is this a known issue, or could you offer any advice on how to resolve this? Thank you for your attention to this matter. ### Steps to reproduce my Workspace import postman ### Environment Production ### Version Self-hosted
kerem 2026-03-16 18:19:56 +03:00
Author
Owner

@nivedin commented on GitHub (Sep 7, 2023):

@kimseungwook can you recheck if this issue is solved in the latest release I couldn't reproduce this at my end

<!-- gh-comment-id:1710325347 --> @nivedin commented on GitHub (Sep 7, 2023): @kimseungwook can you recheck if this issue is solved in the latest release I couldn't reproduce this at my end
Author
Owner

@ivan-zinchenko commented on GitHub (Sep 14, 2023):

fyi, issue is still there with the latest AOI-image

<!-- gh-comment-id:1719385990 --> @ivan-zinchenko commented on GitHub (Sep 14, 2023): fyi, issue is still there with the latest AOI-image
Author
Owner

@joeljstephen commented on GitHub (Apr 10, 2024):

@kimseungwook Are you still facing the same issue in the latest build?

<!-- gh-comment-id:2047537952 --> @joeljstephen commented on GitHub (Apr 10, 2024): @kimseungwook Are you still facing the same issue in the latest build?
Author
Owner

@opctim commented on GitHub (Jul 4, 2024):

This issue still persists. See https://github.com/hoppscotch/hoppscotch/issues/4171

<!-- gh-comment-id:2209076074 --> @opctim commented on GitHub (Jul 4, 2024): This issue still persists. See https://github.com/hoppscotch/hoppscotch/issues/4171
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#1057
No description provided.