More user-friendly err on missing fields.

Thanks to Gabor Szabo for reporting the problem. The error was not
user-friendly.