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 http://www.example.com 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)

solution: https://freecodecamp-url-shortener-min.herokuapp.com
githubLink: https://github.com/rodrigomigueleti/url-shortener-microservice.git

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:/john-doe.org

The tests for all challenges are on the GitHub repo: freeCodeCamp/url-shortener-microservice.md at main · freeCodeCamp/freeCodeCamp · GitHub