Code is working, but not passed the test 2,3 and 4 | Back End Development and APIs Projects - URL Shortener Microservice

hi, i hope i can find a solution here for my fcc url shortener project problem.

in replit’s live app, the code works fine, it returns as expected, just work as what the test said. i dont know what is happened in my code that causes it failed the test.

by the way im using mongodb atlas for the database that contains every shortened id for each url, i know it’s so messy, but im gonna refactor the project after i can pass the test as clean as i can.

Thank you very much🙏

Replit project link:
solution: boilerplate-project-urlshortener - Replit

Challenge: Back End Development and APIs Projects - URL Shortener Microservice

Link to the challenge:

You appear to have changed the form field’s name attribute from url (which the tests are expecting) to urllink. Change your code accordingly to reflect the original name and you will pass the tests.

2 Likes

Thanks it solved my problem!

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