Question
I want to know the details and solutions for errors that occur when uploading a CSV to register users in Tadrill.
Answer
The errors that may occur during CSV upload are as follows.
* Even if there are multiple error causes, only the first detected error from the top row of the CSV will be displayed.
| Error Message | Cause and Solution |
| An error occurred while importing users invalid email address "xxx" at line x | A value (xxx) that is not in email address format has been entered in the email address field in row x. Please change the value to a valid email address format. |
| An error occurred while importing users invalid email address "xxx@example.com" (must be in one of the following domains: [yyy.com zzz.com]) | An email address outside the registered domain has been entered in the email address field. Please change the value to a registered domain. |
| An error occurred while importing users failed to verify user role for user xxx@example.com: role: invalid role | The role field is either blank or contains a value other than user or useradmin. Please enter either user or useradmin as the value. |
| An error occurred while importing users one or more users already exist in the csv | There are duplicate user data entries within the CSV file. Please delete one of the duplicate user data entries in the CSV file. |
| An error occurred while importing users failed to validate csv : record on line X : wrong number of fields | There are inappropriate or extra values entered in row X of the CSV. Please correct the inappropriate value or remove the extra value. |
| An error occurred while importing users failed to validate csv: found unmatched struct field with tags [xxx], unmatched struct tags | A required attribute for user registration is missing. Please add [xxx] to the first row and set its value. |
| An error occurred while importing users failed to validate csv: repeated header name: xxx, double header names | A required attribute for user registration is duplicated. If the same value is present in the first row, please delete one of them. |
| An error occurred while importing users no rows in CSV or zero length csv file | No user information is provided. Please upload a CSV that contains user information. |