Skip to content

TRIM_NO_RECORDS

Generated from the code registries by scripts/gen_code_pages.py — do not hand-edit.

The file has no record messages, so trimmed totals could not be recomputed; nothing was written.

Error — the file violates the FIT structure this code names. In lenient/forensic mode it lands in errors[] on the result; in strict mode it raises a chiptime.FitError subclass carrying this code, a human detail, and (where useful) a suggestion.

Handling it

import chiptime

result = chiptime.parse("activity.fit")
for d in [*result.errors, *result.warnings, *result.provenance]:
    if d.code == "TRIM_NO_RECORDS":
        print(d.code, "-", d.detail)

All codes are stable machine contract — grep logs for the string TRIM_NO_RECORDS, branch on it in pipelines, and see the codes registry for the full list.