Problems with the valid url test

Tell us what’s happening:

I’m using Resolver class of the dns library as validator for my challenge solution, but i’m not passing through this step:

If you pass an invalid URL that doesn’t follow the valid format, the JSON response will contain { error: 'invalid url' }

Anyone could tell me some examples of invalid urls used by freecodecamp challenge validation?

Your project link(s)


Your browser information:

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

Challenge: URL Shortener Microservice

Link to the challenge:

Hello there,

Here is one ftp:/

The tests for all challenges are on the GitHub repo: freeCodeCamp/ at main · freeCodeCamp/freeCodeCamp · GitHub

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