# Postman Student expert , Test collection visualize not working and one test failing

**URL:** <https://community.postman.com/t/postman-student-expert-test-collection-visualize-not-working-and-one-test-failing/30017>\
**Category:** Help Hub\
**Tags:** tests, request\
**Created:** [November 24, 2021, 9:13am UTC](https://community.postman.com/t/postman-student-expert-test-collection-visualize-not-working-and-one-test-failing/30017 "2021-11-24T09:13:39Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![cryosat-geoscientis7](https://avatars.discourse-cdn.com/v4/letter/c/96bed5/32.png) [@cryosat-geoscientis7](https://community.postman.com/u/cryosat-geoscientis7)\
**Post date:** [November 24, 2021, 9:13am UTC](https://community.postman.com/t/postman-student-expert-test-collection-visualize-not-working-and-one-test-failing/30017/1 "2021-11-24T09:13:39Z")

</div>

i am currently doing student expert program, i am very close to finishing the course, however i am getting this error,

 ![2021-11-24 (1)](https://us1.discourse-cdn.com/getpostman/original/3X/2/4/248de20c784e4d133f1b8972f53f1d52bd83bd0e.png)

`Set env variable from script and set next request | AssertionError: expected [] to have a length above 0 but got 0`

i have followed the steps as mentioned in the body.  
the visualiser is also not displaying anything

the environment variable is getting assigned, and the next request is also set

 ![2021-11-24 (2)](https://us1.discourse-cdn.com/getpostman/original/3X/f/f/ffdc0ccd009dd9fc434fa384dd672795988d5345.png)

 ![2021-11-24 (3)](https://us1.discourse-cdn.com/getpostman/original/3X/b/d/bdbd2a10ddf0934d0fb5d6ad1ece4aa6970e69e1.png)

i would really apreciate it if someone could guide me through what i am doing wrong

---

<div class="post-metadata">

**Author:** ![cmnazario](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/cmnazario/32/10207_2.png) [@cmnazario](https://community.postman.com/u/cmnazario)\
**Post date:** [November 24, 2021, 5:53pm UTC](https://community.postman.com/t/postman-student-expert-test-collection-visualize-not-working-and-one-test-failing/30017/2 "2021-11-24T17:53:44Z")

</div>

Hello @cryosat-geoscientis7 Welcome to our community 😊 🥳

You can print “Authorization” from the “Skill check” request from the “3. Check Progress” folder, so that I can help you better 😁

---

<div class="post-metadata">

**Author:** ![cryosat-geoscientis7](https://avatars.discourse-cdn.com/v4/letter/c/96bed5/32.png) [@cryosat-geoscientis7](https://community.postman.com/u/cryosat-geoscientis7)\
**Post date:** [November 25, 2021, 1:38am UTC](https://community.postman.com/t/postman-student-expert-test-collection-visualize-not-working-and-one-test-failing/30017/3 "2021-11-25T01:38:33Z")

</div>

hello,i have printed the api key in the console, and it showing in the console, so is “Authorization”

---

<div class="post-metadata">

**Author:** ![cmnazario](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/cmnazario/32/10207_2.png) [@cmnazario](https://community.postman.com/u/cmnazario)\
**Post date:** [November 25, 2021, 1:58am UTC](https://community.postman.com/t/postman-student-expert-test-collection-visualize-not-working-and-one-test-failing/30017/4 "2021-11-25T01:58:21Z")

</div>

Hey @cryosat-geoscientis7

Are the “Key” and “Value” values ​​in single quotes like in the image? 👇

 ![Aspas](https://us1.discourse-cdn.com/getpostman/original/3X/b/7/b7f2dfa79d54872ce2a5cc51f7a72fc14b8f35f7.png)

If they are with single quotes, remove them, generate a new link from the collection and validate again, I had a similar problem and the problem was the single quotes 😅

Let me know if it works 😉

---

<div class="post-metadata">

**Author:** ![cryosat-geoscientis7](https://avatars.discourse-cdn.com/v4/letter/c/96bed5/32.png) [@cryosat-geoscientis7](https://community.postman.com/u/cryosat-geoscientis7)\
**Post date:** [November 25, 2021, 3:30am UTC](https://community.postman.com/t/postman-student-expert-test-collection-visualize-not-working-and-one-test-failing/30017/6 "2021-11-25T03:30:32Z")

</div>

it worked! thank you so much

---

<div class="post-metadata">

**Author:** ![cryosat-geoscientis7](https://avatars.discourse-cdn.com/v4/letter/c/96bed5/32.png) [@cryosat-geoscientis7](https://community.postman.com/u/cryosat-geoscientis7)\
**Post date:** [November 25, 2021, 4:29am UTC](https://community.postman.com/t/postman-student-expert-test-collection-visualize-not-working-and-one-test-failing/30017/7 "2021-11-25T04:29:20Z")

</div>

how do i submit the work done though 😅…the visualiser is not working in Test Collections

---

<div class="post-metadata">

**Author:** ![cmnazario](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/cmnazario/32/10207_2.png) [@cmnazario](https://community.postman.com/u/cmnazario)\
**Post date:** [November 25, 2021, 12:23pm UTC](https://community.postman.com/t/postman-student-expert-test-collection-visualize-not-working-and-one-test-failing/30017/8 "2021-11-25T12:23:30Z")

</div>

I’m glad I helped 🥰  
The submission of the work performed is sent by completing this form 👇

> **[Postman Student Expert Submission](https://docs.google.com/forms/d/e/1FAIpQLSd8hAvZbw0oJtrg-3u6B5E1kDcDzm7cZeKVvG2L0Eo4_HnGPg/viewform)**
>
> Add your collection link to the form to request your Postman Student Expert certification! 
> 
> Make sure you have worked through the Student Expert template in Postman, completed the requests, and that your tests have passed.
> 
> If there are any issues...

---

<div class="post-metadata">

**Author:** ![cryosat-geoscientis7](https://avatars.discourse-cdn.com/v4/letter/c/96bed5/32.png) [@cryosat-geoscientis7](https://community.postman.com/u/cryosat-geoscientis7)\
**Post date:** [November 25, 2021, 2:51pm UTC](https://community.postman.com/t/postman-student-expert-test-collection-visualize-not-working-and-one-test-failing/30017/9 "2021-11-25T14:51:05Z")

</div>

thank you so much! 😄
