Updated error message for unknown keys