Base environment variables not being picked up when running requests
Expected Behavior
The value of the variable is pulled through into the request.
Actual Behavior
The value of the variable is not pulled through into the request.
Reproduction Steps
- Ensure the Base Environment has the required variables
- Ensure the request has the variables in the body
- Submit the request
Is there an existing issue for this?
- [x] I have searched the issue tracker for this problem.
Which sync method do you use?
- [ ] Git sync.
- [ ] Insomnia Cloud sync.
- [x] Local only
Additional Information
The console shows that the request does not include the values of the variables:
The preview also shows no value:
There is no conflicting variable in the Global Environment.
The insomnia.Environment.db file appears to be populated with multiple instances of the Global and Base Environments whenever this occurs. Is this expected? I would assume that the environments should be unique.
This does not appear to affect all of my collections, even when using the same Global Environment. However, I cannot identify a cause for the issue.
Insomnia Version
11.1.0
What operating system are you using?
Windows
Operating System Version
Windows 11 Enterprise, 24H2
Installation method
Unsure
Last Known Working Insomnia version
N/A
Can you check if these envs are overwritten in the pre-request script? cc @ihexxa
@stephen1274 Please also check if those values are also defined at the other levels, such as parent folders, currently I cant reproduce it.
Hey @stephen1274 I am going to close this as probably you've found the solution? But feel free to reopen it if it still happens.
Thanks @ihexxa, I don't encounter the issue every time so will try to grab more information the next time it happens and will reopen the ticket.