Timestamp Microservice - Unknown reason for failing all tests

Tell us what’s happening:
None of the FCC tests are passing even though the responses are identical to the example app. It appears the api is not working for the tests. Not sure why when I am able to call it from the browser and postman. Any help would be appreciated.

Your project link(s):

Live server:
timestamp-microservice.fly.dev

Source code:

Your browser information:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:106.0) Gecko/20100101 Firefox/106.0

Challenge:
Back End Development and APIs Projects - Timestamp Microservice

Link to the challenge:

Thank you so much for the quick reply. I did not know it was possible to check test errors in the console. Looks like its a CORs issue.

It is a CORS issue. You are currently only allowing http://localhost:3000 to submit requests. You will also need to allow freecodecamp.org, so the tests can submit requests to your project.

1 Like

All tests pass now. Thanks again for the help!