Got this error from s3-ocr start s3-ocr-many-pdfs --all:
botocore.errorfactory.InvalidS3ObjectException: An error occurred (InvalidS3ObjectException) when calling the StartDocumentTextDetection operation: Unable to get object metadata from S3. Check object key, region and/or access permissions.
Got this error from
s3-ocr start s3-ocr-many-pdfs --all
:https://stackoverflow.com/a/64511389/6083 suggests that the fix is to pass the region here:
Originally posted by @simonw in https://github.com/simonw/s3-ocr/issues/21#issuecomment-1207322670