Which error is this?
Paste an error string — an NSError description, an HTTP status line, a chunk of log — and this matches it against the 17 HKError.Codecases read from Apple’s documentation on 2026-08-28, and against the 15 troubleshooting guides published on this site. It shows Apple’s own wording for a matched case and each guide’s own summary — it does not write a diagnosis, and when nothing matches it says so.
Nothing to match yet. The matcher runs over 17HKError.Code cases read from Apple’s documentation on 2026-08-28 and 15 troubleshooting guides on this site.
How this works
Everything runs client-side from this site’s published dataset. There is no API call, no upload, and no model: the text you paste stays in your browser and is matched by string overlap against two indexes built at build time.
The first index is every HKError.Code case Apple documents, with the abstract and discussion quoted verbatim — the generator scripts/fetch-healthkit-identifiers.mjsread them from Apple’s documentation on 2026-08-28. The second is an authored map of error strings to the troubleshooting guides on this site; the sentence shown for each guide is that guide’s own summary, not a re-description of your problem.
Apple does not publish the numeric raw values behind HKError.Code, so a bare Code=5 cannot be resolved to a name from anything Apple states publicly, and this tool will not guess one. The underlying data is downloadable — open datasets, CC BY 4.0.
A free tool from AIFitnessAPI. The full references are every HealthKit error code and fitness & health API troubleshooting. More at free tools for health-app builders.