Skip to content
This repository was archived by the owner on Feb 26, 2026. It is now read-only.
This repository was archived by the owner on Feb 26, 2026. It is now read-only.

Cannot modify environment variable. #17

Description

@faustool

Describe the bug
I cannot modify the environment variable.

To Reproduce
Steps to reproduce the behavior:

  1. Create an environment file with two variables: VARIABLE_TEST_1 and VARIABLE_TEST_2 with whatever different values you want.
  2. Go to 'Manage Environments'.
  3. Click on 'Base Environment'.
  4. Create a variable called env_file and set it to the path of the environment file.
  5. Create another variable called test_variable and use the dotenv plugin to set the value to VARIABLE_TEST_1.
    image
  6. Click 'Done' to close the dotenv window.
  7. Optional: can click the dotevn button in the variable value to confirm the value was set.
  8. Click 'Close' to close the 'Manage Environments' window.
  9. Go to 'Manage Environments' again.
  10. Click the dotenv button in the test_variable value to modify it.
  11. Change the value to VARIABLE_TEST_2.
    image
  12. Click 'Done' to close the dotenv window.
  13. Optional: can click the dotevn button in the variable value to confirm the value was modified.
  14. Click 'Close' to close the 'Manage Environments' window.
  15. Go to 'Manage Environments' again.
  16. 🪲 Click the dotenv button in the test_variable value to confirm that the value is back to VARIABLE_TEST_1.

I have found some occasions where I cannot set the value of the variable even the first time. That means after I set it the first time, when I come back the settings in the dotenv plugin is completely empty.

It also looks like I cannot make any modification to the variable once it was set.

Expected behavior
I expect to be able to point the Insomnia variable to something else in the environment file as many times as I want.

Screenshots
Screenshots were added to the 'To Reproduce' section because they're easier to follow up with.

Desktop (please complete the following information):

  • OS: Windows 11 Enterprise version 22H2 build 22621.2134
  • Browser: Insomnia desktop
  • Version: Insomnia 2023.5.8, insomnia-plugin-dotenv 1.2.0

Smartphone (please complete the following information):

  • not tested

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions