Can not import project from existing repository

I’m attempting to import an existing git repository into a new project in GitLab.
In the “Git repository URL” field I put in the URL I am using to access the existing repository, but GitLab will not accept it, saying the URL must end in “.git”, which it does.