Thanks for the replies
I checked the integrity of the game cache and still kept getting the error so I completely uninstalled the game, re-downloaded it and tried to join the wasteland server but same thing happened, game crashed and got the error again
I had a look on reddit and found this thread:
I uninstalled and deleted exile which was the only mod I had installed and don't run any scripts
Maybe its a server side thing where I have been potentially flagged for trying to use scripts and it just boots me out whenever I try to join