[GH-ISSUE #2030] [bug]: Error while importing collection from Postman #661

Closed
opened 2026-03-16 16:34:45 +03:00 by kerem · 4 comments
Owner

Originally created by @anwarulislam on GitHub (Dec 19, 2021).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2030

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

Requests with Postman variable can't be imported in Hoppscotch.

Steps to reproduce

I searched in the project why this is occurring and found this regex. The regex is validating URL and adding URL to Hoppscotch request based on this condition below. Since, URL with variable doesn't have any :// that's why it doesn't pass the condition. And the result is empty URL for the request. I'm trying to fix this and will commit if it fixed.

image

Environment

Production

Version

Cloud

Originally created by @anwarulislam on GitHub (Dec 19, 2021). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2030 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior Requests with Postman variable can't be imported in Hoppscotch. ### Steps to reproduce I searched in the project why this is occurring and found this regex. The regex is validating URL and adding URL to Hoppscotch request based on this condition below. Since, URL with variable doesn't have any `://` that's why it doesn't pass the condition. And the result is empty URL for the request. I'm trying to fix this and will commit if it fixed. ![image](https://user-images.githubusercontent.com/26295990/146688764-7ac72f04-159c-46f6-92a3-7db57889fcc5.png) ### Environment Production ### Version Cloud
kerem 2026-03-16 16:34:45 +03:00
Author
Owner

@anwarulislam commented on GitHub (Dec 20, 2021):

@AndrewBastin can I work on this issue, now?

<!-- gh-comment-id:998043336 --> @anwarulislam commented on GitHub (Dec 20, 2021): @AndrewBastin can I work on this issue, now?
Author
Owner

@AndrewBastin commented on GitHub (Dec 20, 2021):

Umm, sure. But not right now. We are doing a refactor to the Import/Export system which should be done in a couple of days. Will ping you then if the issue still persists.

<!-- gh-comment-id:998064402 --> @AndrewBastin commented on GitHub (Dec 20, 2021): Umm, sure. But not right now. We are doing a refactor to the Import/Export system which should be done in a couple of days. Will ping you then if the issue still persists.
Author
Owner

@anwarulislam commented on GitHub (Dec 20, 2021):

Sounds good you're refactoring the whole import/export system.

Would be great if you bring these features:

  • Drag and Drop for importing JSON, YML, or any other format (It would be nice if you parse everything to OpenAPI JSON first and then parse that to Hoppscotch standard)
  • Environment Importing and binding to that specific collection
  • Export to multiple format including YML, JSON, Insomnia, Postman and so on.
<!-- gh-comment-id:998071065 --> @anwarulislam commented on GitHub (Dec 20, 2021): Sounds good you're refactoring the whole import/export system. Would be great if you bring these features: - Drag and Drop for importing JSON, YML, or any other format (It would be nice if you parse everything to OpenAPI JSON first and then parse that to Hoppscotch standard) - Environment Importing and binding to that specific collection - Export to multiple format including YML, JSON, Insomnia, Postman and so on.
Author
Owner

@liyasthomas commented on GitHub (Dec 21, 2021):

We're using #1990 to track "Issues with importing Postman collections" and the upcoming refactor on the import/export system. Hence closing this issue.

<!-- gh-comment-id:998390890 --> @liyasthomas commented on GitHub (Dec 21, 2021): We're using #1990 to track "Issues with importing Postman collections" and the upcoming refactor on the import/export system. Hence closing this issue.
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#661
No description provided.