Back End Development and APIs Projects - Exercise Tracker

Tell us what’s happening:
So i completed my project but when i try to complete it i get some errors by the corrector of the challange, i double checked everything and it looks identical to the one codeacademy uploaded , is there a problem with my project ? Thanks to everyone

error are the following one:
// running tests
The date property of any object in the log array that is returned from GET /api/users/:_id/logs should be a string. Use the dateString format of the Date API.
You can add from, to and limit parameters to a GET /api/users/:_id/logs request to retrieve part of the log of any user. from and to are dates in yyyy-mm-dd format. limit is an integer of how many logs to send back.
// tests completed

Your project link(s)

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0

Challenge: Back End Development and APIs Projects - Exercise Tracker

Link to the challenge:
https:// www.freecodecamp.org/learn/back-end-development-and-apis/back-end-development-and-apis-projects/exercise-tracker

Your Replit wasn’t working for me unless I forked it. Probably just some Replit glitchiness.


You are not handling the optional data correctly. Log out req.body.date and submit to see what it is and verify your assumption about it.

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