---
metadata:
  - name: generator
    content: Diplodoc Platform v5.63.0
alternate:
  - en/troubleshooting/errors/ERR-AUTH_API-UNEXPECTED_RESPONSE
  - ru/troubleshooting/errors/ERR-AUTH_API-UNEXPECTED_RESPONSE
  - href: en/troubleshooting/errors/ERR-AUTH_API-UNEXPECTED_RESPONSE.md
    type: text/markdown
    title: Markdown version
csp:
  - script-src:
      - https://mc.yandex.ru
    img-src:
      - https://mc.yandex.ru
    connect-src:
      - https://mc.yandex.ru
      - wss://mc.yandex.ru
    child-src:
      - 'blob:'
      - https://mc.yandex.ru
    frame-src:
      - 'blob:'
      - https://mc.yandex.ru
    frame-ancestors:
      - 'blob:'
      - https://mc.yandex.ru
canonical: en/troubleshooting/errors/ERR-AUTH_API-UNEXPECTED_RESPONSE.html
title: DataLens On-premises error ERR.AUTH_API.UNEXPECTED_RESPONSE
description: >-
  This page describes the Got an unexpected response from an external API
  DataLens On-premises error.
vcsPath: en/troubleshooting/errors/ERR-AUTH_API-UNEXPECTED_RESPONSE.md
---

# [DataLens On-premises] Got an unexpected response from an external API

`ERR.AUTH_API.UNEXPECTED_RESPONSE`

The error occurs when an invalid response is received during an attempt to authorize a connection in an external system, e.g., Yandex ID, Google, or Snowflake.

To fix the error, retry the authorization after a while.


If the error persists, contact Yandex Cloud [support](https://center.yandex.cloud/support). In your message, describe when the error occurs.

