Note: You are currently viewing documentation for Moodle 3.11. Up-to-date documentation for the latest stable version of Moodle may be available here: error/moodle/invalidfieldname.


From MoodleDocs

The error message " firstname" is not a valid field name is shown when an upload users text file contains spaces between the fields. Fields should be separated by a comma (or other delimiter) ONLY - no space. Not to be confused with error/moodle/cannotmapfield