Why am I not passing the test?

This is my code:

image

Why am I not passing the test? Where is the error?

Thanks for your time

Jaime

Your browser information:

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

Challenge: Use the .env File

Link to the challenge:

Your logic for checking the env variable and building the response needs to be inside your function processing the GET request.

you need to determine the message to send back when the api endpoint is called, not when the app starts running - the environment variable can change, but the value of response will not change in the way you have written it

1 Like

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