[Bug]: Unsupported file error while importing from Insomnia
What happened?
While trying to import this sample file from Insomnia (since the larger file that I actually need to import is also failing), I keep getting the error "Unsupported file" even though Insomnia is supposed to be supported.
I've tried creating both, a HAR file and the YAML one from Insomnia but both shows the same error.
NOTE: I've changed the file name to Testing.yaml.txt since GitHub doesn't like to have random yaml files being uploaded. The original name of the file is just Testing.yaml
Testing.yaml.txt
Steps to reproduce?
1. Open the app
2. Create a new space
3. Click the (+) icon > Import
4. Select the .yaml file exported from Insomnia
What did you expect to happen?
Expected result: HTTPie shows the information to import or a green checkmark validating the file Observed Result: "Unknown file" error is shown and collection cannot be imported.
Platform
macOS
HTTPie Desktop version
2022.5.1
Relevant log output
Code of Conduct
- [x] I agree to follow this project's Code of Conduct
This seems to be triggered by a change on the way the information is exported from v4 to v5.
A file exported as JSON from v4 works but the insomnia v5 YAML version doesn't work
Did you get around this error? Happens to me too, wanted to migrate to HTTPie, but import didn't work
This problem still exists. Tried to export my yaml from Insomnia (v11.3.0) using the export tool to both formats (HAR and Insomnia v5) and both files aren't recognize by HTTPie.
@lukivan8 I tried a few workarounds, but the one that work was exporting my collections to HAR and importing on Postman, then in Postman I exported as json and finally imported on HTTPie.