Skip to main content
Stream every rejected row from an import job to stdout as CSV. The 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

Examples

1. Save failures to a file

Captures the rejected rows. The CSV header is rowNum,errorCode,errorMessage,rawValue so you can sort and filter without re-parsing.

2. Count failures grouped by error code

Skips the header, pulls 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

Pairs 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.
If TalkValue returns a non-200 status the command fails with a usage error carrying the HTTP status. No CSV is written.

See also