# \#scope

**URL:** https://community.postman.com/tag/scope/355.md

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

---

## [API request scope always shows default](https://community.postman.com/t/api-request-scope-always-shows-default/54946)

<div class="topic-metadata">

**Author:** [@hubyub](https://community.postman.com/u/hubyub)\
**Replies:** 0\
**Last updated:** [November 23, 2023, 7:12pm UTC](https://community.postman.com/t/api-request-scope-always-shows-default/54946 "2023-11-23T19:12:02Z")

</div>

I am requesting access\_token through postman also providing the required scopes. However the resulting token does not include the scope and if I check, the scope reverts to DEFAULT - I have tried everything but cannot ge…

---

## [Authorization Token / Bearer Token - multiple scopes?](https://community.postman.com/t/authorization-token-bearer-token-multiple-scopes/42270)

<div class="topic-metadata">

**Author:** [@jjana97](https://community.postman.com/u/jjana97)\
**Replies:** 2\
**Last updated:** [January 3, 2023, 3:48pm UTC](https://community.postman.com/t/authorization-token-bearer-token-multiple-scopes/42270 "2023-01-03T15:48:04Z")

</div>

Hello! This is my first time working with something like an API and I only have very limited programming knowledge. I am trying to get data from an API database for a research project and I am running into a problem wit…

---

## [What is the difference between initializing variables using var vs pm.variables.set?](https://community.postman.com/t/what-is-the-difference-between-initializing-variables-using-var-vs-pm-variables-set/26642)

<div class="topic-metadata">

**Author:** [@stelpstra](https://community.postman.com/u/stelpstra)\
**Replies:** 2\
**Last updated:** [March 29, 2022, 11:15pm UTC](https://community.postman.com/t/what-is-the-difference-between-initializing-variables-using-var-vs-pm-variables-set/26642 "2022-03-29T23:15:07Z")

</div>

Hi, In a collection with multiple requests, if I create a variables like this in Pre-requests Scripts or Tests of one of the requests: var myVar1 = "I am created using var"; pm.variables.set("myVar2", "I am created usi…

---

## [Controlling variable scope to request level](https://community.postman.com/t/controlling-variable-scope-to-request-level/7856)

<div class="topic-metadata">

**Author:** [@morleym\_cubic](https://community.postman.com/u/morleym_cubic)\
**Replies:** 10\
**Last updated:** [September 20, 2019, 5:15am UTC](https://community.postman.com/t/controlling-variable-scope-to-request-level/7856 "2019-09-20T05:15:14Z")

</div>

Describe the issue Team members are using environment variables to set request variable values in their pre-request scripts (not just headers, URL endpoints, etc.). This, as expected, is causing scope pollution with blo…
