Project error response not recognized

Tell us what’s happening:
I can’t get the get the challenge to be completed. For whatever reason
the url that is being used to doesn’t recognize my error response as valid. Do I need to put a status or something?

My code:

Your project link(s)

solution: https://replit.com/@a2937/boilerplate-project-urlshortener

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0.

Challenge: URL Shortener Microservice

Link to the challenge:

Test is using ftp:/john-doe.org for a invalid url. Currently such url is being shortened.

Okay. But I’ve ran into a slight problem. john-doe.org resolves to 83.243.58.246 in the IPv4 family and to ::ffff:83.243.58.246 in the IPv6 family. I look up the host name and if it doesn’t resolve it; then I give out the invalid URL JSON.

It might not be as much about domain itself, but about using different protocol (ftp), which is not following the expected/allowed http(s)://... :slight_smile:

1 Like

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