Given weird error when trying to host custom game

Whenever I try to host a custom game, I am given the error that “The game you are attempting to join cannot be found”. I don’t understand why it would give this error in particular, as it is meant for joining games, not creating them. Sometimes when I change the name a little it works, but this is inconsistent and often gives me the same error. Repairing the client sometimes works, but the problem will return after 0-5 hosted games. (Edit, this error was fixed by putting some of my downloaded maps into a seperate folder.)