{"record":{"id":"c68e9119efc955d4","repo":"BerriAI/litellm","slug":"timeout-error-exception-provider-message","errorCode":null,"errorMessage":"Timeout Error: {exception_provider} - {message}","messagePattern":"Timeout Error: (.+?) - (.+?)","errorType":"exception","errorClass":"Timeout","httpStatus":408,"severity":"error","filePath":"litellm/litellm_core_utils/exception_mapping_utils.py","lineNumber":425,"sourceCode":"            )\n        elif original_exception.status_code == 401:\n            raise AuthenticationError(\n                message=f\"AuthenticationError: {exception_provider} - {message}\",\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} - {message}\",\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} - {message}\",\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\"{exception_provider} - {message}\",\n                model=model,\n                llm_provider=custom_llm_provider,\n                response=getattr(original_exception, \"response\", None),\n                litellm_debug_info=extra_information,\n                body=getattr(original_exception, \"body\", None),\n            )\n        elif original_exception.status_code == 429:\n            raise RateLimitError(\n                message=f\"RateLimitError: {exception_provider} - {message}\",\n                model=model,","sourceCodeStart":407,"sourceCodeEnd":443,"githubUrl":"https://github.com/BerriAI/litellm/blob/6c2dcb801bf2b75c18f1bb24140e7cf57465cc4d/litellm/litellm_core_utils/exception_mapping_utils.py#L407-L443","documentation":"Error \"Timeout Error: {exception_provider} - {message}\" thrown in BerriAI/litellm.","triggerScenarios":"Thrown at litellm/litellm_core_utils/exception_mapping_utils.py:425 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Increase the request timeout or check provider latency/connectivity."],"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-15T22:17:37.221Z"}