# Environment Variable updates does not get saved

**URL:** <https://community.postman.com/t/environment-variable-updates-does-not-get-saved/74283>\
**Category:** Help Hub\
**Tags:** variables, environments\
**Created:** [January 23, 2025, 4:00pm UTC](https://community.postman.com/t/environment-variable-updates-does-not-get-saved/74283 "2025-01-23T16:00:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![vpdsouza](https://avatars.discourse-cdn.com/v4/letter/v/a183cd/32.png) [@vpdsouza](https://community.postman.com/u/vpdsouza)\
**Post date:** [January 23, 2025, 4:00pm UTC](https://community.postman.com/t/environment-variable-updates-does-not-get-saved/74283/1 "2025-01-23T16:00:28Z")

</div>

I am updating an existing variable’s Initial/Current Value and notice the tab recognizes the changes but when I click on Save, nothing happens. When I try to close the tab I get “DO YOU WANT TO SAVE?” dialog but when click on Save Changes nothing happens. Here is the Postman version info:  
Version11.29.4  
UI version  
11.29.4-ui-250122-2337  
Desktop platform version  
11.28.4  
Architecture  
x64  
OS platform  
win32 10.0.22621

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/a/3/a3a1ede811089763a4c3cb63c82d459811e6fc34.png)

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/e/f/eff562262aac4dc5d6a4fd423ea01ed0d2e08dec.png)

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [January 23, 2025, 4:21pm UTC](https://community.postman.com/t/environment-variable-updates-does-not-get-saved/74283/2 "2025-01-23T16:21:45Z")

</div>

Hey @vpdsouza 👋

Welcome to the Postman Community! :postman:

I would recommend a couple of things here, enabling the autosave to prevent any issues with saving. That can be done via the `⚙️ > Settings > General` menu option.

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/c/d/cd863f6519dc004a78088d6efca98712ca84f95f.png)

More importantly, **please** don’t hardcode sensitive data like you have with those access tokens. Make use of using variables and storing those only in the Current Values to ensure that are not synced.

> **[Reuse data with variables and environments in Postman | Postman Docs](https://learning.postman.com/docs/sending-requests/variables/variables-intro/)**
>
> Postman is a collaboration platform for API development. Postman's features simplify each step of building an API and streamline collaboration so you can create better APIs—faster.

We also have the Postman Vault available to you so that you can store those sensitive pieces of data in a locally encrypted vault.

> **[Store secrets in your Postman Vault | Postman Docs](https://learning.postman.com/docs/sending-requests/postman-vault/postman-vault-secrets/)**
>
> Postman is a collaboration platform for API development. Postman's features simplify each step of building an API and streamline collaboration so you can create better APIs—faster.

---

<div class="post-metadata">

**Author:** ![vpdsouza](https://avatars.discourse-cdn.com/v4/letter/v/a183cd/32.png) [@vpdsouza](https://community.postman.com/u/vpdsouza)\
**Post date:** [January 23, 2025, 4:32pm UTC](https://community.postman.com/t/environment-variable-updates-does-not-get-saved/74283/3 "2025-01-23T16:32:34Z")

</div>

Thank you, Danny! I was looking for the Auto Save but did not realize that it was at the way bottom on the General tab. After enabling that the change bubble went away, so I assume it saved the changes.

As far the hardcoding values, NO, those values are in the global variables, I have a pre-request script that monitors and update the token as necessary when they are expired but for some reason it wasn’t working today. So, I had to investigate on what is going on and I then realized that the expiry time was not right while comparing with the token. That is the reason, I was updating the expiry time to verify if that fixes the issue but got into another PM problem.

---

<div class="post-metadata">

**Author:** ![vpdsouza](https://avatars.discourse-cdn.com/v4/letter/v/a183cd/32.png) [@vpdsouza](https://community.postman.com/u/vpdsouza)\
**Post date:** [April 4, 2025, 3:04pm UTC](https://community.postman.com/t/environment-variable-updates-does-not-get-saved/74283/4 "2025-04-04T15:04:56Z")

</div>

Good morning, Danny! This issue became very annoying to me because if I enable the Autosave, it does not save it to the “Current Value” but it saves the Initial value. But when the script is executing it is using the “Current Value” and the request fails. If I disable the Autosave, I cannot save the changes at all. Can you folks fix this issue asap, please? I greatly appreciate if you do!

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [April 4, 2025, 3:19pm UTC](https://community.postman.com/t/environment-variable-updates-does-not-get-saved/74283/5 "2025-04-04T15:19:40Z")

</div>

Hey @vpdsouza 👋

Are you able to share a recording of the issue you’re seeing using the latest version of Postman, you don’t have to use the actual collection, you can create a dummy one and show it that way. I just want to ensure that we a capturing the issue correctly.

Have you also tried out the same flow using a different variable scope, does this need to be a global variable that can be accessed by the whole Workspace?

---

<div class="post-metadata">

**Author:** ![vpdsouza](https://avatars.discourse-cdn.com/v4/letter/v/a183cd/32.png) [@vpdsouza](https://community.postman.com/u/vpdsouza)\
**Post date:** [April 4, 2025, 5:00pm UTC](https://community.postman.com/t/environment-variable-updates-does-not-get-saved/74283/6 "2025-04-04T17:00:41Z")

</div>

I created a recording but not able to attach here. Get this message “Sorry, new users can not upload attachments.”

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/e/1/e168ca027a24120b425bd6d83c6620490f66479a.png)
