This question already has an answer here:
I'm using POSTER add-on (Firefox) to create a node.(REST service). I couldn't able to create node having select/checkbox item. Getting following error in response.
["An illegal choice has been detected. Please contact the site administrator"]
How to resolve this? I'm able to create node if post data doesn't contains select/checkbox data. My problem is exactly related to the following link. But I couldn't find solution.
If I replace 'und' to 'en' in json format, the node is being created but with null values.
I've found following messages under Recent log messages.
Warning: htmlspecialchars() expects parameter 1 to be string, array given in check_plain() Warning: Illegal offset type in isset or empty in list_field_validate() Illegal choice in LABEL element.
Here 'LABEL' is the label(name) of the filed