# Postman CLI - Collection run

**URL:** <https://community.postman.com/t/postman-cli-collection-run/39307>\
**Category:** Help Hub\
**Tags:** collections, cli\
**Created:** [September 21, 2022, 8:52am UTC](https://community.postman.com/t/postman-cli-collection-run/39307 "2022-09-21T08:52:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![xUrko](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/xurko/32/9969_2.png) [@xUrko](https://community.postman.com/u/xUrko)\
**Post date:** [September 21, 2022, 8:52am UTC](https://community.postman.com/t/postman-cli-collection-run/39307/1 "2022-09-21T08:52:56Z")

</div>

I have installed Postman CLI and exported the collection and environment from the Postman agent.

The collection has two requests. The first one is a call for a session token, which is stored as a variable in the environment. The second token uses the variable from the first request and executes some action.

When I execute the collection with the following parameters:

postman collection run SpaceAPI\_Collection.json -e SpaceAPI\_ENV.json

I get the following msg:

Error: No authorization data found.

---

<div class="post-metadata">

**Author:** ![vdespa](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/vdespa/32/2770_2.png) [@vdespa](https://community.postman.com/u/vdespa)\
**Post date:** [October 14, 2022, 12:05am UTC](https://community.postman.com/t/postman-cli-collection-run/39307/2 "2022-10-14T00:05:19Z")

</div>

Postman expects you to be logged in, even if you are using local JSON files.

Not sure if this is a bug or a feature.

---

<div class="post-metadata">

**Author:** ![aakash.gupta](https://avatars.discourse-cdn.com/v4/letter/a/a9adbd/32.png) [@aakash.gupta](https://community.postman.com/u/aakash.gupta)\
**Post date:** [December 20, 2022, 4:49am UTC](https://community.postman.com/t/postman-cli-collection-run/39307/3 "2022-12-20T04:49:12Z")

</div>

login to postman is to send information to postman about the run just happened. Once Postman has the run details you can view them in postman directly.
