AWSComprehendErrorsListItem
Objective-C
@interface AWSComprehendErrorsListItem
Swift
class AWSComprehendErrorsListItem
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.
-
Error code for the cause of the error.
Declaration
Objective-C
@property (nonatomic) AWSComprehendPageBasedErrorCode errorCode;
Swift
var errorCode: AWSComprehendPageBasedErrorCode { get set }
-
Text message explaining the reason for the error.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable errorMessage;
Swift
var errorMessage: String? { get set }
-
Page number where the error occurred.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable page;
Swift
var page: NSNumber? { get set }