Whenever you try to join a Discord server and a pop-up window says the Invite link is invalid, the question is how should I troubleshoot it?
The two main reasons that might cause this error are:
1. The invite link that was clicked on generated an entirely different kind of link:
2. Discord sometimes behaves weirdly, so make sure you are actually logged in. If you are unsure, log out and log in again!