Set errors to message key