- Newest
- Most votes
- Most comments
Check S3 URI Format:
The S3 URI should be in the format s3://bucket-name/path/to/manifest.json. Ensure that the URI directly points to the manifest.json file and not just the folder containing it. Example: If your manifest.json is located in a folder input in your S3 bucket named voice-enrollment, the correct URI should be s3://voice-enrollment/input/manifest.json.
Validate the Manifest File Structure:
Ensure that your manifest.json follows the exact structure required by Amazon Transcribe or Amazon Voice ID. The common structure should look something like this:
{
"AudioFileS3Locations": [
{
"S3Uri": "s3://your-bucket-name/path-to-audio-file/audio1.wav",
"SpeakerId": "speaker-1"
},
{
"S3Uri": "s3://your-bucket-name/path-to-audio-file/audio2.wav",
"SpeakerId": "speaker-2"
}
]
}
Each entry in AudioFileS3Locations should have a valid S3Uri pointing to the audio file and a SpeakerId.
Check Permissions:
Ensure that the S3 bucket and the files are accessible by the DataAccessRoleArn you've provided. This role should have the necessary permissions to read the S3 bucket and objects. The necessary permissions usually include s3:GetObject, s3:ListBucket, and possibly others depending on your setup.
Test with a Simple Manifest:
Create a very simple manifest.json file with just one or two entries to test the batch enrollment. This helps in isolating the problem, especially if there's an issue with specific files or entries in your full manifest.
Check File Paths in S3:
Ensure that there are no typos or incorrect paths in the S3Uri values. The path should exactly match the structure in your S3 bucket. Use AWS CLI or SDK Examples:
Refer to AWS documentation or examples that use StartSpeakerEnrollmentJobCommand.
Relevant content
- asked 2 years ago
- How do I set up logging for Amazon Pinpoint voice messages for Amazon Pinpoint SMS and Voice v2 API?AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 years ago
- How do I set up logging for Amazon Pinpoint voice messages for Amazon Pinpoint SMS and Voice v1 API?AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago