READ: sanitize values & output errors on invalid parameters.