Guia de tratamento de erros

Objeto ErrorBio

Este objeto é retornado sempre que ocorre um erro no SDK Android.

Métodos disponíveis

Nome do método
Descrição

getCode()

Método utilizado para obter o código de erro ocorrido

getDescription()

Método utilizado para obter a descrição de erro ocorrido

É disponibilizado a seguir a lista de possíveis códigos de erro do SDK Android:

Código
Descrição

73001

Context invalid

73002

Did not grant permission to open camera

73003

The lest API is 21(LOLLIPOP

73004

Could not find implementation interface callback iAcessoBioSelfie

73005

Could not find implementation interface callback iAcessoBioDocument

73006

Unable to open camera on emulators

73007

Unknown and unexpected error in WebApp. Unico SDK leverages a variety of APIs including camera, storage, security, networking, and more. This return value is a catch-all for errors experienced during normal usage of these APIs.

73100

Unable to connect to internet.

73200

Please inform the config object or json file name

73202

Unable to parse json file

73204

Unable to initialize the SDK, please configure the environment on setEnviroment method of build

73300

Unable to get unico authentication object

73301

Unable to parse object

73302

Could not find the unico token

73303

Current host is not registered

73400

Could not initialize camera

73701

Could not find active liveness import

73703

Unable to get active liveness session

73718

The Session was cancelled because of an unknown and unexpected error. SDK leverages a variety of APIs including camera, storage, security, networking, and more. This return value is a catch-all for errors experienced during normal usage of these APIs.

73721

The Session can't be performed: attempts limit exceeded.

73722

The Session can't be performed: face alignment timeout.

73726

An error happened during video recording

73727

No actions found in a video

73740

The user pressed the do not consent button and did not complete the Session.

73800

Could not build encrypted key.

73801

The Session of SDK was cancelled because of an unknown and unexpected error.

73802

The Session was cancelled because of an unknown and unexpected error. SDK leverages a variety of APIs including camera, storage, security, networking, and more. This return value is a catch-all for errors experienced during normal usage of these APIs.

73900

Erro ao analisar imagem

73901

É necessário implementar a interface AcessoBioListener

73902

É necessário insirir um valor maior que 40 segundos no método: setTimeoutSession.

73903

Arquivo de configuração corrompido. Verifique o arquivo json e tente novamente.

73903

É necessário insirir um valor em segundos maior que o tempo máximo para inferencia de face <valor de SECONDS_TIMEOUT_TO_FACE_INFERENCE> segundos no método: setTimeoutSession.

73904

Erro ao finalizar processo

73905

Unable to open document camera

73906

Document type uninformed

74001

onSuccess: not implemented when using open:webAppToken:

74100

Could not prepare SDK-S

74101

No URL token was provided.

74102

Environment type was not specified.

737120

Unable to initialize liveness

737220

Capture could not start

737320

Transaction could not start

737321

The Session was cancelled because of an unknown and unexpected error. This return value is a catch-all for errors experienced during normal usage of these APIs. Try again.

Atualizado

Isto foi útil?