I am having an error:
{"form_errors":{"field_category][und":"An illegal choice has been detected. Please contact the site administrator."}}
Field category is a taxonomy field attached to a node. I'm trying to create a node via web services and unable to create taxonomy field. I have also match post array by doing print_r($obj) on node form validate:
PHP Array:
[field_category] => Array(
[und] => Array(
[0] => Array(
[tid] => 6246
)
)
)
JSON conversion:
"field_category": {
"und": [
{
"tid":6246
}
]
}
However, in response having an error, the same problem with the other taxonomy field. What I am doing wrong with it.