Troubleshooting of Amazon Rekognition: Difference between revisions
Jump to navigation
Jump to search
Troubleshooting of Amazon Rekognition (edit)
Revision as of 16:45, 20 December 2020
, 20 December 2020→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+=,.@\-_/]+
Line 20: | Line 20: | ||
<pre> | <pre> | ||
% aws rekognition start-label-detection --video "S3Object={Bucket=YOUR_BUCKET_NAME,Name=YOUR_VIDEO_FILE}" \ | % aws rekognition start-label-detection --video "S3Object={Bucket=YOUR_BUCKET_NAME,Name=YOUR_VIDEO_FILE}" \ | ||
--notification-channel "SNSTopicArn=TopicARN,RoleArn=RoleARN" \ | |||
--region us-east-1 | --region us-east-1 | ||
</pre> | </pre> | ||
Solution: Please verify | Solution: Please verify the setting of Amazon SNS<ref>[https://docs.aws.amazon.com/rekognition/latest/dg/api-video-roles.html Configuring Amazon Rekognition Video - Amazon Rekognition]</ref> | ||
== FAILED 2.8 'Unsupported codec/format. == | == FAILED 2.8 'Unsupported codec/format. == |