30 Days of Postman - Day 4 Authorization - Submit call test failing with "TypeError: Cannot read property 'type' of undefined"

I have run into the final test in the Submit call for Day 4 failing when it checks auth.type. I have folder level authorization type API Key with my {{postman_api_key}} in an environment variable x-api-key. The test fails with the error: TypeError: Cannot read property 'type' of undefined

Please help provide insight as to what I’ve done wrong. Your assistance is greatly appreciated!

Thanks, Sherri

Environment: Chrome Version 90.0.4430.212; macOS Big Sur V11.3.1; Postman on Web

Here is a screenshot of the test failure:

Here is a screenshot of the folder level authorization:

Link to my public collection: https://www.getpostman.com/collections/9a14554463b32ea66da6

Hey @iamjoyfulgirl001 :wave:

You would need to add this to the Authorization folder, it mentions this in the documentation.

Might be worth taking a quick look through it again to confirm.

1 Like

Hi @dannydainton :wave:!

Ah-ha! Somehow even though I re-read it at least 50 times prior to asking for help, it wasn’t clear. Thank you for your magical helpful pointer!

1 Like