Skip to content

Fehlercodes & Statuscodes ​

OneTTS standardisiert alle Fehlerantworten gemäß der OpenAI-Fehlerstruktur.


🛑 Fehlerformat ​

json
{
  "error": {
    "message": "Incorrect API key provided or missing Authorization header.",
    "type": "invalid_request_error",
    "param": null,
    "code": "invalid_api_key"
  },
  "detail": "Incorrect API key provided or missing Authorization header."
}

📊 Statuscodes ​

CodeTypBedeutung
400invalid_request_errorFehlende Pflichtfelder oder ungültige Parameter
401authentication_errorFehlender oder ungültiger API-Schlüssel
404not_found_errorRessource nicht gefunden
500api_errorInterner Server- oder Engine-Synthesefehler

Released under the Apache-2.0 License.