ErrorsListItem
import type { ErrorsListItem } from "https://aws-api.deno.dev/v0.4/services/comprehend.ts?docs=full";
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.
interface ErrorsListItem {
ErrorCode?: PageBasedErrorCode | null;
ErrorMessage?: string | null;
Page?: number | null;
}