Exercise Tracker help

Hi everyone, ive been stumped on the exercise tracker project, particularly with the 4th and 5th test cases. I THINK I’m returning the correct json objects back to the response, but I’m not passing.

The link to my glitch project: https://glitch.com/edit/#!/gorgeous-general-rudbeckia

PLEASE if anyone could shed some light into why it’s not working, it would be greatly appreciated.

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.61 Safari/537.36.

Challenge: Exercise Tracker

Link to the challenge:

Hello there,

When I input information in the app, it crashes.

Oh, thats weird because it works whenever I use it…

In your function to get the user exercise log, your code says:

app.get('/api/exercise/log/:userId', function(req, res){

The tests want you to be able to send a url with query parameters, for example:


You’ll need to add some code to account for the from, to, and limit parameters.