Show legal and required fields in importer error message

Fixes #1862