Drupal Answers is a question and answer site for Drupal developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a content type which uses a lot of conditional fields, along with an email field, field permissions. When I try to export the type, it produced the error 'An illegal choice has been detected. Please contact the site administrator.' and the export script seems to be truncated so the fields do not import correctly. Any ideas what might be causing this?

share|improve this question
up vote 2 down vote accepted

This was caused by a corrupted field. I deleted and re-added the field.

share|improve this answer
I have the same problem, now, how do you determine what field is corrupted? – user21121 Sep 19 '13 at 18:42
you don't. You just have to try all of them. – Andrew Welch Sep 19 '13 at 23:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.