APIs and Microservices Projects - Exercise Tracker: Validation issue

  1. I think there is a bug in the process of validation. Sometimes some tests do not pass and the second after they pass when I have not touched the code.

  2. Tests number 4 and 5 on the other hand never pass. I’ve been trying to guess the expected json output fields for almost four days but I can’t find it. It would have been simpler and more understandable if the instruction gave the desired output structure in json format.

  3. Surprisingly, the test number 6 passes however the output is supposed to be the same as the test 5.

Thank you in advance for your help.

Challenge: Exercise Tracker

Solution link: https://konaesan-exercise-tracker.glitch.me/

Validation screenshot

Link to the challenge:

1 Like

It seems that the validation application does not perform the test number 5 ie call /api/exercise/log without filters

1 Like

I think there is something wrong with these tests https://github.com/freeCodeCamp/freeCodeCamp/blob/master/curriculum/challenges/english/05-apis-and-microservices/apis-and-microservices-projects/exercise-tracker.english.md
Let me know if you have any ideas.
I can pass test 4 if you still need help.

Thanks for your help. I manage to work around this problem. You can read more here https://github.com/freeCodeCamp/freeCodeCamp/issues/39060#issuecomment-654202282.

Kind regards.

Thanks for your reply. I could pass too. There was a problem with the tests but after I knew what it was I could work around it. I submitted a pull request to fix it.

1 Like