URL Shortener Microservice not passing test even though code works fine

Hi,
I’m not passing the third test for URL Shortener Microservice:

When you visit /api/shorturl/<short_url> , you will be redirected to the original URL.

On its face, though, the project seems to be working just fine. What could I be doing wrong?

Your project link(s)

solution: freecodecamp-urlshortener - Replit
githubLink: GitHub - kikikt/freecodecamp-urlshortener

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36

Challenge: URL Shortener Microservice

Link to the challenge:

Hello there,

Remember, you can make use of your browser devtools to help debug:

Hint: Pay attention to expected return object.

Hope this helps

1 Like

It did help, thanks!

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