Fixing Common Import Errors
An import that "fails" often does something in between. It loads some rows, skips others and leaves some fields empty. Read the summary before you run anything again.
The error names below come from HubSpot's help page, used as one example. Other products word them differently, but the causes tend to repeat.
Find out what was skipped
HubSpot's page separates two outcomes. In some cases, records with errors are imported anyway and can be corrected afterward. In others, the rows don't import and the file must be corrected first.1
It also explains the difference between a skipped row and a skipped value. If a row isn't imported, none of its columns come through. If only a value isn't imported, the rest of the row can still load.1
- Open the import summary the tool shows when it finishes.
- Look at the list of error types and how many rows each one touched.
- Download the error report if the tool offers one. HubSpot lets you download the affected rows and their errors as a file.1
- Correct the problem in your original file, not in the report.
- Import again, or fix the few affected records by hand if there are only a handful.
Common messages and what they mean
| Message | Usual meaning |
|---|---|
| Could not parse date | A date doesn't match the format you chose during the import. HubSpot adds that a day and month may also be swapped.1 |
| Could not parse number | A number column holds non-numeric characters, such as a currency symbol or a note.1 |
| Duplicate row content | The file contains duplicate records.1 |
| Duplicate unique property value | A value that must be unique appears more than once, in the file or in your existing records.1 |
| Could not find owner | A person named in the file doesn't match a user in the software.1 |
Treat the right-hand column as a starting point. Read your own tool's help page for the exact meaning of its messages.
Problems that come from the file itself
Some errors don't have a tidy label. They show up as shifted columns, missing rows or odd symbols.
- Rows with the wrong number of fields. RFC 4180 expects a matching field count on every line.2 One stray comma in a name can push every later value one column to the right.
- Commas, quotes or line breaks inside a value. Fields that contain them should be enclosed in double quotes.2 Programs that wrote the file usually add them, but a file edited by hand may not.
- Accents turned into strange characters. HubSpot asks for UTF-8 encoding when a file holds foreign language characters.3 Re-save the file in that encoding.
- Blank required values. A row missing a value the tool requires may be refused. Fill it in, then import again.
Update-only and create-only settings
Some tools ask whether the import should create new records, update existing ones, or do both. A mismatch looks like an error. HubSpot explains that on a create-only import, rows that match existing records aren't imported. If you wanted those records updated, you re-import with the create-and-update choice.1
Before you re-import
Be careful with a second attempt. If the first run loaded some rows, importing the whole file again may create duplicates, depending on the tool and on whether the file has a unique identifier column. Check the tool's help page first. Importing only the corrected rows is often the safer route.
When the new import finishes, run through the after-import checks. If the trouble began on the mapping screen, the column mapping page may help.
Reference list
- Review and troubleshoot record import errors, HubSpot Knowledge Base
- RFC 4180: Common Format and MIME Type for Comma-Separated Values (CSV) Files, RFC Editor (IETF)
- Format import files, HubSpot Knowledge Base