What happened
Your transcription was started with a speech_threshold, and the audio did not have that much speech in it. The job failed with SPEECH_BELOW_THRESHOLD, as you asked it to for files with too little speech. It was not charged and it is not retried.
Why it happens
- The recording has less speech than the share you set.
speech_thresholdis a number from 0 to 1: the part of the audio that must be speech. The message gives both numbers: the share of the audio that was speech and the threshold you set. - The recording is mostly silence, music or noise, or the speech is only a small part of a long file.
What to do
- Check the two numbers in the message. If the share is close to your threshold, you may have set it too high.
- Lower
speech_threshold, or leave it out, then start the transcription again. Withoutspeech_threshold, a file with no speech completes with an empty transcript andresult.no_speech: true, and it is charged for its length. - If you want to skip files like this, keep the threshold and treat this failure as the answer: that file has too little speech.
- Do not send the same file again with the same threshold: it always gives the same result. The share is measured reliably from about 30 seconds of audio, so very short files can be unreliable.
Were you charged?
No. With the API, a failed job is not charged.
Still stuck?
Email support@scriptivox.com with:
- the email address of your Scriptivox account
- the job's
id - when it happened, with your time zone
- the exact message you saw
For developers
Later, on the job, not on the request: POST /v1/transcribe accepts the job, and once it has been transcribed GET /v1/transcribe/{id} answers 200 with "status": "failed" and error.code SPEECH_BELOW_THRESHOLD. The transcription.failed webhook carries the same error. The job is not retried and nothing is charged. Sending the same file with the same speech_threshold gives the same result, so lower the threshold or leave it out.
{
"id": "8f3c2a10-…",
"status": "failed",
"error": {
"code": "SPEECH_BELOW_THRESHOLD",
"message": "Speech made up 0.12 of this audio, below the speech_threshold of 0.5 you set. Nothing was charged, and sending the same file again gives the same result.",
"docs_url": "https://www.scriptivox.com/errors/speech-below-threshold",
"help_id": "speech-below-threshold"
}
}