{"record":{"id":"3fceb32a98fe9354","repo":"BerriAI/litellm","slug":"azureexception-timeout-message","errorCode":null,"errorMessage":"AzureException Timeout - {message}","messagePattern":"AzureException Timeout - (.+?)","errorType":"exception","errorClass":"Timeout","httpStatus":408,"severity":"error","filePath":"litellm/litellm_core_utils/exception_mapping_utils.py","lineNumber":2004,"sourceCode":"            )\n        elif original_exception.status_code == 401:\n            raise AuthenticationError(\n                message=f\"AzureException AuthenticationError - {message}\",\n                llm_provider=\"azure\",\n                model=model,\n                litellm_debug_info=extra_information,\n                response=getattr(original_exception, \"response\", None),\n            )\n        elif original_exception.status_code == 404:\n            raise NotFoundError(\n                message=f\"AzureException NotFoundError - {message}\",\n                llm_provider=\"azure\",\n                model=model,\n                litellm_debug_info=extra_information,\n                response=getattr(original_exception, \"response\", None),\n            )\n        elif original_exception.status_code == 408:\n            raise Timeout(\n                message=f\"AzureException Timeout - {message}\",\n                model=model,\n                litellm_debug_info=extra_information,\n                llm_provider=\"azure\",\n            )\n        elif original_exception.status_code == 422:\n            raise BadRequestError(\n                message=f\"AzureException BadRequestError - {message}\",\n                model=model,\n                llm_provider=\"azure\",\n                litellm_debug_info=extra_information,\n                response=getattr(original_exception, \"response\", None),\n            )\n        elif original_exception.status_code == 429:\n            raise RateLimitError(\n                message=f\"AzureException RateLimitError - {message}\",\n                model=model,\n                llm_provider=\"azure\",","sourceCodeStart":1986,"sourceCodeEnd":2022,"githubUrl":"https://github.com/BerriAI/litellm/blob/77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8/litellm/litellm_core_utils/exception_mapping_utils.py#L1986-L2022","documentation":"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.","triggerScenarios":"Thrown at litellm/litellm_core_utils/exception_mapping_utils.py:2004 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Increase the request timeout or retry; the Azure endpoint timed out.","Check Azure service health and network latency."],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8","analyzedAt":"2026-08-18T11:44:31.656Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}