Kong / insomnia

The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage.
https://insomnia.rest
Apache License 2.0
34.84k stars 1.97k forks source link

Insomnia is unable to parse larger csv responses #6712

Open eddykaya opened 1 year ago

eddykaya commented 1 year ago

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

abrar78 commented 11 months ago

I can confirm this issue

rmplbv commented 10 months ago

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

jomatt commented 10 months ago

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

Tricabit commented 8 months ago

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

djboris88 commented 1 month ago

Still an issue. Please fix it! Very annoying, been waiting for hours to parse CSV response of 1660 KB.

Version: Insomnia 9.3.3
Build date: 7/31/2024
OS: Windows_NT x64 10.0.22631
Electron: 30.2.0
Node: 20.15.0
Node ABI: 123
V8: 12.4.254.20-electron.0
Architecture: x64
iganev0886 commented 6 days ago

Lol totally unusable.