1

I have a problem with AWS Transcribe I try use it by PHP. My credentials have the full access for AWS tools. I have the this code:

 $response = $this->client->startTranscriptionJob([
        'LanguageCode' => 'en-US',
        'Media' => [
            'MediaFileUrl' =>  //S3 audio file path
        ],
        'MediaFormat' => 'mp3',
        'TranscriptionJobName' => 'JobName'
    ]);

But I receive error

enter image description here

John Rotenstein
  • 241,921
  • 22
  • 380
  • 470
Aro
  • 1,078
  • 1
  • 7
  • 26

1 Answers1

0

you could get this error due to either

1) s3 object path is not valid

2) the s3 object does no exit

3) or the caller does not have permission to read the s3 object.

Ruoyu Huang
  • 111
  • 4