# Grabbing Data From Postman Environments API Endpoint

**URL:** <https://community.postman.com/t/grabbing-data-from-postman-environments-api-endpoint/31157>\
**Category:** Help Hub\
**Created:** [December 30, 2021, 10:24pm UTC](https://community.postman.com/t/grabbing-data-from-postman-environments-api-endpoint/31157 "2021-12-30T22:24:05Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![xbynum](https://avatars.discourse-cdn.com/v4/letter/x/a3d4f5/32.png) [@xbynum](https://community.postman.com/u/xbynum)\
**Post date:** [December 30, 2021, 10:24pm UTC](https://community.postman.com/t/grabbing-data-from-postman-environments-api-endpoint/31157/1 "2021-12-30T22:24:05Z")

</div>

Summary:  
While trying to access the Postman API resource to identify all environments I have access to, I received an error that stated “Input parameters are not valid”. I ensured that my API key is valid by trying to access other Postman resources, which worked fine. I also double checked the Postman URL I was trying to hit to confirm it was the right one. Could someone please help me understand what I may be doing incorrectly? I have inserted screenshots below containing the python code I am using, as well as the error I am receiving.

Screenshots:

 ![image001](https://us1.discourse-cdn.com/getpostman/original/3X/2/6/261aad584713754e06c7c513bd9ebb3162eeee63.png)  
 ![image002](https://us1.discourse-cdn.com/getpostman/original/3X/a/e/ae83ba6e603753f8c05c8a2eb1e5c4b5b84aa7c7.png)

Research:  
Lastly, I did read the following post to try to get an understanding of the issue - [Unable to get environments list using postman API](https://community.postman.com/t/unable-to-get-environments-list-using-postman-api/2786). However, the environment files I am not seeing via the API are the ones in which I own.

---

<div class="post-metadata">

**Author:** ![xbynum](https://avatars.discourse-cdn.com/v4/letter/x/a3d4f5/32.png) [@xbynum](https://community.postman.com/u/xbynum)\
**Post date:** [January 3, 2022, 4:35pm UTC](https://community.postman.com/t/grabbing-data-from-postman-environments-api-endpoint/31157/2 "2022-01-03T16:35:04Z")

</div>

Received a reply from Postman personnel:

Hi Xavier,

Sorry for the persisting issue.  
We were able to replicate this issue on our end.  
I have escalated this to our engineering team and will get back to you as soon as I heard back from them.

Thanks so much for your patience.

---

<div class="post-metadata">

**Author:** ![jfbriere](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/jfbriere/32/8444_2.png) [@jfbriere](https://community.postman.com/u/jfbriere)\
**Post date:** [January 8, 2022, 8:31pm UTC](https://community.postman.com/t/grabbing-data-from-postman-environments-api-endpoint/31157/3 "2022-01-08T20:31:40Z")

</div>

We have the exact same problem.

Suddenly Cannot GET the environments with a valid API key.  
It was working fine previously.

We depend on this to work in our batch testing engine.

When will it be fixed?

---

<div class="post-metadata">

**Author:** ![xbynum](https://avatars.discourse-cdn.com/v4/letter/x/a3d4f5/32.png) [@xbynum](https://community.postman.com/u/xbynum)\
**Post date:** [January 10, 2022, 2:48pm UTC](https://community.postman.com/t/grabbing-data-from-postman-environments-api-endpoint/31157/4 "2022-01-10T14:48:10Z")

</div>

@jfbriere Technical support informed me that they were going to resolve the problem by the end of week, which should have been 01/08/2022. I’m still experiencing the issue though, so I’m going to follow up with them now. I’ll post another reply once I receive an update.

---

<div class="post-metadata">

**Author:** ![xbynum](https://avatars.discourse-cdn.com/v4/letter/x/a3d4f5/32.png) [@xbynum](https://community.postman.com/u/xbynum)\
**Post date:** [January 10, 2022, 4:04pm UTC](https://community.postman.com/t/grabbing-data-from-postman-environments-api-endpoint/31157/5 "2022-01-10T16:04:27Z")

</div>

@jfbriere It appears that Wednesday, January 12, 2022 is the ETA for the fix.

 ![Screen Shot 2022-01-10 at 10.02.47 AM](https://us1.discourse-cdn.com/getpostman/original/2X/a/a282841664b6509a71254d6d5d563d6c856df729.png)

---

<div class="post-metadata">

**Author:** ![jfbriere](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/jfbriere/32/8444_2.png) [@jfbriere](https://community.postman.com/u/jfbriere)\
**Post date:** [January 10, 2022, 4:54pm UTC](https://community.postman.com/t/grabbing-data-from-postman-environments-api-endpoint/31157/6 "2022-01-10T16:54:46Z")

</div>

@xbynum Thank you very much for the information you are providing.  
It is greatly appreciated.  
I submitted a request with the Postman _Submit a request_ form about this issue and received only uninformed responses.  
I had to insist that this was currently investigated (also by providing the link to this current thread) but then only received a vague acknowledgment without any details and certainly no resolution target date.  
I also searched the issues of github’s postman-app-support but found nothing about this issue.  
Just out of curiosity is there another way to contact them when there is a technical issue?

---

<div class="post-metadata">

**Author:** ![xbynum](https://avatars.discourse-cdn.com/v4/letter/x/a3d4f5/32.png) [@xbynum](https://community.postman.com/u/xbynum)\
**Post date:** [January 10, 2022, 5:08pm UTC](https://community.postman.com/t/grabbing-data-from-postman-environments-api-endpoint/31157/7 "2022-01-10T17:08:43Z")

</div>

@jfbriere That is surprising and concerning. I sent an email to “[help@postman.com](mailto:help@postman.com)” regarding the issue on December 30th, 2021 and received a response on January 2nd, 2022. I’d say the response time was pretty quick considering it was a US holiday.

Since reporting the issue, I’ve been receiving responses on the same day that I send a request for more information.

---

<div class="post-metadata">

**Author:** ![jfbriere](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/jfbriere/32/8444_2.png) [@jfbriere](https://community.postman.com/u/jfbriere)\
**Post date:** [January 10, 2022, 7:37pm UTC](https://community.postman.com/t/grabbing-data-from-postman-environments-api-endpoint/31157/8 "2022-01-10T19:37:19Z")

</div>

@xbynum That you for your answer.  
Good to know.  
Next time there is a technical issue, I will instead send an email to “[help@postman.com](mailto:help@postman.com)”.

---

<div class="post-metadata">

**Author:** ![xbynum](https://avatars.discourse-cdn.com/v4/letter/x/a3d4f5/32.png) [@xbynum](https://community.postman.com/u/xbynum)\
**Post date:** [January 17, 2022, 3:01pm UTC](https://community.postman.com/t/grabbing-data-from-postman-environments-api-endpoint/31157/9 "2022-01-17T15:01:55Z")

</div>

Another reply from Postman support staff can be found here - [Postman API - GET environments request error](https://community.postman.com/t/postman-api-get-environments-request-error/29715)

---

<div class="post-metadata">

**Author:** ![xbynum](https://avatars.discourse-cdn.com/v4/letter/x/a3d4f5/32.png) [@xbynum](https://community.postman.com/u/xbynum)\
**Post date:** [January 20, 2022, 2:00pm UTC](https://community.postman.com/t/grabbing-data-from-postman-environments-api-endpoint/31157/10 "2022-01-20T14:00:23Z")

</div>

This issue has been corrected on my end. A fix has been released.
