[GH-ISSUE #850] Import of Postman collection with Nested folders is failing #297

Closed
opened 2026-03-16 14:24:05 +03:00 by kerem · 13 comments
Owner

Originally created by @nabsha on GitHub (May 7, 2020).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/850

Originally assigned to: @JacobAnavisca on GitHub.

Describe the bug
If there are more than 1 level of sub folders in postman collection, then import fails without errors.
parent-folder-3.postman_collection.txt

To Reproduce
Steps to reproduce the behavior:

  1. Import the attached file which is in postman format 2.1 version
  2. See error

Expected behavior
File to be imported successfully

Screenshots

Desktop (please complete the following information):

  • OS: mac OS
  • Browser chrome
  • Version : master
Originally created by @nabsha on GitHub (May 7, 2020). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/850 Originally assigned to: @JacobAnavisca on GitHub. **Describe the bug** If there are more than 1 level of sub folders in postman collection, then import fails without errors. [parent-folder-3.postman_collection.txt](https://github.com/liyasthomas/postwoman/files/4593909/parent-folder-3.postman_collection.txt) **To Reproduce** Steps to reproduce the behavior: 1. Import the attached file which is in postman format 2.1 version 2. See error **Expected behavior** File to be imported successfully **Screenshots** **Desktop (please complete the following information):** - OS: mac OS - Browser chrome - Version : master
kerem 2026-03-16 14:24:05 +03:00
Author
Owner

@liyasthomas commented on GitHub (Jun 30, 2020):

@JacobAnavisca

<!-- gh-comment-id:651660510 --> @liyasthomas commented on GitHub (Jun 30, 2020): @JacobAnavisca
Author
Owner

@mahoriR commented on GitHub (Jul 1, 2020):

@liyasthomas Looks like @JacobAnavisca is already working on this. I would be happy to contribute. I can work on weekends.

<!-- gh-comment-id:652256919 --> @mahoriR commented on GitHub (Jul 1, 2020): @liyasthomas Looks like @JacobAnavisca is already working on this. I would be happy to contribute. I can work on weekends.
Author
Owner

@AndrewBastin commented on GitHub (Aug 7, 2020):

@JacobAnavisca are you still working on this ?

@mahoriR if you are interested, you could take this up!

<!-- gh-comment-id:670579655 --> @AndrewBastin commented on GitHub (Aug 7, 2020): @JacobAnavisca are you still working on this ? @mahoriR if you are interested, you could take this up!
Author
Owner

@mahoriR commented on GitHub (Aug 13, 2020):

@mahoriR if you are interested, you could take this up!

@AndrewBastin Sure. Thanks.

<!-- gh-comment-id:673325453 --> @mahoriR commented on GitHub (Aug 13, 2020): > @mahoriR if you are interested, you could take this up! @AndrewBastin Sure. Thanks.
Author
Owner

@liyasthomas commented on GitHub (Aug 26, 2020):

Hi @mahoriR is there any updates in this issue? Let me know if you need any help from our side.

<!-- gh-comment-id:681170202 --> @liyasthomas commented on GitHub (Aug 26, 2020): Hi @mahoriR is there any updates in this issue? Let me know if you need any help from our side.
Author
Owner

@mahoriR commented on GitHub (Aug 28, 2020):

Hi @mahoriR is there any updates in this issue? Let me know if you need any help from our side.

I'll be working on this 13th Sept onwards. Unfortunately blocked with office work till them.

<!-- gh-comment-id:682389743 --> @mahoriR commented on GitHub (Aug 28, 2020): > Hi @mahoriR is there any updates in this issue? Let me know if you need any help from our side. I'll be working on this 13th Sept onwards. Unfortunately blocked with office work till them.
Author
Owner

@exussum12 commented on GitHub (Sep 4, 2020):

Hoppscotch doesnt seem to support sub folders like this. Ive got the import working, but the front end stops working.

So its not really a postman import issue, its more a limit of Hoppscotch.

<!-- gh-comment-id:687156900 --> @exussum12 commented on GitHub (Sep 4, 2020): Hoppscotch doesnt seem to support sub folders like this. Ive got the import working, but the front end stops working. So its not really a postman import issue, its more a limit of Hoppscotch.
Author
Owner

@liyasthomas commented on GitHub (Sep 4, 2020):

Yes, as of now we don't support nested subfolders. Any idea how we can toggle this issue or will think about adding nested folders.

<!-- gh-comment-id:687158470 --> @liyasthomas commented on GitHub (Sep 4, 2020): Yes, as of now we don't support nested subfolders. Any idea how we can toggle this issue or will think about adding nested folders.
Author
Owner

@exussum12 commented on GitHub (Sep 4, 2020):

I can't see another ticket for nested sub folders, This ticket would need to be put on hold until that happens. The import completely stops the front end working currently and you need to clear the local storage to continue.

Obviously thats not a great solution, so I think implement nested folders, and then look at this issue again. Whats your thoughts on that ?

<!-- gh-comment-id:687209769 --> @exussum12 commented on GitHub (Sep 4, 2020): I can't see another ticket for nested sub folders, This ticket would need to be put on hold until that happens. The import completely stops the front end working currently and you need to clear the local storage to continue. Obviously thats not a great solution, so I think implement nested folders, and then look at this issue again. Whats your thoughts on that ?
Author
Owner

@liyasthomas commented on GitHub (Sep 4, 2020):

Yes, you're right. Nested subfolders should be a feature.

<!-- gh-comment-id:687282905 --> @liyasthomas commented on GitHub (Sep 4, 2020): Yes, you're right. Nested subfolders should be a feature.
Author
Owner

@exussum12 commented on GitHub (Sep 5, 2020):

For now, ive started a tool to convert thefolder structure.

The example here looks like this when imported

image

Basically everything is now in the top level prefixed with its path eg

sub1/sub2/sub3/sub4/request

will now be
sub1 sub2 sub3 sub4/request (so there is only 1 level deep)

Is that useful to anyone else until the multi folders are sorted ?

<!-- gh-comment-id:687559502 --> @exussum12 commented on GitHub (Sep 5, 2020): For now, ive started a tool to convert thefolder structure. The example here looks like this when imported ![image](https://user-images.githubusercontent.com/1102850/92299186-0fcd0680-ef48-11ea-94c1-38b3b869de02.png) Basically everything is now in the top level prefixed with its path eg sub1/sub2/sub3/sub4/request will now be sub1 sub2 sub3 sub4/request (so there is only 1 level deep) Is that useful to anyone else until the multi folders are sorted ?
Author
Owner

@liyasthomas commented on GitHub (Sep 5, 2020):

I guess that would somewhat fix current issues. Thanks @exussum12. Feel free to open a PR.

<!-- gh-comment-id:687559711 --> @liyasthomas commented on GitHub (Sep 5, 2020): I guess that would somewhat fix current issues. Thanks @exussum12. Feel free to open a PR.
Author
Owner

@liyasthomas commented on GitHub (Sep 8, 2020):

Fixed in #1150

<!-- gh-comment-id:688947513 --> @liyasthomas commented on GitHub (Sep 8, 2020): Fixed in #1150
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#297
No description provided.