My code doesnt work. I used the hint

Tell us what’s happening:
This isnt working. i used the hint. What should i do?

Your code so far!/universal-dashing-mustard?path=tests%2F2_functional-tests.js%3A158%3A9

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36.

Challenge: Run Functional Tests on an API Response using Chai-HTTP IV - PUT method

Link to the challenge:


You have a syntax error, hence your code doesn’t work. Check what you have modified and make sure you didn’t add/remove brackets or any other character.


Check the lines between 159 and 166.

One more thing, be sure to check the console logs to see what is being printed and, more importantly, the errors that are printed here: Click on Tools and then on Logs


I checked the logs and it is shwing this on the freecodecamp webpage

What should i do ?!?!?!?!

You must fix the problem on glitch first, otherwise you’ll keep getting the same result :sweat_smile:.

Just in case you don’t know:

1 Like

I know i have to fix the problem on glitch! But the REAL PROBLEM is that i dont understand the problem. I did a google search. And I still dont understand what this means:

 Error: Server returned status code 403 from

  at /rbd/pnpm-volume/38124521-9c58-477d-80c0-efb605ce18ef/node_modules/

  at process._tickCallback (internal/process/next_tick.js:68:7)

Can you help me? I really need it :sweat_smile:!

Well, you fixed the problem you had before…

The new problem, is not a mistake on your part but a mistake on our part, so sorry for this :sweat_smile:. Replace the double quotes for single quotes and you should pass the tests:

assert.equal(res.status, 200);
assert.equal(res.type, 'application/json');
assert.equal(, 'Giovanni');
assert.equal(res.body.surname, 'da Verrazzano');

It worked thank you very much! That was very specific on freecodecamp’s part. :clap:

I know :sweat_smile:! So sorry for that, but take it into account for the next lessons/challenges: the algorithm is sometimes picky.

Thanks for your comprehension :slight_smile:!

1 Like