Class: Aws::TranscribeService::Types::BadRequestException
- Inherits:
-
Struct
- Object
- Struct
- Aws::TranscribeService::Types::BadRequestException
- Defined in:
- gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb
Overview
Your request didn't pass one or more validation tests. This can occur
when a parameter has an invalid value, when you combine parameters in
a way that isn't supported, when the entity you're trying to delete
doesn't exist, or if it's in a non-terminal state (such as IN
PROGRESS). See the exception message field for more information.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#message ⇒ String
-
#reason ⇒ String
A code that identifies why the audio in your request was rejected.
Instance Attribute Details
#message ⇒ String
103 104 105 106 107 108 |
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 103 class BadRequestException < Struct.new( :message, :reason) SENSITIVE = [] include Aws::Structure end |
#reason ⇒ String
A code that identifies why the audio in your request was rejected.
Currently, TranscribeAudio returns this field, and only for
problems with your audio. It isn't returned for other validation
errors.
Possible values:
audioTooLong: The audio is longer than the maximum duration of 1 hour.audioTooShort: The audio is shorter than 0.5 seconds.audioFileTooLarge: The audio is larger than the maximum size.unsupportedAudioFormat: The media format isn't supported.unsupportedChannelCount: You enabledChannelIdentificationand the audio has more than two channels.invalidAudio: Amazon Transcribe couldn't decode the audio.mediaDownloadFailed: Amazon Transcribe couldn't download the audio at yourMediaFileUri.
103 104 105 106 107 108 |
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 103 class BadRequestException < Struct.new( :message, :reason) SENSITIVE = [] include Aws::Structure end |