This error occurs when your Discord application is not up to date. Make sure you using an updated version of Discord.