Skip to content

Instantly share code, notes, and snippets.

@wrburgess
Created September 10, 2019 01:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wrburgess/7f8d7feea27cdbe3f2f52403430c2f6b to your computer and use it in GitHub Desktop.
Save wrburgess/7f8d7feea27cdbe3f2f52403430c2f6b to your computer and use it in GitHub Desktop.
Error Message Scenarios

Error Message Scenarios

  • There is an unknown column in the file
  • There is a missing required column in the file
  • There is missing data in the file
  • The file is not a properly formatted csv file

There is an unknown column in the file

Your uploaded file, campaign_contacts_invalid_extra_column.csv, has errors:

* CSV header is not a valid workflow field - UNKNOWN_FIELD

There is a missing required column in the file

Your uploaded file, campaign_contacts_invalid_missing_column.csv, has errors:

* Data for the following column(s) is missing in 3 locations: EMAIL_TRACKING_UUID. Review rows 1, 2, 3

There is missing data in the file

Your uploaded file, campaign_contacts_invalid_missing_data.csv, has errors:

* Data for the following column(s) is missing in 2 locations: EMAIL_TRACKING_UUID, EMAIL_OPENED. Review rows 1, 3

The file is not a properly formatted csv file

Your uploaded file, campaign_contacts_invalid_file.csv, has errors:

* UndetectableDelimiter - Unable to auto-detect delimiting character; defaulted to ','
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment