ErrorsListItem - Amazon Comprehend API Reference

ErrorsListItem

Text extraction encountered one or more page-level errors in the input document.

The ErrorCode contains one of the following values:

  • TEXTRACT_BAD_PAGE - Amazon Textract cannot read the page. For more information about page limits in Amazon Textract, see Page Quotas in Amazon Textract.

  • TEXTRACT_PROVISIONED_THROUGHPUT_EXCEEDED - The number of requests exceeded your throughput limit. For more information about throughput quotas in Amazon Textract, see Default quotas in Amazon Textract.

  • PAGE_CHARACTERS_EXCEEDED - Too many text characters on the page (10,000 characters maximum).

  • PAGE_SIZE_EXCEEDED - The maximum page size is 10 MB.

  • INTERNAL_SERVER_ERROR - The request encountered a service issue. Try the API request again.

Contents

ErrorCode

Error code for the cause of the error.

Type: String

Valid Values: TEXTRACT_BAD_PAGE | TEXTRACT_PROVISIONED_THROUGHPUT_EXCEEDED | PAGE_CHARACTERS_EXCEEDED | PAGE_SIZE_EXCEEDED | INTERNAL_SERVER_ERROR

Required: No

ErrorMessage

Text message explaining the reason for the error.

Type: String

Length Constraints: Minimum length of 1.

Required: No

Page

Page number where the error occurred.

Type: Integer

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: