CHW-8305 HFCommitParseFailed
could not parse NDJSON commit body; verify the header line and per-file entries
Default message: could not parse NDJSON commit body; verify the header line and per-file entries
HTTP status:400(client)
Problem. The NDJSON commit body was rejected. Cause. The body
had an unknown header line, a malformed entry, or an IO failure
mid-stream. Fix. Verify the first line is the commit header and each
subsequent line is a single JSON object describing one file or LFS
pointer. The HF huggingface_hub Python client emits this shape
correctly; if you’re hand-crafting commits, mirror its output. HTTP 400.