Back End Development and APIs Projects - Exercise Tracker, different test result between local and deployed version

Tell us what’s happening:

I’ve past all test when running my app on localhost. But after I deploy and run test from there, my app failed at:

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.

I’ve already double check that all date stored in database all in string. Even when I console.log the log array itself, the date still a string. I even has a console.log copies atm, both that came from my local editor and heroku.

Please help me. Thanks in advance.

Your project link(s)

githubLink: GitHub - AR-Project/fcc-exercisetracker: A challenge for freeCodeCamp project.

Your browser information:

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

Challenge: Back End Development and APIs Projects - Exercise Tracker

Link to the challenge:

I didn’t see any console or networking tab error, both when i push into my github and when heroku automatically deploy and build my app. Thats why this is really confusing me a lot, as you can see in the screenshot i upload above.

I’m gonna try again later. Do I need to provide any additional info?

Update: I just tried to submit again, and it work. It makes me more confused. I feels living inside ‘whats going on’ meme…

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