This you do a mint to mint just right before this error? What was the last thing you did before?
I'm afraid some of your tokens might be borked, you might have to wipe your wallet. Hope you used only minimal amounts and it's your own mint, that would make it a lot easier to recover borked funds.