VoxStudio Docs
Download

Errors

Every error returns a non-2xx status and the same JSON shape:

JSON
{ "error": "synthesis_failed", "message": "Unknown voice: Samnatha" }
  • error is a stable code. Branch on this.
  • message is human-readable and may change. Show it to people, but don't parse it.
StatuserrorMeaningWhat to do
400engine_unavailableThe engine doesn't exist or can't run on this machineCheck GET/v1/engines → unavailable_reason
400synthesis_failedThe engine rejected the request (e.g. an unknown voice)Fix the input; see message
401unauthorizedMissing or wrong tokenSee Authentication
404not_foundThe resource doesn't existCheck the id
422invalid_requestThe body failed validation; message names the fieldFix the field
5xx—A voxd bug or crashRetry once, then check the logs in the app (Show details)

#Retries

  • Retry 5xx and connection errors with backoff (for example 0.5s, 1s, 2s).
  • Don't retry 4xx; the same request will fail the same way.
  • If voxd is restarting, GET/v1/status answers first. Wait for phase: "ready".