Exercise Tracker won't pass any tests

Tell us what’s happening:
Hi,
I can’t get my Exercise Tracker project to pass any tests. I then trimmed it down to attempt just the first two tests, but still no luck. Other projects have worked fine. Would someone be kind enough to look at my Replit project and suggest where I went wrong?

Your project link(s)

This is the trimmed down version that I expect would pass the first 3 tests (the POST to /api/users with form data and the response from the post).

https://replit.com/@lawtonchris/boilerplate-project-exercisetracker-2?v=1

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36

Challenge: Back End Development and APIs Projects - Exercise Tracker

Link to the challenge:

Run the tests with the browser console open and you’ll see all the CORS errors since CORS is not configured correctly. The first 6 tests pass once this is fixed.

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