There is a restriction to how many servers one user can be a part of at any given time on Discord. There is a limit of 100 servers that you can join. You won't be allowed to join another server if you've previously reached level 100. Check how many servers you've joined if you get the Invite Invalid message when trying to join one.