| Code | internal_error |
| Type | api_error |
| HTTP status | 500 |
| Default message | An unexpected error occurred. |
What to do
Section titled “What to do”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_…" }}