We need to improve these error codes so that the inappropriate mode can be specifically stated.