쿠키 기본 설정 선택

당사는 사이트와 서비스를 제공하는 데 필요한 필수 쿠키 및 유사한 도구를 사용합니다. 고객이 사이트를 어떻게 사용하는지 파악하고 개선할 수 있도록 성능 쿠키를 사용해 익명의 통계를 수집합니다. 필수 쿠키는 비활성화할 수 없지만 '사용자 지정' 또는 ‘거부’를 클릭하여 성능 쿠키를 거부할 수 있습니다.

사용자가 동의하는 경우 AWS와 승인된 제3자도 쿠키를 사용하여 유용한 사이트 기능을 제공하고, 사용자의 기본 설정을 기억하고, 관련 광고를 비롯한 관련 콘텐츠를 표시합니다. 필수가 아닌 모든 쿠키를 수락하거나 거부하려면 ‘수락’ 또는 ‘거부’를 클릭하세요. 더 자세한 내용을 선택하려면 ‘사용자 정의’를 클릭하세요.

Debugging training failures

포커스 모드
Debugging training failures - Amazon Textract
이 페이지는 귀하의 언어로 번역되지 않았습니다. 번역 요청

If you are notified on the adapter details page that training has failed, refer to the status message to understand the error and correct it. There are two types of errors: creation errors and file errors. Some status messages are returned in the console, while others are displayed in a validation file.

The validation file that is created alongside a training job contains information on the types of errors encountered when training. If the error message states that the error is a validation error ("Status message = Manifest file contains invalid records. Consult validation error file at OutputConfig path for more details."), refer to the validation file located in the S3 output bucket you chose during adapter training. The generated validation file is named validation_errors.jsonl. Each line in the file corresponds to a line in the manifest file, with errors yielded for each line in the manifest file that produces an error.

The following is a list of all creation errors and possible causes:

Error name Error description
CREATION_ERROR Manifest file contains invalid records. Consult validation error file at OutputConfig path for more details.
CREATION_ERROR No manifest file found. Ensure manifest file is provided.
CREATION_ERROR Unable to access manifest file in specified S3 bucket.
CREATION_ERROR Manifest file located in an unsupported cross-Region S3 bucket.
CREATION_ERROR Contents of manifest file are empty.
CREATION_ERROR The manifest file size exceeds the maximum supported size.
CREATION_ERROR The manifest file has too many training documents.
CREATION_ERROR The manifest file has too many testing documents.
CREATION_ERROR The manifest file has too few training documents.
CREATION_ERROR The manifest file has too few testing documents.
CREATION_ERROR The manifest file has too few training, and testing documents.
CREATION_ERROR The manifest file has too many training, and testing documents.
CREATION_ERROR The manifest file has invalid encoding.
CREATION_ERROR Manifest file contains more training records than allowed limits.
CREATION_ERROR Manifest file contains more testing records than allowed limits.
CREATION_ERROR Unable to access the specified KMS key.
CREATION_ERROR Unable to access the S3 output bucket.
CREATION_ERROR Amazon Textract does not support cross-Region Amazon S3 resources.

The following is a list of file-related errors:

Error name Error description
ERROR_PAGE_COUNT_EXCEEDS_MAXIMUM Number of pages for the same document exceeds maximum limit.(This happens when customer specified origin-ref and page_number in source-ref metadata.)
ERROR_INVALID_FILE The {source-ref|annotations-ref|prelabeling-refs} file(s) is invalid. Check S3 path and/or file properties.
ERROR_INVALID_JSON_LINE The JSON line format is invalid
ERROR_MANIFEST_JSON_DECODE_ERROR The record is not a valid JSON object.
ERROR_DUPLICATE_SOURCE_REF A record with this source-ref already exists in the manifest.
ERROR_IMAGE_TOO_LARGE The image resolution is too large.
ERROR_INVALID_PAGE_COUNT The file is invalid. Expected number of pages to be 1.
ERROR_INVALID_IMAGE Unsupported source reference file format.
ERROR_INVALID_PDF Unsupported PDF file.
ERROR_INVALID_PDF_PAGE_TOO_LARGE Unsupported PDF file. PDF page exceeds max dimensions.
ERROR_INVALID_TIFF Unsupported TIFF file.
ERROR_INVALID_TIFF_COMPRESSION Unsupported TIFF compression type.
ERROR_INVALID_ANNOTATIONS Invalid annotation or prelabeling file.
ERROR_INVALID_ANNOTATIONS_FILE_FORMAT Invalid annotations file format.
ERROR_MISSING_ANNOTATION_BLOCKS Missing {PAGE|QUERY|QUERY_RESULT} block(s).
ERROR_INVALID_BLOCK Invalid {QUERY|QUERY_RESULT} block(s) found.
ERROR_FILE_SIZE_LIMIT_EXCEEDED The size of the {ref_file_type} file(s) exceeds the limit: {size_limit} MB.
ERROR_INVALID_PERMISSIONS_DATASET_S3_BUCKET Unable to access the {ref_file_type} file(s).
ERROR_FILE_NOT_FOUND The {ref_file_type} file(s) is not found.
ERROR_FILE_NOT_FOUND_IN_REGION Amazon Textract does not support cross-Region Amazon S3 resources.
ERROR_QUERY_RESULT_TEXT_LENGTH_LIMIT_EXCEEDED QUERY_RESULT text length is greater than the maximum length.
ERROR_QUERY_PER_PAGE_LIMIT_EXCEEDED Number of QUERY blocks is greater than the maximum allowed.
ERROR_INVALID_DATA_FORMAT "Invalid data format in {filename}."
ERROR_BLOCK_LIMIT_EXCEEDED "Number of {block_type} blocks is greater than the maximum allowed."
ERROR_DUPLICATE_ORIGIN_REF_PAGE_NUMBER_COMBINATION "A record with this origin-ref and page-number already exists in the manifest."
ERROR_INVALID_BLOCK_RELATIONSHIP "Invalid block relationship(s) found."
ERROR_DUPLICATED_BLOCK_ID "Blocks Id should be unique."

To see API error descriptions, see the Amazon Textract API Reference for the appropriate operation. If an error occurs when you try to create a new adapter with the CreateAdapterVersion operation, see the API Reference page. If an error occurs when using the Amazon Textract console, read the error pop-up for information on why the operation failed.

프라이버시사이트 이용 약관쿠키 기본 설정
© 2025, Amazon Web Services, Inc. 또는 계열사. All rights reserved.