Unable to find error in use .env file challenge

Tell us what’s happening:

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36.

Challenge: Use the .env File

Link to the challenge:

As far as I can tell the actual test for this goes to this URL [project public url]/_api/use-env-vars. So for your app https://jungle-sky-humor.glitch.me/_api/use-env-vars which is returning

Unexpected token < in JSON at position 0

Which would lead me to believe there is a syntax error somewhere, but only project members can view the .env file, so I can’t look at it to confirm.

1 Like