# 'Inherit auth from parent' type of Authorization doesn't work while running Collection Runner

**URL:** <https://community.postman.com/t/inherit-auth-from-parent-type-of-authorization-doesnt-work-while-running-collection-runner/9092>\
**Category:** Help Hub\
**Tags:** variables, collections\
**Created:** [November 18, 2019, 8:39pm UTC](https://community.postman.com/t/inherit-auth-from-parent-type-of-authorization-doesnt-work-while-running-collection-runner/9092 "2019-11-18T20:39:35Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexandraTkachenko](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@AlexandraTkachenko](https://community.postman.com/u/AlexandraTkachenko)\
**Post date:** [November 18, 2019, 8:39pm UTC](https://community.postman.com/t/inherit-auth-from-parent-type-of-authorization-doesnt-work-while-running-collection-runner/9092/1 "2019-11-18T20:39:35Z")

</div>

Hi,

I have 285 requests in my Postman Collection, in some of them, I use ‘Inherit auth from parent’ type of Authorization.  
The tests are failed when the request contains ‘Inherit auth from parent’ type of Authorization and while running Collection Runner. The tests are passed when I run the requests manually. Why does it happen?  
The Collection starts from the Authorization request.  
The requests which are failed have the following response:  
**Response Body**

1. Action: “ProfileLookup”

2. Error: “SystemNotAuthorized”

3. Description: “You must be signed in to use this functionality”

**Your question may already have an answer on the community forum. Please search for related topics, and then read through the [guidelines](https://community.postman.com/t/about-the-help-category/38) before creating a new topic.**

---

<div class="post-metadata">

**Author:** ![john-paul](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/john-paul/32/919_2.png) [@john-paul](https://community.postman.com/u/john-paul)\
**Post date:** [November 19, 2019, 12:26am UTC](https://community.postman.com/t/inherit-auth-from-parent-type-of-authorization-doesnt-work-while-running-collection-runner/9092/2 "2019-11-19T00:26:14Z")

</div>

Hi Alexandra,

Thanks for flagging this. Can you share what auth method you’re using? Also, what version of the Postman app do you have installed?

---

<div class="post-metadata">

**Author:** ![AlexandraTkachenko](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@AlexandraTkachenko](https://community.postman.com/u/AlexandraTkachenko)\
**Post date:** [November 19, 2019, 7:56am UTC](https://community.postman.com/t/inherit-auth-from-parent-type-of-authorization-doesnt-work-while-running-collection-runner/9092/3 "2019-11-19T07:56:50Z")

</div>

Hi John-Paul,

I use ‘Inherit auth from parent’ method of auth. I have installed Version 7.11.0 Postman for Windows.  
 ![28](https://us1.discourse-cdn.com/getpostman/original/2X/c/cc611b0878367ca4b00219f7dda233febba4ba22.png)

---

<div class="post-metadata">

**Author:** ![john-paul](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/john-paul/32/919_2.png) [@john-paul](https://community.postman.com/u/john-paul)\
**Post date:** [November 19, 2019, 7:03pm UTC](https://community.postman.com/t/inherit-auth-from-parent-type-of-authorization-doesnt-work-while-running-collection-runner/9092/4 "2019-11-19T19:03:43Z")

</div>

Gotcha, thanks for sharing. What auth method is being inherited? NTLM, Basic, etc.

---

<div class="post-metadata">

**Author:** ![AlexandraTkachenko](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@AlexandraTkachenko](https://community.postman.com/u/AlexandraTkachenko)\
**Post date:** [November 20, 2019, 10:05am UTC](https://community.postman.com/t/inherit-auth-from-parent-type-of-authorization-doesnt-work-while-running-collection-runner/9092/5 "2019-11-20T10:05:16Z")

</div>

> [@john-paul](#):
>
> NTLM

Ok, Could you share with me where I can check it?  
 ![10](https://us1.discourse-cdn.com/getpostman/original/2X/b/b24bfdd3d885d9e9f3405c8f46bab7daea71dc12.png)

---

<div class="post-metadata">

**Author:** ![john-paul](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/john-paul/32/919_2.png) [@john-paul](https://community.postman.com/u/john-paul)\
**Post date:** [November 20, 2019, 6:30pm UTC](https://community.postman.com/t/inherit-auth-from-parent-type-of-authorization-doesnt-work-while-running-collection-runner/9092/6 "2019-11-20T18:30:15Z")

</div>

Hi Alexandra,

`Inherit auth from parent` allows a request to inherit it’s authentication method and credentials from either the folder its in, or the Collection itself. Details can be found here:

- [https://learning.getpostman.com/docs/postman/sending-api-requests/authorization/#inheriting-auth](https://learning.getpostman.com/docs/postman/sending-api-requests/authorization/#inheriting-auth)

Based on the error message you provided, it sounds like at least one of your request requires authentication. If needed, you can either specify this authentication directly in the request (the tab in your last screenshot).

---

<div class="post-metadata">

**Author:** ![AlexandraTkachenko](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@AlexandraTkachenko](https://community.postman.com/u/AlexandraTkachenko)\
**Post date:** [November 21, 2019, 1:48pm UTC](https://community.postman.com/t/inherit-auth-from-parent-type-of-authorization-doesnt-work-while-running-collection-runner/9092/7 "2019-11-21T13:48:44Z")

</div>

Hi John-Paul,

Thanks for your answer, just would like to clarify which type of authentication I should use.  
For now, my Collection starts with /Login/ request, auth method (Authorization Tab) - ‘No auth’, after I use the following script to save Bearer Token authorization:  
pm.environment.set(“token”, response.Token); to Variables of environment.  
After that, I create a new request where I use auth method (Authorization Tab) - ‘Inherit auth form parent’. Maybe to solve this issue the best potion is to use auth method (Authorization Tab) - ‘Bearer Token’?  
Actually I use ‘Bearer Token’ {{token}} on the Collection level. So I have no idea how to fix it(

 ![29](https://us1.discourse-cdn.com/getpostman/original/3X/0/b/0b337f9b0065cacb797620a1748342883f71def1.png)

---

<div class="post-metadata">

**Author:** ![john-paul](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/john-paul/32/919_2.png) [@john-paul](https://community.postman.com/u/john-paul)\
**Post date:** [November 21, 2019, 10:40pm UTC](https://community.postman.com/t/inherit-auth-from-parent-type-of-authorization-doesnt-work-while-running-collection-runner/9092/8 "2019-11-21T22:40:02Z")

</div>

Hi Alexandra,

Got it, thank you for the details.

When you run this Collection in the Runner, are you selecting the correct environment? This may be why it succeeds when sending the requests individually, but fails in the Runner:

 ![03%20PM](https://us1.discourse-cdn.com/getpostman/original/3X/6/5/65155f746b00f6817e22ecbe5187adc9f7c94e6a.png)

---

<div class="post-metadata">

**Author:** ![AlexandraTkachenko](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@AlexandraTkachenko](https://community.postman.com/u/AlexandraTkachenko)\
**Post date:** [November 22, 2019, 7:57am UTC](https://community.postman.com/t/inherit-auth-from-parent-type-of-authorization-doesnt-work-while-running-collection-runner/9092/9 "2019-11-22T07:57:04Z")

</div>

Hi John-Paul,

Yes, sure, I choose the particular environment before running the Collection. Take a look at this screenshot, please. I had a different result for requests which use the same auth method. And some requests use the variables, including token from a particular environment and a server returned 200 OK but some didn’t have the same result (400).

 ![23](https://us1.discourse-cdn.com/getpostman/original/3X/2/6/262e3e670fa9b4b1824aa7b5dc433d03e7b96d46.png)

---

<div class="post-metadata">

**Author:** ![john-paul](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/john-paul/32/919_2.png) [@john-paul](https://community.postman.com/u/john-paul)\
**Post date:** [November 22, 2019, 7:25pm UTC](https://community.postman.com/t/inherit-auth-from-parent-type-of-authorization-doesnt-work-while-running-collection-runner/9092/10 "2019-11-22T19:25:04Z")

</div>

Hi Alexandra,

Thank you for the screenshot.

Status 400 generally implies a bad request, meaning there may be something wrong with the way the request is structured. Are these the requests getting the unauthorized message? Status 401 is generally used for “unauthorized”.

---

<div class="post-metadata">

**Author:** ![AlexandraTkachenko](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@AlexandraTkachenko](https://community.postman.com/u/AlexandraTkachenko)\
**Post date:** [November 27, 2019, 5:18pm UTC](https://community.postman.com/t/inherit-auth-from-parent-type-of-authorization-doesnt-work-while-running-collection-runner/9092/11 "2019-11-27T17:18:20Z")

</div>

> [@john-paul](#):
>
> Status 400 generally implies a bad request, meaning there may be something wrong with the way the request is structured. Are these the requests getting the unauthorized message? Status 401 is generally used for “unauthorized”.

Hi John-Paul!

We use 400 Status for “unauthorized”. And probably I need to make an accent that if I send the same request manually, 200OK status comes.

---

<div class="post-metadata">

**Author:** ![john-paul](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/john-paul/32/919_2.png) [@john-paul](https://community.postman.com/u/john-paul)\
**Post date:** [November 27, 2019, 11:26pm UTC](https://community.postman.com/t/inherit-auth-from-parent-type-of-authorization-doesnt-work-while-running-collection-runner/9092/12 "2019-11-27T23:26:09Z")

</div>

Hmm…that is a bit odd. Would you mind opening a ticket with us so we can take a look at the logs from your app?

[https://support.getpostman.com/hc/en-us/requests/new?\_ga=2.247510023.1455955528.1574897158-1256997268.1572894639](https://support.getpostman.com/hc/en-us/requests/new?_ga=2.247510023.1455955528.1574897158-1256997268.1572894639)

---

<div class="post-metadata">

**Author:** ![AlexandraTkachenko](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@AlexandraTkachenko](https://community.postman.com/u/AlexandraTkachenko)\
**Post date:** [November 28, 2019, 11:35am UTC](https://community.postman.com/t/inherit-auth-from-parent-type-of-authorization-doesnt-work-while-running-collection-runner/9092/13 "2019-11-28T11:35:42Z")

</div>

Ok, I’ve created the request.

---

<div class="post-metadata">

**Author:** ![k.v.kirankumar](https://avatars.discourse-cdn.com/v4/letter/k/eb8c5e/32.png) [@k.v.kirankumar](https://community.postman.com/u/k.v.kirankumar)\
**Post date:** [June 11, 2021, 11:25am UTC](https://community.postman.com/t/inherit-auth-from-parent-type-of-authorization-doesnt-work-while-running-collection-runner/9092/14 "2021-06-11T11:25:10Z")

</div>

Hi There, is this problem resolved? I am facing the same issue. I have a collection, multiple folders in the collection and multiple APIs in each of the folders. I have set authorisation type to oAuth2.0 at the collection level and I wanted that to cascade down to folders and APIs within the folders.

The “Inherit auth from parent” at the folder and the API level is not working. I am on the latest version which is Postman v8.6.1 version.

Can you please help?

Cheers,  
-Kiran.

---

<div class="post-metadata">

**Author:** ![carolapantarotto](https://avatars.discourse-cdn.com/v4/letter/c/bc79bd/32.png) [@carolapantarotto](https://community.postman.com/u/carolapantarotto)\
**Post date:** [July 9, 2021, 2:02pm UTC](https://community.postman.com/t/inherit-auth-from-parent-type-of-authorization-doesnt-work-while-running-collection-runner/9092/15 "2021-07-09T14:02:33Z")

</div>

Hi k.v.kirankumar,

did you solve the issue of cascading oAuth2 in multiple folders? I’m facing the same issue.

Thanks,  
Carola

---

<div class="post-metadata">

**Author:** ![inikoo](https://avatars.discourse-cdn.com/v4/letter/i/e19adc/32.png) [@inikoo](https://community.postman.com/u/inikoo)\
**Post date:** [September 9, 2021, 6:36pm UTC](https://community.postman.com/t/inherit-auth-from-parent-type-of-authorization-doesnt-work-while-running-collection-runner/9092/16 "2021-09-09T18:36:31Z")

</div>

Did you save the changes in the Collection? the UI is not very good and that stepcan be missed

 ![Screenshot 2021-09-10 at 02.34.57](https://us1.discourse-cdn.com/getpostman/original/2X/8/82e1e76a9df0678312b9ac1a79e78c2dad051406.png)

---

<div class="post-metadata">

**Author:** ![lc207](https://avatars.discourse-cdn.com/v4/letter/l/8dc957/32.png) [@lc207](https://community.postman.com/u/lc207)\
**Post date:** [June 25, 2022, 9:04am UTC](https://community.postman.com/t/inherit-auth-from-parent-type-of-authorization-doesnt-work-while-running-collection-runner/9092/17 "2022-06-25T09:04:42Z")

</div>

For me, it all comes down to this: the token variable did not save in the collection level, therefore it did not affect the api request inherit from it ! Thx!

---

<div class="post-metadata">

**Author:** ![akrabat](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/akrabat/32/13060_2.png) [@akrabat](https://community.postman.com/u/akrabat)\
**Post date:** [August 29, 2022, 3:31pm UTC](https://community.postman.com/t/inherit-auth-from-parent-type-of-authorization-doesnt-work-while-running-collection-runner/9092/18 "2022-08-29T15:31:17Z")

</div>

Aha! Thank you! I had totally missed the Save button when adding Authorisation to a folder.

There is not enough difference in the grey for “active” and “disabled” on the Save button for my eyes…

---

<div class="post-metadata">

**Author:** ![maintenance-archite7](https://avatars.discourse-cdn.com/v4/letter/m/87869e/32.png) [@maintenance-archite7](https://community.postman.com/u/maintenance-archite7)\
**Post date:** [September 7, 2023, 10:33am UTC](https://community.postman.com/t/inherit-auth-from-parent-type-of-authorization-doesnt-work-while-running-collection-runner/9092/19 "2023-09-07T10:33:32Z")

</div>

Wow… this saved my day! Saving the collection was the solution for me. 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:** [September 7, 2023, 11:00am UTC](https://community.postman.com/t/inherit-auth-from-parent-type-of-authorization-doesnt-work-while-running-collection-runner/9092/20 "2023-09-07T11:00:16Z")

</div>

Just adding here as the solution to a few people’s problems were around saving.

We now have an `Autosave` option in the Settings Menu. 🎉 This is currently in Beta and will only your Requests and Collections.

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/2/9/29be14fb34bbaee27fc5533a31d1031fbf236851.png)

[Next page](https://community.postman.com/t/inherit-auth-from-parent-type-of-authorization-doesnt-work-while-running-collection-runner/9092.md?page=2)
