Solution not accepting (failed at last testcase)

Tell us what’s happening:
Describe your issue in detail here.
My solution is not accepted even though it is correct.
The last test case fails. But showing correct output on the console.
Why does this happen?

Your project link(s)

solution: boilerplate-project-exercisetracker - Replit

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36

Challenge: Exercise Tracker

Link to the challenge:

Does anyone know what is the problem?

Seems to be working for me.
Can you try submitting again and see how it goes?

1 Like

It shows this :slightly_smiling_face:

// running tests
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. (Test timed out)

This suggest me that is more a network issue than a code issue.

You could have your app open with some logging, and in another window launch the FCC tests and see how your app behaves in regards of response times, etc…etc…

1 Like

This is the last network response I got.

This immediately results in a timeout.
Can you run my code on your machine and test it?

Already did the first time. Took your Repl, and submitted it on the challenge and got all green marks. That’s why I think it’s more of a network issue.

In the inspector you can check how log did your app took to respond to the client, perhaps FCC has a max connection time-to-live on those tests.

1 Like

Do I take it as you were able to solve the issue?

If so perhaps spend a few line of text, it might help some other soul who’s facing your very same problems :smile: