Skip to content

internal_error

internal_error: HTTP 500, api error. An unexpected error occurred.


Code internal_error
Type api_error
HTTP status 500
Default message An unexpected error occurred.

This is on our side. Retry with a short, growing delay, and quote meta.request_id if it keeps happening.

Something went wrong on our side, or a provider did not answer. It is safe to retry a request that carries an Idempotency-Key.

Every error has the same shape; error.code is this code, and meta.request_id is what to quote when you ask us about a request.

{
"error": {
"type": "api_error",
"code": "internal_error",
"detail": "An unexpected error occurred.",
"documentation_url": "https://docs.baiyar.com/resources/errors/internal_error/"
},
"meta": { "request_id": "req_…" }
}

All error codes