Error codes

Code

Description

YXLErrorCodeNotActivated

SDK Yandex ID wasn't activated.

YXLErrorCodeCancelled

Authorization controller disabled by the user.

YXLErrorCodeDenied

Authorization denied by the user

YXLErrorCodeInvalidClient

Invalid app ID sent.

YXLErrorCodeInvalidScope

Incorrect scopes specified when registering the app.

YXLErrorCodeOther

Other errors.

YXLErrorCodeRequestError

Internal HTTP request error.

YXLErrorCodeRequestConnectionError

Connection error.

YXLErrorCodeRequestSSLError

SSL error.

YXLErrorCodeRequestNetworkError

Other HTTP errors.

YXLErrorCodeRequestResponseError

HTTP error response received (the response status code is outside the range of 200..299).

YXLErrorCodeRequestEmptyDataError

Empty HTTP response received.

YXLErrorCodeRequestJwtError

Invalid response to a JWT request returned.

YXLErrorCodeRequestJwtInternalError

Internal JWT error.

YXLErrorCodeInvalidState

Invalid state parameter.

YXLErrorCodeInvalidCode

Error requesting an access token using an authorization code.

YXLActivationErrorCodeNoAppId

App ID nil.

YXLActivationErrorCodeNoQuerySchemeInInfoPList

Info.plist has no yandexauthprocedure.

YXLActivationErrorCodeNoSchemeInInfoPList

Info.plist has no yx<client app ID>procedure.