BormintoDevelopers Documentation
docs.borminto.com

Errors

The HTTP status tells you whether to retry; the code tells you why. Branch on the code and show the message to people.

API Army

Errors follow OpenAI’s shape, so every OpenAI SDK raises them as API errors: {"error": {"code": "…", "type": "…", "message": "…"}}.

StatusCodeWhat to do
400invalid_requestA field is missing or not valid. Read error.message.
400unsupported_contentImages and audio are not supported yet. Send text.
400tools_unsupportedNo source of this model can call tools. Use a model from an OpenAI-format source or a ChatGPT account.
400group_mismatchA group key was sent with the name of another group.
401invalid_api_keyThe key is missing, turned off or not an army_ key.
404model_not_foundThe model is not served for this key or group. List models first.
404group_not_foundNo group has this API name.
404no_providerprovider.only or provider.ignore left no source for the model.
429rate_limitedA request, parallel or monthly token limit was reached. Wait for Retry-After.
502provider_errorEvery eligible source failed. Try again.
503group_disabledThe application or group is paused, or no source is available now.

AI Voice

Allowance and service errors arrive as {"error": {"code": "…", "message": "…"}}. Request errors arrive as {"message": "…", "code": "…"}, and invalid fields as {"message": "…", "errors": {"field": ["…"]}}.

StatusCodeWhat to do
401authentication_requiredThe key is missing or revoked. Send a current bv_ key.
402allowance_exhaustedThe allowance has been used. allowance_expired means the plan has ended.
403application_suspendedThe application is suspended. Contact the administrator.
409idempotency_conflictThe same Idempotency-Key was sent with different input. Use a new key for new input.
410connection_endedThe call, session or saved result has ended. Start a new one.
422invalid_requestA field, the audio or the Idempotency-Key is not valid. Audio problems use codes such as no_speech or audio_too_long.
429rate_limitedToo many requests. Wait for Retry-After seconds.
503voice_unavailableTemporarily unavailable. Retry after Retry-After with the same Idempotency-Key.

Retrying

  • Retry 429, 502 and 503 after Retry-After seconds, or after a short growing wait when it is missing.
  • Send the same Idempotency-Key when you retry a voice request, so you are not charged twice.
  • Do not retry other 4xx answers without changing the request.

Search documentation

Documentation
Dashboard (opens in a new tab)