Can't save Form API autocomplete when referencing too many elements
If this does not work...
...try adding an increased maxlength value:
Issue:
Sometimes you can't save entity_autocomplete fields when selecting to many items. This comes from the fact that the form element is technically based on the textfield element. This results in inheriting all of the textfield specific properties and behaviors and one of them is a maxlength which limits the text input to 128 characters.
Solution:
To fix this, increase the maxlength value for your autocomplete field.