Open GridTrekkor opened 8 months ago
Import works for me but the order of the requests are reverse
I have the same issue - freshly downloaded Insomnium (Insomnium.Core-0.2.3-a-portable.exe) and trying to import the exported Scratch Pad data from Postman (Version 10.19.15-canary231101-0730) on a Windows 2019 server.
Invariably getting the error Error while scanning for resources to import:No importers found for file
I tried to import it on my Linux version, I had exactly the same error - at least we know that it is not platform-specific.
Can I enable some additional logs to help collecting useful data ?
I am having the same issue but I think it is not really about the versions of Insomnium but the versions of Postman which was used to export the "Backup.postman_dump.json".
FYI: I have also written my issue resolving experience with Postman at https://www.johannhuang.com/articles/uuid/33f7f425-cd8f-4458-a330-88f73b1f784d .
For those who have exported the data since the scratch pad feature went away, it turns out the exported format is v1 and therefore Insomnium doesn't support it (Insomnium only supports v2). I would hazard a guess that this was intentional by the Postman team to prevent users from easily switching to Insomium considering that they removed the download archive so users can't downgrade Postman either.
I was able to successfully import my postman export into Insomnium by first converting the postman dump collections to v2 using the hint from this SO post and this NPM package.
postman-collection-transformer convert \
--input <collection-from-postman-dump.json> \
--input-version 1.0.0 \
--output <output-file.json> \
--output-version 2.0.0
Then import <output-file.json>
@s-nel nice one; thanks for figuring this out (I'm totally clueless in this; hadn't touched Postman for ages)
(I will try to add the v2->v1 converter in a new release in feb)
or I will add this to the migration doc-page instead
Expected Behavior
Expected to import Postman data - JSON file exported from Postman v10.19.7
Actual Behavior
Reproduction Steps
Click My Collection > Import
Drag the Postman JSON export into the drag and drop section
Click Scan
Is there an existing issue for this?
Additional Information
No response
Insomnium Version
0.2.3-a
What operating system are you using?
Windows
Operating System Version
Windows 10
Installation method
downloaded here
Last Known Working Insomnium version
This is the first version I've used