{"record":{"id":"00b5555affdbef39","repo":"BerriAI/litellm","slug":"timeout-error-exception-provider-error-str","errorCode":null,"errorMessage":"Timeout Error: {exception_provider} - {error_str}","messagePattern":"Timeout Error: (.+?) - (.+?)","errorType":"exception","errorClass":"Timeout","httpStatus":408,"severity":"error","filePath":"litellm/litellm_core_utils/exception_mapping_utils.py","lineNumber":2106,"sourceCode":"            )\n        elif original_exception.status_code == 401:\n            raise AuthenticationError(\n                message=f\"AuthenticationError: {exception_provider} - {error_str}\",\n                llm_provider=custom_llm_provider,\n                model=model,\n                response=getattr(original_exception, \"response\", None),\n                litellm_debug_info=extra_information,\n            )\n        elif original_exception.status_code == 404:\n            raise NotFoundError(\n                message=f\"NotFoundError: {exception_provider} - {error_str}\",\n                model=model,\n                llm_provider=custom_llm_provider,\n                response=getattr(original_exception, \"response\", None),\n                litellm_debug_info=extra_information,\n            )\n        elif original_exception.status_code == 408:\n            raise Timeout(\n                message=f\"Timeout Error: {exception_provider} - {error_str}\",\n                model=model,\n                llm_provider=custom_llm_provider,\n                litellm_debug_info=extra_information,\n            )\n        elif original_exception.status_code == 422:\n            raise BadRequestError(\n                message=f\"BadRequestError: {exception_provider} - {error_str}\",\n                model=model,\n                llm_provider=custom_llm_provider,\n                response=getattr(original_exception, \"response\", None),\n                litellm_debug_info=extra_information,\n            )\n        elif original_exception.status_code == 429:\n            raise RateLimitError(\n                message=f\"RateLimitError: {exception_provider} - {error_str}\",\n                model=model,\n                llm_provider=custom_llm_provider,","sourceCodeStart":2088,"sourceCodeEnd":2124,"githubUrl":"https://github.com/BerriAI/litellm/blob/6c2dcb801bf2b75c18f1bb24140e7cf57465cc4d/litellm/litellm_core_utils/exception_mapping_utils.py#L2088-L2124","documentation":"Error \"Timeout Error: {exception_provider} - {error_str}\" thrown in BerriAI/litellm.","triggerScenarios":"Thrown at litellm/litellm_core_utils/exception_mapping_utils.py:2106 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Increase the timeout or check provider latency."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"6c2dcb801bf2b75c18f1bb24140e7cf57465cc4d","analyzedAt":"2026-08-15T07:12:03.035Z","schemaVersion":2},"datasetVersion":"2026-08-15T17:31:12.345Z"}