constant disconnecting with different errors every time

i can play the server but every 5-10 minutes it will say something like need to be higher than 21-bit or incorrect header check etc. ive tried turning down settings, changing minecraft launcher and version. i have a feeling its a server issue but im not sure, please help