Tell us what’s happening:
This isnt working. i used the hint. What should i do?
Your code so far
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:
Learn to code. Build projects. Earn certifications.Since 2015, 40,000 graduates have gotten jobs at tech companies including Google, Apple, Amazon, and Microsoft.
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
Just in case you don’t know:
Syntax errors : These are spelling errors in your code that actually cause the program not to run at all, or stop working part way through — you will usually be provided with some error messages too. These are usually okay to fix, as long as you are familiar with the right tools and know what the error messages mean!
I know i have to fix the problem on glitch! But the
is that i dont understand the problem. I did a google search. And I still dont understand what this means: REAL PROBLEM
Error: Server returned status code 403 from https://sincere-cone.glitch.me/
at process._tickCallback (internal/process/next_tick.js:68:7)
Can you help me? I really need it
Well, you fixed the problem you had before…
new problem, is not a mistake on your part but a mistake on our part, so sorry for this . Replace the double quotes for single quotes and you should pass the tests:
assert.equal(res.body.surname, 'da Verrazzano');
It worked thank you very much! That was very specific on freecodecamp’s part.
! So sorry for that, but take it into account for the next lessons/challenges: the algorithm is sometimes picky.
Thanks for your comprehension