failedRows field on the job record only carries a small inline sample. This command returns the full list, ready to redirect to a file or pipe into another tool. The output is always CSV. The global --format and --json flags emit a stderr warning and are otherwise ignored.
Synopsis
Arguments
| Argument | Type | Description |
|---|---|---|
<id> | integer | The importJobId returned by import create. |
Examples
1. Save failures to a file
rowNum,errorCode,errorMessage,rawValue so you can sort and filter without re-parsing.
2. Count failures grouped by error code
errorCode, and prints the rank-ordered failure types. Useful when triaging which fix unlocks the most rows.
3. Only run when the job had failures
import get with failed-export so the CSV file only appears when there is something to fix.
Response
The command writes raw CSV to stdout, not the standard JSON envelope.See also
import get. Branch onfailedCountbefore exporting.import create. Re-import the fixed CSV with the same channel and mode.- Recipe: CSV import. Uses this command in the failure-recovery branch.
