{"record":{"id":"a32c1ebe13af8e3a","repo":"BerriAI/litellm","slug":"unknown-endpoint-endpoint-name","errorCode":null,"errorMessage":"Unknown endpoint: {endpoint_name}","messagePattern":"Unknown endpoint: (.+?)","errorType":"validation","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"litellm/llms/custom_httpx/container_handler.py","lineNumber":208,"sourceCode":"            **kwargs,\n        )\n\n    def _sync_handle(\n        self,\n        endpoint_name: str,\n        container_provider_config: \"BaseContainerConfig\",\n        litellm_params: GenericLiteLLMParams,\n        logging_obj: \"LiteLLMLoggingObj\",\n        extra_headers: dict[str, Any] | None = None,\n        extra_query: dict[str, Any] | None = None,\n        timeout: float | httpx.Timeout = 600,\n        client: HTTPHandler | AsyncHTTPHandler | None = None,\n        **kwargs,\n    ) -> Any:\n        \"\"\"Synchronous request handler.\"\"\"\n        endpoint_config: Final = _get_endpoint_config(endpoint_name)\n        if not endpoint_config:\n            raise ValueError(f\"Unknown endpoint: {endpoint_name}\")\n\n        # Get HTTP client\n        if client is None or not isinstance(client, HTTPHandler):\n            http_client = _get_httpx_client(params={\"ssl_verify\": litellm_params.get(\"ssl_verify\", None)})\n        else:\n            http_client = client\n\n        # Build request\n        headers = container_provider_config.validate_environment(\n            headers=extra_headers or {},\n            api_key=litellm_params.get(\"api_key\", None),\n        )\n        if extra_headers:\n            headers.update(extra_headers)\n\n        api_base: Final = container_provider_config.get_complete_url(\n            api_base=litellm_params.get(\"api_base\", None),\n            litellm_params=dict(litellm_params),","sourceCodeStart":190,"sourceCodeEnd":226,"githubUrl":"https://github.com/BerriAI/litellm/blob/77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8/litellm/llms/custom_httpx/container_handler.py#L190-L226","documentation":"Dispatch guard in the container handler: _get_endpoint_config has no entry for the requested endpoint_name, so the container (code execution) operation is not a recognized route and the request cannot be built.","triggerScenarios":"Thrown at litellm/llms/custom_httpx/container_handler.py:208 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use a supported endpoint name for the container handler; check the container provider integration docs for valid endpoints."],"exampleFix":null,"handlingStrategy":"validation","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"}