Troubleshooting of Amazon Rekognition: Difference between revisions
Jump to navigation
Jump to search
m (Planetoid moved page Troubleshooting of Amazon Rekognition Video to Troubleshooting of Amazon Rekognition) |
No edit summary |
||
| Line 1: | Line 1: | ||
Troubleshooting of Amazon Rekognition ([https://aws.amazon.com/tw/rekognition/?blog-cards.sort-by=item.additionalFields.createdDate&blog-cards.sort-order=desc Amazon Rekognition – 影片與影像 – AWS]) | Troubleshooting of Amazon Rekognition ([https://aws.amazon.com/tw/rekognition/?blog-cards.sort-by=item.additionalFields.createdDate&blog-cards.sort-order=desc Amazon Rekognition – 影片與影像 – AWS]) | ||
The | (The article written in [https://errerrors.blogspot.com/2020/12/troubleshooting-amazon-rekognition-video.html Traditional Chinese]) | ||
== An error occurred (InvalidS3ObjectException) when calling the DetectLabels operation: Unable to get object metadata from S3. Check object key, region and/or access permissions. == | == An error occurred (InvalidS3ObjectException) when calling the DetectLabels operation: Unable to get object metadata from S3. Check object key, region and/or access permissions. == | ||
Revision as of 11:35, 20 December 2020
Troubleshooting of Amazon Rekognition (Amazon Rekognition – 影片與影像 – AWS)
(The article written in Traditional Chinese)
An error occurred (InvalidS3ObjectException) when calling the DetectLabels operation: Unable to get object metadata from S3. Check object key, region and/or access permissions.
Condition: After input the command as follows:
% aws rekognition start-label-detection --video "S3Object={Bucket=YOUR_BUCKET_NAME,Name=YOUR_VIDEO_FILE}" \
--region us-east-1
Solution: Please verify (1) the name of S3 bucket, (2) name of file path of your file (3) name of region
An error occurred (ValidationException) when calling the StartLabelDetection operation: 2 validation errors detected: Value 'TopicARN' at 'notificationChannel.sNSTopicArn' failed to satisfy constraint: Member must satisfy regular expression pattern: (^arn:([a-z\d-]+):sns:.*:\w{12}:.+$); Value 'RoleARN' at 'notificationChannel.roleArn' failed to satisfy constraint: Member must satisfy regular expression pattern: arn:([a-z\d-]+):iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+
Condition: After input the command as follows:
% aws rekognition start-label-detection --video "S3Object={Bucket=YOUR_BUCKET_NAME,Name=YOUR_VIDEO_FILE}" \
--region us-east-1
Solution: Please verify (1) name of file path of your file were written in ASCII (2) Or verify the permission issue by using AWS CLI[1]
FAILED 2.8 'Unsupported codec/format.
Condition: After input the command as follows:
% aws rekognition get-label-detection --job-id <JOB_ID> --region us-east-1
Solution: Please verify the file format (mp4 or mov) and video encoding of video file: H.264[2]
Quoted from Amazon Rekognition – frequently asked questions - AWS
Q: What types file formats and codecs does Amazon Rekognition Video support? Amazon Rekognition Video supports H.264 files in MPEG-4 (.mp4) or MOV format. If your video files use a different codec, you can transcode them into H.264 using AWS Elemental MediaConvert.
References
Troubleshooting of ...
- PHP, cUrl, Python, selenium, HTTP status code errors
- Database: SQL syntax debug, MySQL errors, MySQLTuner errors or PostgreSQL errors
- HTML/Javascript: Troubleshooting of javascript, XPath
- Software: Mediawiki, Docker, FTP problems, online conference software
- Test connectivity for the web service, Web Ping, Network problem, Web user behavior, Web scrape troubleshooting
Template