insomnia
insomnia copied to clipboard
Insomnia is unable to parse larger csv responses
Expected Behavior
When fetching a csv result from an API, insomnia automatically tries to pretty the result. I want this process to not crash the app
Actual Behavior
Insomnia become unresponse ("isomnia became unresponsive, do you want to reload?") When clicking reload, nothing happens. I have to clean my /responses folder to use Insomnia again.
Reproduction Steps
- Query API which automatically returns csv >5MB or so
Is there an existing issue for this?
- [X] I have searched the issue tracker for this problem.
Additional Information
The solution to delete the responses folder is just a workaround, maybe it is better to not automatically parse csv results or large ones (see https://github.com/Kong/insomnia/issues/5087)
Insomnia Version
2023.05.08
What operating system are you using?
Ubuntu
Operating System Version
23.04
Installation method
apt
Last Known Working Insomnia version
No response
I can confirm this issue
Can confirm this too, additional the parsing can not be aborted.
I can also confirm this issue on macOS. I agree with @eddykaya, a suitable fix would be to disable automatic parsing of large CSV response bodies, e.g. > 1MB to avoid unresponsiveness of the app
I also can confirm this issue. A 3.5 MB CSV file broke the app for macos. Solved that by waiting for parsing it completely