URL Shortener Microservice won't pass redirect test even though it works

Tell us what’s happening:
I can’t pass the third condition in the URL shortener project even though when I test it in Replit, it works and redirects without a problem.

Your project link(s)

solution: boilerplate-project-urlshortener - Replit

Your browser information:

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

Challenge: URL Shortener Microservice

Link to the challenge:

If I create a record through your interface, it returns:


If I try to go to that with this:


I get back this:

{"error":"invalid url"}

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