FIT_CRC_MISMATCH¶
Generated from the code registries by
scripts/gen_code_pages.py— do not hand-edit.
File CRC is wrong but content decodes; continued.
Warning — chiptime saw something suspicious, handled it, and continued. Appears in warnings[] on the result in every mode.
Proven by corpus cases¶
This code's behavior is pinned by committed conformance cases: structural/file-crc-bad · structural/file-crc-bad · structural/file-crc-zeroed · structural/file-crc-zeroed · structural/garbage-block-midfile · structural/garbage-block-midfile
Handling it¶
import chiptime
result = chiptime.parse("activity.fit")
for d in [*result.errors, *result.warnings, *result.provenance]:
if d.code == "FIT_CRC_MISMATCH":
print(d.code, "-", d.detail)
All codes are stable machine contract — grep logs for the string FIT_CRC_MISMATCH,
branch on it in pipelines, and see the codes registry for the
full list.