Skip to content

bulk.invalid_file

HTTP 422 Invalid bulk file

A bulk job’s file can’t be read: not UTF-8, not CSV or JSON lines, no known column, no rows, or more rows than bulk.max_rows. The job’s error carries this code.

Fix the file and start a new job. Rows with a bad value don’t fail the job: they get their own error in the result.

Sending the same request again gives the same answer until the cause is fixed.

  • HTTP status: 422 Unprocessable Content
  • Where you can meet it: Customer API (/v1)
  • Code: bulk.invalid_file (stable: match on the code, not on the title or detail text)
{
"type": "https://docs.zemodata.com/errors/bulk.invalid_file",
"title": "Invalid bulk file",
"status": 422,
"code": "bulk.invalid_file",
"detail": "…",
"request_id": "req_01JD3K8ZQ4V6W9XG2M5N7P0R1S",
"errors": []
}

See Errors for how problem responses work, and all error codes.