question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] Can't load file for file token

See original GitHub issue
  • Insomnia Version: 5.14.3
  • Operating System: win10

Details

  1. Create request
  2. Add a file token and click it
  3. Choose file click Done
  4. File token is in warning state

Quick look at error message says: ENOENT: no such file or directory, open 'C:\Users\Owner\AppData\Local\insomnia\app-5.14.6\UsersOwnerDesktopimage.png'

So looks like it’s resolving file path wrongly!

Thanks 😄

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
gschiercommented, Feb 15, 2018

In case you want/need a place to start… I’d first figure out if the value of path here is what you expect: https://github.com/getinsomnia/insomnia/blob/b3e473071824f0e48e7c26507163182acbe01703/plugins/insomnia-plugin-file/index.js#L18

0reactions
wdawsoncommented, Jul 1, 2021

Sorry folks! This was incorrectly tagged as a feature request along with other bugs. I’m going back through and cleaning up, sorry for the inconvenience.

Read more comments on GitHub >

github_iconTop Results From Across the Web

c# - Could not load file or assembly Microsoft.IdentityModel ...
There's little point in looking at your code if you can't load the library, "Could not load file or assembly Microsoft.IdentityModel.Tokens".
Read more >
Resolving the "Could Not Load File or Assembly System ...
A description on how I resolved the "Could not load file or assembly System.IdentityModel.Tokens.Jwt" in an Azure Functions application.
Read more >
File Upload Error - OneStream Community
Hi All, I'm uploading a KPI file in our Workflow. However I keep getting this error? What could I be doing wrong? Summary:...
Read more >
[ERROR] CDCRestart cannot open the restart token file" after ...
This issue occurs because of the restart file corruption issue due to the PowerCenter service crash. Solution.
Read more >
Could not load file or assembly 'System.IdentityModel.Tokens ...
This is with PowerShell 7.2 as that's what I am using. On the laptop I noticed I get this error if I load...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found