[Bug] StartUp Error, stringSlice breaking Insomnia
See original GitHub issue- Insomnia Version: 6.0.2
- Operating System: Windows 10 Pro x64
Details
(Leaving this here for the github search):
Error: "toString()" failed at stringSlice (buffer.js:556:443) at Buffer.toString (buffer.js:629:10) at tryToString (fs.js:509:15) at FsReqWrap.readFileAfterClose [as oncomplete] (fs.js:501:12)
Tried to send a xml file with a size of about 4mb (ca. 75.000 rows) as a Post. It worked several of times, but suddenly it doesn’t work anymore. Maybe I clicked the send button to often, because there was always a little pause after clicking the send button, before the loading spinner appeared.
Now I can’t use Insomnia anymore, because the View isnt even rendering, only the window shell is appearing. Killing the Process didnt worked out. Is There a fix where i keep my “workspace”? So if I install it again i dont lose all my requests.
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (2 by maintainers)

Top Related StackOverflow Question
I am not sure if this is how I was supposed to do it, but I found that there were some huge requests in
~/Library/Applications Support/Insomnia/insomnia.Request.db. I removed the lines that contained the huge request (in my case, the last 10 or so), and Insomnia began working again.This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.