Errors
Configuration errors
Configuration errors indicate that something about the API call was not configured correctly. The error message you get from the Hume APIs will often contain more information than we’re able to provide on this page. For example if an audio file is too long, the error message from the API will specify the limit as well as the length of the audio received.
The connection will be closed automatically after ten identical configuration errors to avoid unintended looping.
WebSocket status codes
Service errors
If you encounter an error code starting with I
(for example, error code I0100
), it indicates an outage or a bug in a Hume service. Our team will already have been alerted of the internal error, but if you need immediate assistance please reach out to our support team.
Warnings
Warnings indicate that the payload was configured correctly, but no results could be returned.
Common errors
Some errors will not have an associated error code, but are documented here.
Transcript confidence below threshold value
This error indicates that our transcription service had difficulty identifying the language spoken in your audio file or the quality was too low. We prioritize quality and accuracy, so if it cannot transcribe with confidence, our models won’t be able to process it further.
By default, we use an automated language detection method for our Speech Prosody, Language, and NER models. However, if you know what language is being spoken in your media samples, you can specify it via its BCP-47 tag and potentially obtain more accurate results.
If you see the message above there are few steps you can do to resolve the issue:
- Verify we support the language
- Ensure you are providing clear, high-quality audio files.
- Specify the language within your request if you know the language in the audio.
See the full list of languages supported by the Expression Measurement API here.
You may specify any of the following BCP-47 tags for transcription: zh
, da
, nl
, en
, en-AU
, en-IN
, en-NZ
,
en-GB
, fr
, fr-CA
, de
, hi
, hi-Latn
, id
, it
, ja
, ko
, no
, pl
, pt
, pt-BR
, pt-PT
,
ru
, es
, es-419
, sv
, ta
, tr
, or uk
.