Errors
In this section, you will find an overview of the errors you may encounter in the endpoints of the Unico IDCloud platform.
Introduction
The IDCloud platform uses conventional HTTP response codes to indicate the success or failure of an API request.
As a general rule:
Codes in the
2xx
range indicate a successful request;Codes in the
4xx
range indicate incorrect or incomplete parameters (for example, a required parameter was omitted, or an operation failed with third parties, etc.);Codes in the
5xx
range indicate that there was an error on the Unico IDCloud platform's servers.
The Unico IDCloud platform also generates an error message and an error code formatted in JSON:
Possible Errors
In this topic, you will find the possible errors for the endpoints, separated by their HTTP response.
Create Process
3
invalid flow
When the specified flow does not exist.
3
invalid purpose
When the provided proposal is invalid.
3
invalid callbackUri: unable to parse callbackUri: parse "": empty url, invalid callbackUri: url:
When the provided callbackUri is invalid.
3
invalid person: email required for notification channel NOTIFICATION_CHANNEL_EMAIL, invalid email address for notification channel NOTIFICATION_CHANNEL_EMAIL
When the provided email is invalid, but there is email notification.
3
invalid person: phone number required for notification channel NOTIFICATION_CHANNEL_WHATSAPP, phone number does not contain 13 chars for notification channel NOTIFICATION_CHANNEL_WHATSAPP
When the provided phone number is invalid, but there is notification via SMS or WhatsApp.
3
idnsv2/GetPublicID request error: rpc error: code = InvalidArgument desc = invalid dui value
When the provided CPF is invalid.
9
XX ID Apikeys are not set
When an API Key has not been configured correctly.
Consult Process Result
3
process id is invalid
When the process ID is invalid.
Get User's Selfie
3
process id is invalid
When the process ID is invalid.
Obtain Evidence Set
3
process id is invalid
When the process ID is invalid.
Obtain Signed Document
5
error getting process: rpc error: code = NotFound desc = process not found
When the process ID was not found.
Obtain Evidence Set of the Signed Document
5
error getting process: rpc error: code = NotFound desc = process not found
When the process ID was not found.
Atualizado
Isto foi útil?