> 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.md).

# API endpoints, errors and migrations

Common questions about aPI endpoints, errors and migrations.

## Articles

{% content-ref url="/pages/rpwSTU5P0Cw2yiZUAsAk" %}
[Why does the GET API return 200 with no data array?](/faq/help-topics/data-api-sdk/api-endpoints-errors-and-migrations/to-webhook-default-and-empty-response.md)
{% endcontent-ref %}

{% content-ref url="/pages/nPhWfVguBKRYrsIwutjf" %}
[Should I migrate to the access.tryterra.co endpoint?](/faq/help-topics/data-api-sdk/api-endpoints-errors-and-migrations/migrate-to-new-api-infrastructure.md)
{% endcontent-ref %}

{% content-ref url="/pages/XNYOg9rpLsQuQhPS5QkR" %}
[Why do I get a 400 connection does not support data type error?](/faq/help-topics/data-api-sdk/api-endpoints-errors-and-migrations/unsupported-data-type-per-provider.md)
{% endcontent-ref %}

{% content-ref url="/pages/kRdRjj7fcPWV44na8VMM" %}
[Why am I getting a 403 on generateWidgetSession?](/faq/help-topics/data-api-sdk/api-endpoints-errors-and-migrations/rate-limits-and-no-bans.md)
{% endcontent-ref %}

{% content-ref url="/pages/HnMkhTrDWQyuIbX0n8qH" %}
[Why does the API return "Request is processing" instead of data?](/faq/help-topics/data-api-sdk/api-endpoints-errors-and-migrations/garmin-async-processing-and-cache.md)
{% endcontent-ref %}

{% content-ref url="/pages/LRT5uKkFGRJMK3akcrIu" %}
[Why does authenticateUser fail for some provider names?](/faq/help-topics/data-api-sdk/api-endpoints-errors-and-migrations/sdk-vs-web-providers.md)
{% endcontent-ref %}

{% content-ref url="/pages/dlH5OIcAWN82vrcniFVH" %}
[Is the JavaScript SDK deprecated?](/faq/help-topics/data-api-sdk/api-endpoints-errors-and-migrations/js-sdk-deprecation-backend-sdk-versions.md)
{% endcontent-ref %}

{% content-ref url="/pages/HgW8dPF2pXpjxbLOU50I" %}
[Why does generateWidgetSession return a 500?](/faq/help-topics/data-api-sdk/api-endpoints-errors-and-migrations/widget-session-providers-string-format.md)
{% endcontent-ref %}

{% content-ref url="/pages/woNiaFr0Fdbdl8CR0oLn" %}
[Why does a Hevy activity pull return 404?](/faq/help-topics/data-api-sdk/api-endpoints-errors-and-migrations/hevy-unsupported-data-type-404.md)
{% endcontent-ref %}

{% content-ref url="/pages/BJmjoU5Ch8ekganxnL36" %}
[Why do some auth URLs error out?](/faq/help-topics/data-api-sdk/api-endpoints-errors-and-migrations/auth-url-errors.md)
{% endcontent-ref %}

{% content-ref url="/pages/wmWwV8nnT5fnmYgedi2k" %}
[How do I migrate WHOOP from V1 to V2?](/faq/help-topics/data-api-sdk/api-endpoints-errors-and-migrations/whoop-v1-to-v2-migration.md)
{% endcontent-ref %}

{% content-ref url="/pages/NOEgdINNMczKAfsxKvrI" %}
[Where did the activity type enum docs move?](/faq/help-topics/data-api-sdk/api-endpoints-errors-and-migrations/garmin-enum-docs-moved.md)
{% endcontent-ref %}

{% content-ref url="/pages/SqURUeGRmfM1BLdVfQYw" %}
[Why is the OpenAPI spec docs link broken?](/faq/help-topics/data-api-sdk/api-endpoints-errors-and-migrations/openapi-spec-link-broken.md)
{% endcontent-ref %}

{% content-ref url="/pages/eLvDHa1AsytHz9OlsWpX" %}
[How do I delete lab report uploads?](/faq/help-topics/data-api-sdk/api-endpoints-errors-and-migrations/data-deletion-via-ticket.md)
{% endcontent-ref %}

{% content-ref url="/pages/PHnNMB1B9IUEPP4NuHS9" %}
[Why does Team API create-coach return an invalid token error?](/faq/help-topics/data-api-sdk/api-endpoints-errors-and-migrations/token-casing-self-resolved.md)
{% endcontent-ref %}

{% content-ref url="/pages/SKEw1BSgtDQNcOFpFXHR" %}
[Why does authenticateUser return a malformed request body error?](/faq/help-topics/data-api-sdk/api-endpoints-errors-and-migrations/request-body-strict-typing.md)
{% endcontent-ref %}

{% content-ref url="/pages/fKW5QjCYupOtrYMFI5uo" %}
[Why does /activity return invalid user id after auth?](/faq/help-topics/data-api-sdk/api-endpoints-errors-and-migrations/environment-mismatch-invalid-user-id.md)
{% endcontent-ref %}

{% content-ref url="/pages/mVXQs01L1UPRb5hSPvOA" %}
[Why does the duplicate-workout-name error differ by provider?](/faq/help-topics/data-api-sdk/api-endpoints-errors-and-migrations/provider-error-string-normalisation.md)
{% endcontent-ref %}

{% content-ref url="/pages/BqV5kEtPzwpZJDJ3LQoa" %}
[How do I point the terra-api npm client at the new endpoint?](/faq/help-topics/data-api-sdk/api-endpoints-errors-and-migrations/npm-client-custom-baseurl-new-endpoint.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tryterra.co/faq/help-topics/data-api-sdk/api-endpoints-errors-and-migrations.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
