Postman v2.0 importer fails if request url=null
Expected Behavior
I should be able to export Postman collections and import them directly into Insomnia. In Postman (and Insomnia!) it's possible to save a request without setting the request url.
Actual Behavior
When importing a Postman collection into Insomnia where request=null, I am seeing the following error:
Error while scanning for resources to import:No importers found for file
Reproduction Steps
- In Insomnia, open the "import from file" dialogue
- Open postman export .json file that contains url=null
- Click "scan"
The attached json is a minimal example used to reproduce this error. Test.postman_collection.json
Is there an existing issue for this?
- [X] I have searched the issue tracker for this problem.
Additional Information
I was able to get around this issue by manually updating the null "url" field to an empty string "".
Insomnia Version
2023.4.0
What operating system are you using?
macOS
Operating System Version
Ventura 13.6.1
Installation method
insomnia.rest
Last Known Working Insomnia version
No response
I have exported Postman file as "v2.1 collection format" then import into Insomnia as your step above, it works for me.
Addressed in #7166