# Unable to add global variables

**URL:** <https://community.postman.com/t/unable-to-add-global-variables/58524>\
**Category:** Help Hub\
**Tags:** variables, collection-runner, cloud-agent\
**Created:** [March 6, 2024, 10:59am UTC](https://community.postman.com/t/unable-to-add-global-variables/58524 "2024-03-06T10:59:04Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![aviation-geologist14](https://avatars.discourse-cdn.com/v4/letter/a/c5a1d2/32.png) [@aviation-geologist14](https://community.postman.com/u/aviation-geologist14)\
**Post date:** [March 6, 2024, 10:59am UTC](https://community.postman.com/t/unable-to-add-global-variables/58524/1 "2024-03-06T10:59:04Z")

</div>

I can’t add global variables, after clicking on the Add button a page appears with the following message Globals not found  
We could not find the Globals you are looking for (also these global variables are configured on the tests tab - but are not displayed on the global tab). Also automatic tests stopped working (I can’t run the collection - I get an error Failed running the collection: TypeError: Cannot read properties of undefined (reading ‘id’)), although manually everything works and runs correctly.

---

<div class="post-metadata">

**Author:** ![michaelderekjones](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/michaelderekjones/32/14819_2.png) [@michaelderekjones](https://community.postman.com/u/michaelderekjones)\
**Post date:** [March 6, 2024, 12:55pm UTC](https://community.postman.com/t/unable-to-add-global-variables/58524/2 "2024-03-06T12:55:09Z")

</div>

Do you have screenshots of the issue?

Also, do these variables really need to be global?  
Available to all of your collections in your current workspace?

Wouldn’t collection or environment scopes be more suitable?

---

<div class="post-metadata">

**Author:** ![aviation-geologist14](https://avatars.discourse-cdn.com/v4/letter/a/c5a1d2/32.png) [@aviation-geologist14](https://community.postman.com/u/aviation-geologist14)\
**Post date:** [March 7, 2024, 8:22am UTC](https://community.postman.com/t/unable-to-add-global-variables/58524/3 "2024-03-07T08:22:26Z")

</div>

Previously, the collection worked on the current workspace and the variables were displayed in the global section. Currently, the variables are only displayed in the environment tab and the collection does not run. Although the requests themselves work successfully with all tests if I run them one by one manually.

 ![Снимок экрана 2024-03-07 090023](https://us1.discourse-cdn.com/getpostman/original/3X/7/f/7f1b691c7e1d4a06fe4725fa4a1a9c151a690a70.png)  
 ![Снимок экрана 2024-03-07 090549](https://us1.discourse-cdn.com/getpostman/original/3X/d/9/d986b8ec9ef639a8a7370369c81f024260c03b4c.png)  
![Снимок экрана 2024-03-07 090616|686x500]  
(upload://srXDPvHnoNe5XsYbXQNQWd5bKjX.png)  
 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/d/7/d76080461f04d4e8638fc8eb7432ff9831e8ba6b.png)  
I noticed that I can’t create a new collection either, when I click to create a new collection, I get to a page that says Collection not found  
We could not find the Collection you are looking for. Maybe there is something wrong with my user permissions or Postman settings

---

<div class="post-metadata">

**Author:** ![aviation-geologist14](https://avatars.discourse-cdn.com/v4/letter/a/c5a1d2/32.png) [@aviation-geologist14](https://community.postman.com/u/aviation-geologist14)\
**Post date:** [March 7, 2024, 8:24am UTC](https://community.postman.com/t/unable-to-add-global-variables/58524/4 "2024-03-07T08:24:26Z")

</div>

![Снимок экрана 2024-03-07 090616](https://us1.discourse-cdn.com/getpostman/original/3X/c/7/c7660af8b1171a5d282b4f8fa38dcf5abdd2c465.png)

---

<div class="post-metadata">

**Author:** ![aviation-geologist14](https://avatars.discourse-cdn.com/v4/letter/a/c5a1d2/32.png) [@aviation-geologist14](https://community.postman.com/u/aviation-geologist14)\
**Post date:** [March 7, 2024, 8:49am UTC](https://community.postman.com/t/unable-to-add-global-variables/58524/5 "2024-03-07T08:49:05Z")

</div>

It happened because of this error **Error: You have reached your cloud agent usage limit** I was able to re-configure the entire collection in the desktop app and everything works successfully

 ![Снимок экрана 2024-03-07 094609](https://us1.discourse-cdn.com/getpostman/original/3X/0/b/0bb0d85a16c5d33d68f06e4571bb4d67660df8f2.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:** [March 7, 2024, 9:06am UTC](https://community.postman.com/t/unable-to-add-global-variables/58524/6 "2024-03-07T09:06:43Z")

</div>

If you wanted to continue using the web platform - You could install the Postman Desktop Agent:

> **[Postman Agent: For Mac, Windows, & Linux](https://www.postman.com/downloads/postman-agent/)**
>
> The Postman agent overcomes the Cross-Origin Resource Sharing (CORS) limitations of browsers, and facilitates API request sending from your browser version of Postman.

More information on the different agents can be found here:

> **[About the Postman Agent | Postman Learning Center](https://learning.postman.com/docs/getting-started/basics/about-postman-agent/)**
>
> About the Postman Agent: documentation for Postman, the collaboration platform for API development. Create better APIs—faster.

---

<div class="post-metadata">

**Author:** ![aviation-geologist14](https://avatars.discourse-cdn.com/v4/letter/a/c5a1d2/32.png) [@aviation-geologist14](https://community.postman.com/u/aviation-geologist14)\
**Post date:** [March 7, 2024, 9:19am UTC](https://community.postman.com/t/unable-to-add-global-variables/58524/7 "2024-03-07T09:19:37Z")

</div>

Yes I wrote that I did it and it works successfully, thank you.

---

<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:** [March 7, 2024, 9:21am UTC](https://community.postman.com/t/unable-to-add-global-variables/58524/8 "2024-03-07T09:21:26Z")

</div>

You wrote that you’re using the _desktop app_ - did you mean the _desktop agent_?

The app and the agent are 2 different things 😓

---

<div class="post-metadata">

**Author:** ![aviation-geologist14](https://avatars.discourse-cdn.com/v4/letter/a/c5a1d2/32.png) [@aviation-geologist14](https://community.postman.com/u/aviation-geologist14)\
**Post date:** [March 7, 2024, 9:23am UTC](https://community.postman.com/t/unable-to-add-global-variables/58524/9 "2024-03-07T09:23:51Z")

</div>

I use this one  
 ![Снимок экрана 2024-03-07 102237](https://us1.discourse-cdn.com/getpostman/original/3X/6/4/6426f77d63c24ae388b4a74ccd985e4134c473d1.png)

 ![Снимок экрана 2024-03-07 102314](https://us1.discourse-cdn.com/getpostman/original/3X/e/b/eb313f4952c894fe0904506702f00e7a23bfd871.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:** [March 7, 2024, 9:27am UTC](https://community.postman.com/t/unable-to-add-global-variables/58524/10 "2024-03-07T09:27:48Z")

</div>

That would be the Desktop App - Which is awesome 🏆

If you wanted to continue using Postman in your browser - You can download the desktop agent (the link I posted) but both work in the same way. 😃

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [April 6, 2024, 9:28am UTC](https://community.postman.com/t/unable-to-add-global-variables/58524/11 "2024-04-06T09:28:45Z")

</div>

Closed on April 6, 2024, 9:28am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
