BerriAI/litellm · error · Timeout
AzureException Timeout
Error message
AzureException Timeout - {message} What it means
Azure-specific status mapping: an upstream Azure exception with HTTP 404 is re-raised as NotFoundError — usually an unknown deployment, wrong api-version path, or a resource that was deleted.
Solutions
- Increase the request timeout or retry; the Azure endpoint timed out.
- Check Azure service health and network latency.
Defensive patterns
Strategy: retry
When it happens
Trigger: Thrown at litellm/litellm_core_utils/exception_mapping_utils.py:2004 when the library encounters an invalid state.
Common situations: See trigger scenarios.
Understand the failure class
- Timeouts: ETIMEDOUT, deadlines, and hung requests — what actually expires when a request times out.
AI-assisted analysis of BerriAI/litellm@77b7c6c40c (2026-08-18).
Data as JSON: /api/errors/3fceb32a98fe9354.
Report an issue: GitHub.
Appendix: source
Thrown at litellm/litellm_core_utils/exception_mapping_utils.py:2004
)
elif original_exception.status_code == 401:
raise AuthenticationError(
message=f"AzureException AuthenticationError - {message}",
llm_provider="azure",
model=model,
litellm_debug_info=extra_information,
response=getattr(original_exception, "response", None),
)
elif original_exception.status_code == 404:
raise NotFoundError(
message=f"AzureException NotFoundError - {message}",
llm_provider="azure",
model=model,
litellm_debug_info=extra_information,
response=getattr(original_exception, "response", None),
)
elif original_exception.status_code == 408:
raise Timeout(
message=f"AzureException Timeout - {message}",
model=model,
litellm_debug_info=extra_information,
llm_provider="azure",
)
elif original_exception.status_code == 422:
raise BadRequestError(
message=f"AzureException BadRequestError - {message}",
model=model,
llm_provider="azure",
litellm_debug_info=extra_information,
response=getattr(original_exception, "response", None),
)
elif original_exception.status_code == 429:
raise RateLimitError(
message=f"AzureException RateLimitError - {message}",
model=model,
llm_provider="azure",View on GitHub (pinned to 77b7c6c40c)