> For the complete documentation index, see [llms.txt](https://docs.tryterra.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tryterra.co/faq/help-topics/data-api-sdk/api-endpoints-errors-and-migrations/provider-error-string-normalisation.md).

# Why does the duplicate-workout-name error differ by provider?

Error detail strings differ across providers because **Terra normalises some providers' error conditions into a consistent message, while passing others through raw from the provider API.**

Raw passthrough strings are not versioned and can change whenever a provider updates their API, so matching on them exactly is fragile.

**Use per-provider substring matching** as the defensive approach until consistent normalised messages are applied across all providers.
