Says the invite is invalid for me lol
Sorry XD
I think I figured it out now, basically I was making an invite in a channel only accessable to mods and higher which discord didn't like or something. Also try to copy and paste the link in discord (add server -> join server -> invite link)