Show legal and required fields in importer error message

Fixes #1862
Merge pull request #1874 from maurizi/show-legal-fields-in-importer-error

Show legal and required fields in importer error message