Skip to main content
If you send an invalid parameter (unsupported engine, format, or format/engine combination), the server responds with a JSON error and closes the connection.

Error Response Format

{
  "errors": [{
    "code": "40001",
    "title": "Invalid Parameter",
    "detail": "Unsupported input_format 'aac'. Supported formats: mp3, wav, webm, ogg, flac, ogg_opus, webm_opus, linear16, linear32, mulaw, alaw, opus, amr_nb, amr_wb, g729, speex",
    "source": { "parameter": "input_format" }
  }]
}

Error Codes

CodeMeaning
40001Invalid input_format value
40002Format not supported by the chosen engine
40003sample_rate required but missing (raw encoding or Google with non-WAV/FLAC)
40004sample_rate is not a valid positive integer
40005Invalid sample rate for the codec (e.g., amr_nb only supports 8000)
40006Format not supported by Flux model
40007Invalid transcription_engine value