Unico IDCloud - DevCenter
HomepageAuthenticationAPIsSDKs
English (United States)
English (United States)
  • Welcome
  • GETTING STARTED
    • Unico IDCloud
    • Capabilities
    • Integration Methods
    • Capabilities and Integration Methods
  • INTEGRATIONS
    • Quickstart
    • Authentication
      • Creating a Service Account
      • Preparing to Make an Authenticated API Request
      • Additional Resources
        • Example in Javascript
        • Authentication Errors
        • Postman Collection
    • Integration by Unico
      • Overview
      • API
        • API Reference
          • CreateProcess
            • CreateProcess separated by flows
          • GetProcess
          • GetSelfie
          • GetEvidenceSet
            • Specification of the evidential set
          • GetDocumentSigned
          • GetEvidenceSign
        • Errors
      • Controlling the experience
        • Redirecting the user
        • SDK
        • QR Code
        • Customizations
      • Additional Resources
        • Postman Collection
        • PoCs available
    • Integration by Client
      • Overview
      • API
        • API Reference
          • Liveness + Identity Verification + Behavior Alert
          • Liveness + Identity Verification + Behavior Alert + Risk Score
          • Liveness + Validation (1:1) + Behavior Alert
          • Document Capture and Reuse
        • Response Scenarios
        • Additional Resources
          • Postman Collection
      • Capture standard (without SDK)
    • Webhook
    • SDK
      • Overview
      • Update Policy
      • SDK Integration
        • Android SDK
          • Installation Guide
          • Usage and Integration Guide
            • Selfie Capture
            • Document Capture
          • Error Handling Guide
          • Android Customization
          • Troubleshooting
          • Release notes
        • iOS SDK
          • Installation Guide
          • Usage and Integration Guide
            • Selfie Capture
            • Document Capture
          • Error Handling Guide
          • iOS Customization
          • Troubleshooting
          • Release notes
        • Flutter SDK
          • Installation Guide
          • Usage and Integration Guide
            • Selfie Capture
            • Document Capture
          • Error Handling Guide
          • Flutter Customization
          • Troubleshooting
          • Release notes
        • Web SDK
          • Installation Guide
          • Usage and Integration Guide
            • Selfie Capture
            • Document Capture
            • Accessibility
          • Error Handling Guide
          • Web Customization
          • Release notes
      • Additional Resources
        • Available PoCs
        • Best Practices for SDK Implementation
  • help & faq
    • Glossary
    • Help Center
Powered by GitBook

Institucional

  • Sobre nós

Copyright © 2024 unico. All rights reserved

On this page
  • Introduction
  • Possible Errors
  • Create Process
  • Consult Process Result
  • Get User's Selfie
  • Obtain Evidence Set
  • Obtain Signed Document
  • Obtain Evidence Set of the Signed Document

Was this helpful?

Export as PDF
  1. INTEGRATIONS
  2. Integration by Unico
  3. API

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:

{
    "error": {
        "code": "0000",
        "description": "error description"
    }
}

Possible Errors


In this topic, you will find the possible errors for the endpoints, separated by their HTTP response.

Create Process


code
message
description

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.

message
description

Jwt header is an invalid JSON

When the access token used contains incorrect characters.

Jwt is expired

When the access token used has expired.

No detailed error code will be provided for this situation, only the HTTP status code.

code
message
description

99999

Internal failure! Try again later

When there is an internal error.

Consult Process Result


code
message
description

3

process id is invalid

When the process ID is invalid.

message
description

Jwt header is an invalid JSON

When the access token used contains incorrect characters.

Jwt is expired

When the access token used has expired.

code
message
description

5

error getting process: rpc error: code = NotFound desc = process not found

When the process ID was not found.

No detailed error code will be provided for this situation, only the HTTP status code.

code
message
description

99999

Internal failure! Try again later

When there is an internal error.

Get User's Selfie


code
message
description

3

process id is invalid

When the process ID is invalid.

message
description

Jwt header is an invalid JSON

When the access token used contains incorrect characters.

Jwt is expired

When the access token used has expired.

code
message
description

7

no permission

When the service account does not have permission to retrieve the selfie.

code
message
description

5

error getting process: rpc error: code = NotFound desc = process not found

When the process ID was not found.

No detailed error code will be provided for this situation, only the HTTP status code.

code
message
description

99999

Internal failure! Try again later

When there is an internal error.

Obtain Evidence Set


code
message
description

3

process id is invalid

When the process ID is invalid.

message
description

Jwt header is an invalid JSON

When the access token used contains incorrect characters.

Jwt is expired

When the access token used has expired.

code
message
description

7

no permission

When the service account does not have permission to retrieve the selfie.

code
message
description

5

error getting process: rpc error: code = NotFound desc = process not found

When the process ID was not found.

No detailed error code will be provided for this situation, only the HTTP status code.

code
message
description

99999

Internal failure! Try again later

When there is an internal error.

Obtain Signed Document


code
message
description

5

error getting process: rpc error: code = NotFound desc = process not found

When the process ID was not found.

No detailed error code will be provided for this situation, only the HTTP status code.

code
message
description

99999

Internal failure! Try again later

When there is an internal error.

Obtain Evidence Set of the Signed Document


code
message
description

5

error getting process: rpc error: code = NotFound desc = process not found

When the process ID was not found.

No detailed error code will be provided for this situation, only the HTTP status code.

No detailed error code will be provided for this situation, only the HTTP status code.

code
message
description

99999

Internal failure! Try again later

When there is an internal error.


PreviousGetEvidenceSignNextControlling the experience

Last updated 22 days ago

Was this helpful?

Still need help?

Didn't find something or still need help? If you're already a client or partner, you can reach out through our .

​
Help Center