document-understanding
latest
false
  • Getting Started
    • Overview
    • Limits and Quota
  • Examples Using the Document Understanding™ Cloud API
  • Licensing
  • Troubleshooting
    • Requests response schemas
    • Document Understanding Cloud APIs error response codes
Document Understanding API Guide
Automation CloudAutomation Cloud Public SectorAutomation SuiteStandalone
Last updated Sep 19, 2024

Requests response schemas

The result we retrieve from using Asynchronous APIs can be processing, successful, or may encounter failures. This page outlines the commonly returned schemas for both these situations when a getResult call is made. Learning to decipher these results is key to successful API management and troubleshooting.

Processing

When still processing, the getResult call returns a schema with the following details:
  • status: the current status of the request. In this case, the status is Running.
  • createdAt: date and time of when the request was initiated.
  • lastUpdatedAt: date and time of when the request was last updated.

Succeeded

When the request is successful, the getResult call returns a schema with the following details:
  • status: the current status of the request. In this case, the status is Succeeded.
  • createdAt: date and time of when the request was initiated.
  • lastUpdatedAt: date and time of when the request was last updated.
  • result: outcome of the request, for example the extraction result (displayed as extractionResult).

Failed

When the request failed, the getResult call returns a schema with the following details:
  • status: the current status of the request. In this case, the status is Failed.
  • createdAt: date and time of when the request was initiated.
  • lastUpdatedAt: date and time of when the request was last updated.
  • error: the cause of errors with the following details:
    • message: detailed explanation that describes what the error is about, for example "Internal Server Error. Please contact the UiPath support team."
    • severity: the failure severity. In this case, the severity is most commonly Error.
    • code: specific code that identifies the type of error, for example [UnexpectedInternalServerError].
    • parameters: contains additional error-related information, if applicable.
  • Processing
  • Succeeded
  • Failed

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.