Check exception on invalid token