Helmet.js challenges not working

I have gotten to through the node and mongoose challenges so I know how to link my Glitch project but somehow I just can’t complete the first or second Helmet challenge. With Firefox I get the error message “JSON.parse: unexpected character at line 1 column 1 of the JSON data”. With Chrome I get " Unexpected token < in JSON at position 0".

The link I am posting is: https://glitch.com/~lavish-viper

I’m using Google Chrome, and it’s passing the first and second test for me.

1 Like

Still not working for me. Anyone have any idea what might be going on?

Okay, so I figured it out. The link needs to be in the format of https://snow-bedbug.glitch.me instead of https://glitch.com/~snow-bedbug. The other format works on the node and mongoose challenges but not on the helmet challenges.

1 Like

I’m glad you figure it out!

A similar problem I had is when I used http:// instead of https:// (note the s). It causes the test to fail even when the code is correct.

1 Like