Error in Assignment #2 (Valentino Artisan Coffee House)

Hi everyone!

I am trying to complete Assignment #2 Valentino Artisan Coffee House but bunch of test fails. Get AssertionError (see picture).

CollectionId and Apikey did I check.

I tried all I could but without any luck. Maybe someone else had the same problem and could help ?

Hey @jitkanadenikova :wave:

Welcome to the Postman Community! :postman:

Could you share your Public Workspace link, please? It’s easier to see what’s going on than investigating a static screenshot of the failures.

It’s returning the correct Collection which is good but references that it’s looking to check are not defined. There could be that the names of the requests don’t match what’s expected and then in turn fail the validation.

oh sorry, I forgot to post the link. It is easier to see what went wrong.

https://www.postman.com/jitkanadenikova/workspace/freecodecamp-api-test-jitka/collection/32365434-012e3e28-6bd6-4e75-86b6-364467dad0a3

1 Like

In the instructions, it’s asking you to duplicate all the folders from the collection. Then drag them into the Assignment #2 collection.

You only have the requests inside the API requests folder and not the folders plus the requests inside them.

image

Due to not having the folders - The tests are failing to resolve the references in the tests that check that those sub folders are present, before checking the tests:

Well, that was very sloppy reading by me. :upside_down_face:
It works fine now. Thanks!

1 Like

Anytime - Happy to help. Good luck with the rest of the training! :pray:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.