Request checks
These errors are returned immediately with status400:
Data checks
If the data is invalid, the process ends with statusError, and statusDescription explains why. Before you upload, check that:
- The file has data rows.
- The date column exists, and every date matches your date format.
- All entity columns exist. Empty values in an entity column are filled with
none. - Column names are unique, even if you ignore case, accents, spaces, and question marks.
- No two rows have the same date and entity values.
- You set
acceptNewColumns=trueif the file adds columns with data to a dataset that already has data. - Numeric columns contain numbers, without thousands separators. Otherwise, values can be read differently, become empty, or turn the column into text. See number columns. Check the result after you upload.
Error messages
Look for these messages instatusDescription. Words in angle brackets stand for your own names and values.
Where a message says
AcceptNewColumn, use the query parameter acceptNewColumns.
Upload modes
Three query parameters control how the file is merged with the existing data.
Some datasets have a locked manifest. For them, a new manifest,
deleteMissingFromDB, and acceptNewColumns are ignored.
If the file and the upload settings are identical to the last successful upload, nothing changes.
Common combinations
Check the result
Read the upload process. When it finishes,status is Processed or Error. Read statusDescription for details, then download the data to confirm the result.
For a Processed upload, statusDescription can include these messages. <n> stands for a number.
If
onConflictUpdateDB is true and more than 10% of the values changed, statusDescription also has a WARNING. Check that the file is correct.