Got an 'Error' today during the gym battle. So annoying! It just prevents me from battling basically, for no obvious reason. If I go battle a different gym, then come again, it's all fine, but... aaargh! It's not what you want to happen when you've nearly taken down the gym!