You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2026. It is now read-only.
Describe the bug
When in Windows, the resulting file path in the Edit Variable preview is missing all folder slashes in Windows.
Example: "C:\Users\someuser\secret_file.env" becomes "C:Userssomeusersecret_file.env"
This causes an error: "ENOENT: no such file or directory, open 'C:Userssomeusersecret_file.env'"
To Reproduce
Steps to reproduce the behavior:
Add environment variable in Base Environment
Tie variable to dotenv file
Note that it outputs the correct value from dotenv file when in Manage Environments
Close Manage Environments
Attempt to use variable in a request (it doesn't seem to matter where)
See the error in preview "ENOENT: no such file or directory, open [file location without slashes]"
Expected behavior
I would expect the Edit Variable to pull in the value of the variable with no error.
Screenshots
Desktop (please complete the following information):
OS: Windows 10 (Windows_NT x64 10.0.19044) & 11
Insomnia Version: 2023.5.0
Insomnia Build date: 8/14/2023
Electron: 25.2.0
Node: 18.15.0
Node ABI: 116
V8: 11.4.183.23-electron.0
Architecture: x64
Additional context
I notice that the error is different if you use a dotenv in a Sub Environment. It doesn't bother to output the file path at all.
Also, I've tried the same project and same file in Linux, and this plugin works fine.
Describe the bug
When in Windows, the resulting file path in the Edit Variable preview is missing all folder slashes in Windows.
Example: "C:\Users\someuser\secret_file.env" becomes "C:Userssomeusersecret_file.env"
This causes an error: "ENOENT: no such file or directory, open 'C:Userssomeusersecret_file.env'"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect the Edit Variable to pull in the value of the variable with no error.
Screenshots


Desktop (please complete the following information):
Additional context
I notice that the error is different if you use a dotenv in a Sub Environment. It doesn't bother to output the file path at all.
Also, I've tried the same project and same file in Linux, and this plugin works fine.