> 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/connecting/connection-errors-and-api-responses.md).

# Connection errors and API responses

Common questions about connection errors and API responses.

## Articles

{% content-ref url="/pages/Hjli6gR5wYQdc3JvmPZ3" %}
[Why do my requests return 401 in production?](/faq/help-topics/connecting/connection-errors-and-api-responses/env-credential-mismatch-401-invalid-token.md)
{% endcontent-ref %}

{% content-ref url="/pages/bmIszl9ESu98xuRLo9xD" %}
[Why do I get 'app is blocked' on Google Fit OAuth?](/faq/help-topics/connecting/connection-errors-and-api-responses/google-fit-app-blocked-write-scopes.md)
{% endcontent-ref %}

{% content-ref url="/pages/99RqBczrcpAZ5mU2hKm5" %}
[Why do I get 'insufficient permissions for data type' on Google?](/faq/help-topics/connecting/connection-errors-and-api-responses/google-insufficient-scope-data-type.md)
{% endcontent-ref %}

{% content-ref url="/pages/ZwhXnSyABnWwY705VLWv" %}
[Why does Google connect return a google\_no\_datasource warning?](/faq/help-topics/connecting/connection-errors-and-api-responses/google-no-datasource-warning.md)
{% endcontent-ref %}

{% content-ref url="/pages/haIz8s1pspB1mCYdYvuy" %}
[Why does Fitbit show 'rate limit exceeded' right after connecting?](/faq/help-topics/connecting/connection-errors-and-api-responses/fitbit-rate-limit-after-connect.md)
{% endcontent-ref %}

{% content-ref url="/pages/740ziYQNo2abfRPXwhgg" %}
[Why does the OAuth redirect hang or return missing\_scopes?](/faq/help-topics/connecting/connection-errors-and-api-responses/webhook-30s-timeout-and-historical-data.md)
{% endcontent-ref %}

{% content-ref url="/pages/EsRzOx4TFkWvAdn9TRvH" %}
[Why does the auth endpoint return 422 errors?](/faq/help-topics/connecting/connection-errors-and-api-responses/reference-id-must-be-string-422.md)
{% endcontent-ref %}

{% content-ref url="/pages/LtzIpV51RAci9px5Hc0G" %}
[Why does generateWidgetSession return a 500?](/faq/help-topics/connecting/connection-errors-and-api-responses/generatewidgetsession-500-no-sources.md)
{% endcontent-ref %}

{% content-ref url="/pages/JFzMtvHxV9wDmgOzr7dk" %}
[Why is my staging widget blocked before provider auth?](/faq/help-topics/connecting/connection-errors-and-api-responses/staging-testing-50-user-cap.md)
{% endcontent-ref %}
