insomnia icon indicating copy to clipboard operation
insomnia copied to clipboard

Insomnia is unable to parse larger csv responses

Open eddykaya opened this issue 1 year ago • 5 comments

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

  1. Query API which automatically returns csv >5MB or so

Is there an existing issue for this?

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

eddykaya avatar Oct 23 '23 09:10 eddykaya

I can confirm this issue

abrar78 avatar Nov 16 '23 19:11 abrar78

Can confirm this too, additional the parsing can not be aborted.

rmplbv avatar Dec 18 '23 17:12 rmplbv

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

jomatt avatar Dec 19 '23 14:12 jomatt

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

Tricabit avatar Mar 12 '24 10:03 Tricabit