console.log validation errors