Can. 126 An act placed out of ignorance or out of error concerning something which constitutes its substance or which amounts to a condition sine qua non is invalid. Otherwise it is valid unless the law makes other provision. An act entered into out of ignorance or error, however, can give rise to a rescissory action according to the norm of law.