# Postman CLI treats skipped requests as failed

**URL:** <https://community.postman.com/t/postman-cli-treats-skipped-requests-as-failed/90378>\
**Category:** Help Hub\
**Tags:** tests, collections, postmancli\
**Created:** [May 12, 2026, 11:52am UTC](https://community.postman.com/t/postman-cli-treats-skipped-requests-as-failed/90378 "2026-05-12T11:52:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![adam-cimoch-d8f487b0](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@adam-cimoch-d8f487b0](https://community.postman.com/u/adam-cimoch-d8f487b0)\
**Post date:** [May 12, 2026, 11:52am UTC](https://community.postman.com/t/postman-cli-treats-skipped-requests-as-failed/90378/1 "2026-05-12T11:52:36Z")

</div>

I would like to run my Postman tests in CI/CD with the ability to skip certain requests located in same collection/driectory. However Postman CLI treats requests with `pm.execution.skipRequest();` as failed. Everything works fine when using manual run.

Is there any remedy to that?

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/7/9/79d496fcaa3d793ac83fff60154206152fc84847.png)

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/d/8/d8c5cffc3bd11cd699a8239cdf9c3b37cc707431.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:** [May 12, 2026, 12:14pm UTC](https://community.postman.com/t/postman-cli-treats-skipped-requests-as-failed/90378/2 "2026-05-12T12:14:15Z")

</div>

Hey @adam-cimoch-d8f487b0

What’s the outcome what you run this with the Collection Runner?

---

<div class="post-metadata">

**Author:** ![adam-cimoch-d8f487b0](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@adam-cimoch-d8f487b0](https://community.postman.com/u/adam-cimoch-d8f487b0)\
**Post date:** [May 12, 2026, 12:17pm UTC](https://community.postman.com/t/postman-cli-treats-skipped-requests-as-failed/90378/4 "2026-05-12T12:17:42Z")

</div>

![image](https://us1.discourse-cdn.com/getpostman/original/3X/5/b/5baa29ba505cffbdcd499acde81f68e195696759.png)

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/9/4/947b8296d7cc5333a7c4c706defb05cfbcbfe56c.png)

---

<div class="post-metadata">

**Author:** ![adam-cimoch-d8f487b0](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@adam-cimoch-d8f487b0](https://community.postman.com/u/adam-cimoch-d8f487b0)\
**Post date:** [May 13, 2026, 7:55am UTC](https://community.postman.com/t/postman-cli-treats-skipped-requests-as-failed/90378/5 "2026-05-13T07:55:07Z")

</div>

Do you need more info? Is it a feature? :0

---

<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:** [May 13, 2026, 11:12am UTC](https://community.postman.com/t/postman-cli-treats-skipped-requests-as-failed/90378/6 "2026-05-13T11:12:23Z")

</div>

Can you provide some more context about where you have placed this and the logic around it?

With that failed request in the CLI, what was the given reason? Are there any error messages?

---

<div class="post-metadata">

**Author:** ![adam-cimoch-d8f487b0](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@adam-cimoch-d8f487b0](https://community.postman.com/u/adam-cimoch-d8f487b0)\
**Post date:** [May 19, 2026, 9:22am UTC](https://community.postman.com/t/postman-cli-treats-skipped-requests-as-failed/90378/7 "2026-05-19T09:22:55Z")

</div>

Sure @danny-dainton

I’m running into a peculiar issue with Postman CLI and how it handles skipped requests when I specify a collection by name.

**My Setup:**

- I have a Postman collection called “API”.

- Within this collection, I have 3 folders, each containing a few requests.

- I run a single folder at a time.

- I provide iteration data (both via CLI and UI) which I use to determine which requests to skip dynamically via scripts.

**What Works (No Issues):**

- Running a folder via the **Postman UI**.

- Running a folder via the **Postman CLI using folder UUIDs**. In both these cases, skipped requests are handled correctly and do not cause any errors.  
`postman collection run `_`uuid`_`-i`_`uuid`_`—iteration-data`_`path`_

**The Problem:**

- When I run a folder via the **Postman CLI using the collection name** , any requests that are _skipped_ (based on my iteration data logic) are unexpectedly treated as _failed requests_, even though they were never executed.  
`postman collection run `_`pathToCollection`_`-i`_`subFolderName`_`—iteration-data`_`path`_

**Error Message:** For these skipped-but-failed requests, I receive the following error: **`Request could not be completed at request inside "API People/GetAllPeople"`**

This behavior only occurs when using the folder name located inside a collection via the CLI, not with UUIDs or the UI.

Terminal result for UUID:

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/7/f/7fd4180bce0bc6cba38f918190f49b7295878abe.png)

Terminal result for named -i paramter

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/e/7/e7e549dafae18e6013f03200c44e0d1255d25a6f.png)
