fix(creation): Error when constraint KO in creation (closes #4495)

Correct the error when constraint are KO in creation process