The date validation "IS_DATE_IN_THE_FUTURE" only accepts strings values.
{
'field_id': self.text_field.id,
'type': 'IS_DATE_IN_THE_FUTURE',
'value': True,
}
The following payload would trigger a 422 error because we expect a string value. We want to accept booleans and convert it to string.