insomnia icon indicating copy to clipboard operation
insomnia copied to clipboard

Not able to export Collection as JSON

Open akheel96 opened this issue 7 months ago • 10 comments

Expected Behavior

Download Collections as JSON

Actual Behavior

When i try to export the collection with Insomnia V5 option, its downloading as YAML file. Is there no option to download collection as JSON ?

Below is my version

Image

Reproduction Steps

No response

Is there an existing issue for this?

Which sync method do you use?

  • [ ] Git sync.
  • [ ] Insomnia Cloud sync.
  • [x] Local only

Additional Information

No response

Insomnia Version

11.0.2

What operating system are you using?

Windows

Operating System Version

Windows 11 Enterprise 24H2

Installation method

Download from official site

Last Known Working Insomnia version

No response

akheel96 avatar May 02 '25 07:05 akheel96

Same for us. Also we can't import v5 yaml into our older Insomnia version to export as JSON, or import our v4 yaml into the new version.

todoroff avatar May 06 '25 08:05 todoroff

Currently, sharing API collections in YAML format causes compatibility issues for users who rely on Postman. It would be helpful to include support for JSON format to ensure better cross-platform compatibility, or at the very least, ensure compatibility with Postman.

yadavishir avatar May 06 '25 09:05 yadavishir

@todoroff v4 imports in the app are supported and should work as before. For previous app versions you cannot import v5 into them since they do not support it. For context some of the reasons we went with the YAML format are for simplifying diffing when sharing and making the output more readable. @yadavishir could you expand on the compatibility issues you are facing with Postman?

gatzjames avatar May 26 '25 10:05 gatzjames

@todoroff v4 imports in the app are supported and should work as before. For previous app versions you cannot import v5 into them since they do not support it. For context some of the reasons we went with the YAML format are for simplifying diffing when sharing and making the output more readable.

That's making tools like Insomnia Documenter unusable with new versions

todoroff avatar May 26 '25 15:05 todoroff

@todoroff v4 imports in the app are supported and should work as before. For previous app versions you cannot import v5 into them since they do not support it. For context some of the reasons we went with the YAML format are for simplifying diffing when sharing and making the output more readable. @yadavishir could you expand on the compatibility issues you are facing with Postman?

@todoroff when you try to convert insomania YAML to JSON and then import it into postman then it creates n number of same API request in postman.

Anyways, thanks for your time as I have decided to move on from Insomania

yadavishir avatar May 27 '25 10:05 yadavishir

Same here. Please add this feature back.

hippasus avatar Jun 14 '25 06:06 hippasus

Same here...

AndreaSoriano avatar Sep 01 '25 19:09 AndreaSoriano

Same here. Please restore this functionality

StuartCowley avatar Sep 26 '25 13:09 StuartCowley

Same here.

matheus-arthus avatar Oct 22 '25 21:10 matheus-arthus

Same here

MiguelERuiz avatar Oct 27 '25 10:10 MiguelERuiz