desktop icon indicating copy to clipboard operation
desktop copied to clipboard

[Bug]: Unsupported file error while importing from Insomnia

Open OneComputerGuy opened this issue 10 months ago • 3 comments

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

Image

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

OneComputerGuy avatar Mar 24 '25 01:03 OneComputerGuy

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

OneComputerGuy avatar Mar 25 '25 14:03 OneComputerGuy

Did you get around this error? Happens to me too, wanted to migrate to HTTPie, but import didn't work

lukivan8 avatar May 23 '25 09:05 lukivan8

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.

ricardobarantini avatar Jul 18 '25 15:07 ricardobarantini