# Collection variables keep getting removed after sharing

**URL:** <https://community.postman.com/t/collection-variables-keep-getting-removed-after-sharing/74281>\
**Category:** Help Hub\
**Tags:** collections\
**Created:** [January 23, 2025, 3:17pm UTC](https://community.postman.com/t/collection-variables-keep-getting-removed-after-sharing/74281 "2025-01-23T15:17:10Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![martinp-mk](https://avatars.discourse-cdn.com/v4/letter/m/9fc29f/32.png) [@martinp-mk](https://community.postman.com/u/martinp-mk)\
**Post date:** [January 23, 2025, 3:17pm UTC](https://community.postman.com/t/collection-variables-keep-getting-removed-after-sharing/74281/1 "2025-01-23T15:17:10Z")

</div>

Hi,

I have been using a collection in the default “My Workspace” for the last few months, when I attempted to share the workspace with my team members, the workspace was removed from my personal one without warning, I assumed it would make a copy.

After the collection was moved, all of the collection variables had been wiped, I filled them back in, but every time I log out they get wiped again, they always used to save when in my personal workspace.

After I fill out the variables I attempt to save manually, but the button is greyed out saying no changes have been made, how do I get the variables to save?

It is quite tedious having to fill these out each time I log in.

Thanks,  
Martin.

---

<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, 3:31pm UTC](https://community.postman.com/t/collection-variables-keep-getting-removed-after-sharing/74281/2 "2025-01-23T15:31:01Z")

</div>

Hey @martinp-mk 👋

Welcome to the Postman Community! :postman:

Do you only place the variable data in the `Current Value` section? Those are session based variables and the data would be removed if you were to share, export or log out as it is only available to you during that session.

The data in the `Initial Value` is synced and would be visible when you log back in.

In terms of saving, you could enable the Autosave feature from the settings to do the manual saving part for you.

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

Could you explain a little bit about how you were sharing the Collection with a team member from a Personal Workspace, were you using this popout?

 ![Screenshot 2025-01-23 at 15.26.43](https://us1.discourse-cdn.com/getpostman/original/3X/6/a/6a969784d15bda1fc4642e67a0d49e1d9c81d820.png)

---

<div class="post-metadata">

**Author:** ![martinp-mk](https://avatars.discourse-cdn.com/v4/letter/m/9fc29f/32.png) [@martinp-mk](https://community.postman.com/u/martinp-mk)\
**Post date:** [January 23, 2025, 3:39pm UTC](https://community.postman.com/t/collection-variables-keep-getting-removed-after-sharing/74281/3 "2025-01-23T15:39:50Z")

</div>

Hi,

Yes, I was using that pop out, and I must have missed the part that said “Move”, I have enabled the autosave feature so hopefully that will resolve the issue.

Thanks,  
Martin.

---

<div class="post-metadata">

**Author:** ![martinp-mk](https://avatars.discourse-cdn.com/v4/letter/m/9fc29f/32.png) [@martinp-mk](https://community.postman.com/u/martinp-mk)\
**Post date:** [January 24, 2025, 11:11am UTC](https://community.postman.com/t/collection-variables-keep-getting-removed-after-sharing/74281/4 "2025-01-24T11:11:14Z")

</div>

Hi,

Thanks for your suggestion, but unfortunately the problem still persists.

Do you require any additional information?

Thanks,  
Martin.

---

<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 24, 2025, 6:15pm UTC](https://community.postman.com/t/collection-variables-keep-getting-removed-after-sharing/74281/5 "2025-01-24T18:15:16Z")

</div>

Which problem still persists?

Are you now saving the values in both the initial and current values?

---

<div class="post-metadata">

**Author:** ![docking-module-geo23](https://avatars.discourse-cdn.com/v4/letter/d/c5a1d2/32.png) [@docking-module-geo23](https://community.postman.com/u/docking-module-geo23)\
**Post date:** [February 26, 2025, 10:10am UTC](https://community.postman.com/t/collection-variables-keep-getting-removed-after-sharing/74281/6 "2025-02-26T10:10:07Z")

</div>

I’ve experienced the exact same issue - I shared my collection, choosing the “move collection” option in the pop-up. It included a large list of variables that have now disappeared (I’ve checked both workspaces).  
I’m not gonna complain too much as PostMan is an awesome service, but this will take me an hour or so to fish out all the api key and params I need to rebuild my list of variables.

---

<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:** [February 26, 2025, 10:12am UTC](https://community.postman.com/t/collection-variables-keep-getting-removed-after-sharing/74281/7 "2025-02-26T10:12:51Z")

</div>

Hey @docking-module-geo23 👋

Were the variable values only placed in the “Current Value”? If so, those are only visible to you and your session.

These values are not synced anywhere and if you share, export, use the Postman API etc. Those wouldn’t be shown elsewhere.

> **[Store and reuse values using variables | Postman Docs](https://learning.postman.com/docs/sending-requests/variables/variables/#initial-and-current-values)**
>
> 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:** ![docking-module-geo23](https://avatars.discourse-cdn.com/v4/letter/d/c5a1d2/32.png) [@docking-module-geo23](https://community.postman.com/u/docking-module-geo23)\
**Post date:** [February 26, 2025, 10:16am UTC](https://community.postman.com/t/collection-variables-keep-getting-removed-after-sharing/74281/8 "2025-02-26T10:16:05Z")

</div>

Thanks for the reply, @danny-dainton!

I was just updating my last post - this was user error!

For anyone else with this issue: I found my variables by clicking on the collection / folder name in the new shared team workspace. From that view there are a few tabs, one of them is “variables”.

---

<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:** [February 26, 2025, 10:26am UTC](https://community.postman.com/t/collection-variables-keep-getting-removed-after-sharing/74281/9 "2025-02-26T10:26:19Z")

</div>

You should also be able to see all the variable using this option:

 ![Screenshot 2025-02-26 at 10.25.29](https://us1.discourse-cdn.com/getpostman/original/3X/3/0/308722c2941572e363c258d584035f2eec03a3e8.png)
