# Environments GET call api.getpostman.com returning 404 when / after environment id

**URL:** <https://community.postman.com/t/environments-get-call-api-getpostman-com-returning-404-when-after-environment-id/76761>\
**Category:** Help Hub\
**Tags:** environments, postman-api\
**Created:** [March 11, 2025, 6:48pm UTC](https://community.postman.com/t/environments-get-call-api-getpostman-com-returning-404-when-after-environment-id/76761 "2025-03-11T18:48:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rafe.kemmis](https://avatars.discourse-cdn.com/v4/letter/r/f04885/32.png) [@rafe.kemmis](https://community.postman.com/u/rafe.kemmis)\
**Post date:** [March 11, 2025, 6:48pm UTC](https://community.postman.com/t/environments-get-call-api-getpostman-com-returning-404-when-after-environment-id/76761/1 "2025-03-11T18:48:20Z")

</div>

Starting sometime since last Thursday, when newman tries to get a particular environment it gets a 404 response.

[https://api.getpostman.com/environments/ENVIRONMENT\_ID/?apikey=API\_KEY](https://api.getpostman.com/environments/ENVIRONMENT_ID/?apikey=API_KEY)

If we remove the / after ENVIRONMENT\_ID then the request works again. It seems like the Postman team might have pushed a change to the api.

---

<div class="post-metadata">

**Author:** ![andreadepirro](https://avatars.discourse-cdn.com/v4/letter/a/977dab/32.png) [@andreadepirro](https://community.postman.com/u/andreadepirro)\
**Post date:** [March 12, 2025, 1:09pm UTC](https://community.postman.com/t/environments-get-call-api-getpostman-com-returning-404-when-after-environment-id/76761/2 "2025-03-12T13:09:41Z")

</div>

Hi Rafe,  
Thanks for reporting the issue. We’re working on a fix. In the meantime, please avoid sending the trailing slash if possible.

---

<div class="post-metadata">

**Author:** ![andreadepirro](https://avatars.discourse-cdn.com/v4/letter/a/977dab/32.png) [@andreadepirro](https://community.postman.com/u/andreadepirro)\
**Post date:** [March 13, 2025, 12:36pm UTC](https://community.postman.com/t/environments-get-call-api-getpostman-com-returning-404-when-after-environment-id/76761/3 "2025-03-13T12:36:49Z")

</div>

Hi Rafe,  
we fixed the issue, now it should return the environment with or without the trailing slash.  
Thanks!
