# \#environment

**URL:** https://community.postman.com/tag/environment/423.md

[Latest](https://community.postman.com/latest.md) · [Categories](https://community.postman.com/categories.md) · [Tags](https://community.postman.com/tags.md)

---

## [Postman Upgrade removes the pinned Environment](https://community.postman.com/t/postman-upgrade-removes-the-pinned-environment/80845)

<div class="topic-metadata">

**Author:** [@jameskauczka](https://community.postman.com/u/jameskauczka)\
**Replies:** 1\
**Last updated:** [June 5, 2025, 9:02am UTC](https://community.postman.com/t/postman-upgrade-removes-the-pinned-environment/80845 "2025-06-05T09:02:49Z")

</div>

This morning I updated Postman to the latest version (v11.48.3) and all of the sudden I could not get authorization OAuth 2.0. I could do a refresh of the token but not get a new one. the Refreshed token resulted in an e…

---

## [Environment variables suddenly stopped populating](https://community.postman.com/t/environment-variables-suddenly-stopped-populating/71370)

<div class="topic-metadata">

**Author:** [@docking-module-cos10](https://community.postman.com/u/docking-module-cos10)\
**Replies:** 10\
**Last updated:** [December 10, 2024, 1:49am UTC](https://community.postman.com/t/environment-variables-suddenly-stopped-populating/71370 "2024-12-10T01:49:39Z")

</div>

I have an API setup under “APIs” that uses 2 environment variables from the “global scope” of the project: CHECKMATE\_API\_URL and CHECKMATE\_API\_TOKEN. These have been working just fine when I use them under my API’s colle…

---

## [How to access --env-var variable in pre-request script?](https://community.postman.com/t/how-to-access-env-var-variable-in-pre-request-script/42947)

<div class="topic-metadata">

**Author:** [@maddythedeveloper](https://community.postman.com/u/maddythedeveloper)\
**Replies:** 4\
**Last updated:** [January 18, 2023, 9:03am UTC](https://community.postman.com/t/how-to-access-env-var-variable-in-pre-request-script/42947 "2023-01-18T09:03:35Z")

</div>

Archived topic — this may be out of date. Newman has been replaced by the Postman CLI, Postman’s official, signed command-line tool. It runs collections as Newman did, and also lints API specs, runs mocks and monitors,…

---

## [Test Passes in Postman (200 Ok) but fails in Newman (404 Not Found)](https://community.postman.com/t/test-passes-in-postman-200-ok-but-fails-in-newman-404-not-found/13610)

<div class="topic-metadata">

**Author:** [@fairouz05](https://community.postman.com/u/fairouz05)\
**Replies:** 6\
**Last updated:** [November 15, 2022, 10:32pm UTC](https://community.postman.com/t/test-passes-in-postman-200-ok-but-fails-in-newman-404-not-found/13610 "2022-11-15T22:32:14Z")

</div>

Archived topic — this may be out of date. Newman has been replaced by the Postman CLI, Postman’s official, signed command-line tool. It runs collections as Newman did, and also lints API specs, runs mocks and monitors,…

---

## [Is there a way to retrieve a URL with environment variables resolved?](https://community.postman.com/t/is-there-a-way-to-retrieve-a-url-with-environment-variables-resolved/21153)

<div class="topic-metadata">

**Author:** [@hfhInventio](https://community.postman.com/u/hfhInventio)\
**Replies:** 12\
**Last updated:** [December 31, 2021, 5:43am UTC](https://community.postman.com/t/is-there-a-way-to-retrieve-a-url-with-environment-variables-resolved/21153 "2021-12-31T05:43:17Z")

</div>

We have a ton of requests and all of them have the same format. All of them contain environment variables but its a pain when you want to send the URL of a request to someone else because you have to manually replace all…

---

## [How to change the variables form environment to collection level?](https://community.postman.com/t/how-to-change-the-variables-form-environment-to-collection-level/13911)

<div class="topic-metadata">

**Author:** [@SaravananSeenivasan](https://community.postman.com/u/SaravananSeenivasan)\
**Replies:** 0\
**Last updated:** [July 6, 2020, 9:40am UTC](https://community.postman.com/t/how-to-change-the-variables-form-environment-to-collection-level/13911 "2020-07-06T09:40:06Z")

</div>

i want to move variables from environment to collection level but i do not find import option in collection level, please advise.

---

## [Using initial vs. current variable interchangeably](https://community.postman.com/t/using-initial-vs-current-variable-interchangeably/13139)

<div class="topic-metadata">

**Author:** [@SKLuminary](https://community.postman.com/u/SKLuminary)\
**Replies:** 0\
**Last updated:** [June 4, 2020, 7:53pm UTC](https://community.postman.com/t/using-initial-vs-current-variable-interchangeably/13139 "2020-06-04T19:53:39Z")

</div>

I have a collection of tests that compare the values in a JSON response to initial environmental variables, then updates the environmental variables accordingly with the new values. However, I also have tests that I stil…
