# Can't run a collection with imported Data file

**URL:** <https://community.postman.com/t/cant-run-a-collection-with-imported-data-file/40637>\
**Category:** Help Hub\
**Created:** [October 31, 2022, 5:13pm UTC](https://community.postman.com/t/cant-run-a-collection-with-imported-data-file/40637 "2022-10-31T17:13:29Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![aerospace-technolog6](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@aerospace-technolog6](https://community.postman.com/u/aerospace-technolog6)\
**Post date:** [October 31, 2022, 5:13pm UTC](https://community.postman.com/t/cant-run-a-collection-with-imported-data-file/40637/1 "2022-10-31T17:13:29Z")

</div>

Why can’t I run a collection when I import a data file with a bunch of requests?

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

The preview of the imported data file looks fine.

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

Thank you for your help!

---

<div class="post-metadata">

**Author:** ![w4dd325](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/w4dd325/32/12436_2.png) [@w4dd325](https://community.postman.com/u/w4dd325)\
**Post date:** [October 31, 2022, 5:26pm UTC](https://community.postman.com/t/cant-run-a-collection-with-imported-data-file/40637/2 "2022-10-31T17:26:56Z")

</div>

Hi @aerospace-technolog6

Struggling to reproduce this… Could you confirm you have the HTTP request selected in the ‘Run Order’ section to the left of the above screenshot?

Maybe screenshot the whole screen so we can see how it all looks? cheers

---

<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:** [October 31, 2022, 8:23pm UTC](https://community.postman.com/t/cant-run-a-collection-with-imported-data-file/40637/3 "2022-10-31T20:23:38Z")

</div>

Is that your Collection?

Is it in a Workspace that you have Admin or Editor access?

---

<div class="post-metadata">

**Author:** ![aerospace-technolog6](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@aerospace-technolog6](https://community.postman.com/u/aerospace-technolog6)\
**Post date:** [October 31, 2022, 8:25pm UTC](https://community.postman.com/t/cant-run-a-collection-with-imported-data-file/40637/4 "2022-10-31T20:25:23Z")

</div>

Hi Dannydainton. It’s a private free version.

---

<div class="post-metadata">

**Author:** ![aerospace-technolog6](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@aerospace-technolog6](https://community.postman.com/u/aerospace-technolog6)\
**Post date:** [October 31, 2022, 8:28pm UTC](https://community.postman.com/t/cant-run-a-collection-with-imported-data-file/40637/5 "2022-10-31T20:28:38Z")

</div>

Hi w4dd325,

here’s a screenshot:

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

Thanks!

---

<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:** [October 31, 2022, 8:32pm UTC](https://community.postman.com/t/cant-run-a-collection-with-imported-data-file/40637/6 "2022-10-31T20:32:42Z")

</div>

Can you try going to the Collection tab and opening the Collection in the Runner from there?

You can do this from the view more options menu (the 3 dots when you hover over the Collection name). There you will see the `Run collection` option.

---

<div class="post-metadata">

**Author:** ![aerospace-technolog6](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@aerospace-technolog6](https://community.postman.com/u/aerospace-technolog6)\
**Post date:** [October 31, 2022, 10:01pm UTC](https://community.postman.com/t/cant-run-a-collection-with-imported-data-file/40637/7 "2022-10-31T22:01:02Z")

</div>

> [@danny-dainton](#):
>
> m the view more options men

Hi Dannydainton,

this enables to run with the imported data file. Thanks.

So I was expecting to be able to import a larger number of requests like this:

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

But that seems not to work:

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/d/8/d80665ede12acfdd120b9b48c8caa413d4462d57.png)

So is this not the intention of loading a data file into a collection run?

Thanks?

---

<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:** [October 31, 2022, 10:08pm UTC](https://community.postman.com/t/cant-run-a-collection-with-imported-data-file/40637/8 "2022-10-31T22:08:28Z")

</div>

The datafiles allow you to specify a set of values, that can be used in the requests. These are accessed in different areas of the Collection using the variable placeholder syntax.

> **[Importing data files | Postman Learning Center](https://learning.postman.com/docs/running-collections/working-with-data-files/)**
>
> Importing data files: documentation for Postman, the collaboration platform for API development. Create better APIs—faster.

---

<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:** [November 1, 2022, 1:03pm UTC](https://community.postman.com/t/cant-run-a-collection-with-imported-data-file/40637/9 "2022-11-01T13:03:32Z")

</div>

Sounds like you need to have a collection with a delete request in it.

You can parameterise the URL to use the data from the file.

It should run the delete request once for each line in the CSV file.
