Skip to main content
An upload is checked twice. The API checks the request immediately. The data is checked later, during processing.

Request checks

These errors are returned immediately with status 400:

Data checks

If the data is invalid, the process ends with status Error, 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=true if 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 in statusDescription. 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.
deleteMissingFromDB=true permanently removes data. Use it only when the file contains everything you want to keep.
If you send a new manifest that removes an entity column, Alphacast does not merge the data. The file replaces the whole dataset, whatever the flags say.
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.