Fix files a watched folder didn't add to a dataset
A watched folder is a Data Library folder that a Data Consolidation automation takes files from. A file that can't be added stays there with a chip, a one-line reason and an action such as Add anyway, Match the columns or Review on its row. The automation shows Files not added until someone deals with it.
To set up the watched folder, see Combine files dropped in a folder into one dataset. For its automations box and rules, see Send files from one folder to several datasets.
Read the chip on each file
While files move, the folder shows Adding 3 files… and the destination shows Adding…. When files wait on someone, the folder shows, for example, 2 not added. Each file still in a watched folder shows a chip and a one-line reason:
| Chip | What it means | Example reason |
|---|---|---|
| Reading… | Being read, for example with the destination's recipe | "Reading with Sales's recipe · you can leave, we'll tell you if it doesn't go in" |
| Adding… | On its way into the destination | "Adding to Sales…" |
| Not added | Didn't fit the destination; waiting on you | "Its columns don't match Sales" |
| Didn't go in | Something went wrong while adding it | "Couldn't be added to Sales" or "It stopped on its way to Sales; add it again" |
| Kept separate | The destination's recipe couldn't read it, so it stays as its own dataset. It also shows Meant for Sales | "Sales's recipe couldn't read it, so it was kept as its own dataset" |
| Duplicate | Same contents as a file already added, so it was skipped | "Same contents as sales_jan.csv, added 2 days ago. Skipped." |
| Needs password | Password protected | "Waiting for its password, then it goes to Sales" |
| Pick sheets | A workbook with several sheets waits for you to choose | "Pick which sheets go into Sales" |
Other reasons you may see: "Has a new column for Sales: Region", "Not read: this month's AI pages for PDFs are used up", "Not read: PDFs need an AI key, and none is set up" and "This kind of file can't be read".
A file that stays "moving" for more than 2 hours without an answer is shown as Didn't go in with "It stopped on its way to Sales; add it again".
Fix a file that didn't go into the dataset
Each waiting file has an action on its row:
| Action | Shown when | What it does |
|---|---|---|
| Add anyway | The file was skipped as a Duplicate | Adds it after all. You see "Adding sales_jan.csv to Sales", then "Added sales_jan.csv to Sales" |
| Match the columns | The file is Not added because of new columns, a changed type or columns that don't match | Opens the destination with the file's column mapping, to map its columns in. If the destination is gone you see "Couldn't find Sales. It may have been moved to trash." |
| Pick sheets | A workbook is waiting for you to choose its sheets | Opens the file so you can choose which sheets go in |
| Review | Any other waiting file: Kept separate, Needs password, or Not added for another reason | Opens the file so you can fix it (enter its password, read it in the interpreter, or check it) |
You can also correct the file and upload it again. Add anyway is also on the file in the automation's History.
A PDF or messy spreadsheet read with the destination's recipe has its own reasons: see Add PDFs to a dataset from a watched folder.
Who is told when a file doesn't go in
When a file doesn't go in or is kept separate, the person who added it and the automation's owner get a notification: one per run for each destination, naming the first file and counting the rest, so 50 files with the wrong columns are one notice. For a file nobody added by hand (for example one collected by a File Collection or moved in by an automation), only the owner is told. Others in the project still see the chip and the History.
They also show in Monitor under Needs Attention (in an Automations group when other items are listed too), as File didn't go in or File kept separate, with Review. A file whose columns didn't fit shows there as a pending item for its destination instead. Duplicates raise no notice: they show only in the folder and History.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| Status shows Files not added after an upload | A file didn't go in, for example because its columns or types don't match. A duplicate doesn't change the status: it shows a Duplicate chip | Find the file with the Not added, Didn't go in or Kept separate chip and use its action. A Didn't go in file has no action: correct it if needed and upload it again |
| A file stayed with no chip, or went to the wrong dataset | No rule took it, or an earlier rule did | See folder rules |
| Match the columns says "Couldn't find Sales. It may have been moved to trash." | The destination dataset was moved to Trash | Restore it from Trash, or edit the automation to point to another dataset |
Related
- Read automation statuses and History: a Data Consolidation's runs, file by file.
- Notifications: the notice you get when a file doesn't go in.
- Monitor: files waiting in Needs Attention.
- Manage automations: suspend or edit the automation.
Something wrong? support@mammoth.io