I'm playing with aws-sdk
(version 2.1063.0) in NodeJs and the AWS Transcribe service. I'm planning to upload audio files with unknown language codes, and have AWS Transcribe detect the language and then transcribe the text.
However, the docs for AWS Transcribe and startTranscriptionJob
shows that LanguageCode
isn't required: https://docs.aws.amazon.com/transcribe/latest/dg/API_StartTranscriptionJob.html
Yet when i run my code, i see the error MissingRequiredParameter: Missing required key 'LanguageCode' in params
Even in the AWS Transcribe web portal, i'm able to upload audio files with "Automatic Language Detection" as an option. I'd like to do the same programmatically.
Does anyone have suggestions? I saw Aws Transribe unable to start_transcription_job without LanguageCode in boto3, but wasn't able to apply it to my javascript/node code