Correctly error on diagram page