Common Errors
If you are unable to understand or address an error you can raise a support ticket.
Attributes of error response
Whenever the API returns an error, the response will appear as follows:
The attributes of the response are:
status
: This determines whether the response is a success or an error.short_message
: The type of error returned. Some of the possible errors areerror_audio_too_long
,error_missing_parameters
orerror_invalid_parameters
.detail_message
: A human-readable message providing more details about the error.
Errors
Below is the list of common errors returned by the API and their solutions:
error_unknown_words
Cause: One or more words are outside of Speechace lexicon.
error_audio_too_long
Solution: You should limit the recording size or contact support@speechace.com
to upgrade your plan.
error_file_too_large
error_audio_missing
Cause: The audio file was not correctly passed or is missing.
Solution: Check the form data field in the request body of the cURL.
error_missing_parameters
Cause: One or more API parameters were missing.
Solution: Check the detail_message
in the error response for the missing parameter.
error_invalid_parameters
Cause: One or more API parameters were missing.
Solution: Check the detail_message
in the error response for the missing parameter.
error_convert_audio
Cause: The audio is either corrupt or not provided in a valid format such as mp3, wav, webm, aac etc.
error_too_many_requests
You are being throttled because you have exceeded the allowed concurrent request volume
error_feature_unavailable
Cause: You attempted to access a feature not provided in your subscription.
Solution: Contact support@speechace.com
to upgrade your plan.
error_key_expired
Cause: Your API Key is not active.
Solution: Please check your subscription status or contact support@speechace.com
error_no_speech
Cause: No human voice detected in the provided audio file.
Solution: Ensure that the audio file contains clear human speech.
error_word_alignment
Cause: The audio did not align with any of the words in the intended text, possibly due to background noise or unclear speech.
Solution: Check for background noise and ensure that the speech in the audio file is clear and distinct.
error_text_too_long
Cause: The text you have submitted is longer than 1500 characters. Solution: Shorten the text to meet the character limit.
error_internal
Cause: A catch-all error for various unforseen cases.
Solution: Consult support@speechace.com
for assistance with this general error.
Support
If you are unable to understand or address an error you can raise a support ticket.
Last updated