The sentence "The value is not valid" is the default error message which results of a form field transformation failure. This error message is related to each field in case of a data transformer failed (in your case it seems you try to send an invalid choice value). If you want to override it, you can use the invalid_message
& invalid_message_parameters
form type options.
I can't find the official documentation of this property right now but you can take a look to this for more details: link