Back End Development and APIs Projects - Exercise Tracker

Tell us what’s happening:

I’ve tried all ways, but again it’s showing the same error… The problem is 8th test case is failing always when running the test cases of the project Exercise Tracker .
M
Link to My Project’s Live URL: [https://freecodecamp1-z70m.onrender.com/]

Link to My Source Code: [GitHub - srinivas-batthula/freecodecamp1]

###Your project link(s)

solution: https://freecodecamp1-z70m.onrender.com

githubLink: GitHub - srinivas-batthula/freecodecamp1

Your browser information:

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

Challenge Information:

Back End Development and APIs Projects - Exercise Tracker

I ran the code in the FCC input fields so not too sure what’s the issue. Do you think it is coming from the index. js file? The file name and extension should be script.js or server.js, while this is not always a solution vs code will not run with that file or it has to be linked with index.

You are not using the body date payload. If the POST body contains a date, you should use that, otherwise, you use the current date.

1 Like

Thanks bro for helping me…