validations for machine request