Topic hub pagination

LiteLLM errors - page 4

Continue browsing this topic cluster with SEO-safe static pagination.

LiteLLM LiteLLM Updated May 21, 2026

LiteLLM UI Dashboard Crashes with RangeError Maximum Call Stack Size Exceeded

LiteLLM dashboard UI completely crashes when rendering wildcard model lists; infinite recursion in frontend model list expansion function; blocks admin management of proxy models Includes evidence for LiteLLM troubleshooting demand.

[Bug]: UI Crash: RangeError: Maximum call stack size exceeded in unfurlWildcardModelsInList
LiteLLM LiteLLM Updated May 21, 2026

LiteLLM Phantom BudgetExceededError After Upgrade Due to Leaked Redis Spend Counters

Diagnose and fix spurious BudgetExceededError in LiteLLM proxy caused by leaked Redis spending counters persisting from previous instances after upgrading versions Includes evidence for LiteLLM troubleshooting demand.

reserve_budget_for_request() leaks Redis spend counters — phantom BudgetExceededError after upgrade to LiteLLM v1.84.0
LiteLLM LiteLLM Updated May 21, 2026

LiteLLM Upstream Provider Retry-After Header Not Forwarded to Client

Fix LiteLLM proxy bug where standard HTTP Retry-After headers from upstream providers are not passed through to the client, breaking proper rate limit handling Includes evidence for LiteLLM troubleshooting demand.

upstream provider "retry-after" header not forwarded to client — only "llm_provider-retry-after" is returned
LiteLLM LiteLLM Updated May 20, 2026

LiteLLM Bedrock pass-through /converse returns 200 with empty body — silent data loss regression

Fix regression in LiteLLM v1.85.0 where Bedrock AWS pass-through through the /converse endpoint returns 200 status but body is empty, causing silent data loss for clients consuming AI responses through LiteLLM proxy Includes evidence for LiteLLM troubleshooting demand.

Bedrock pass-through /converse returns HTTP 200 OK with empty response body on v1.85.0 — callers receive no content despite successful status code
LiteLLM LiteLLM Updated May 20, 2026

LiteLLM spend logs silently dropped for Ollama Cloud requests — non-unique provider IDs

Fix spend logging gap where Ollama Cloud requests via LiteLLM proxy never appear in spend logs/Request Log UI due to non-unique sequential ID collisions with existing rows Includes evidence for LiteLLM troubleshooting demand.

LiteLLM_SpendLogs INSERT fails silently on PK constraint when Ollama Cloud returns short sequential IDs like chatcmpl-213 that collide across users
LiteLLM LiteLLM Updated May 20, 2026

LiteLLM Modal Endpoint Returns Persistent 404 Error Despite Working Outside Proxy

开发者通过 LiteLLM 代理调用 Modal Endpoint 时持续收到 404,但直接使用 Modal Client 和 Postman 正常,需要修复代理配置或排查兼容性问题 Includes evidence for LiteLLM troubleshooting demand.

404 Error with Modal Endpoint — works via Modal Client and PostMan but fails through LiteLLM proxy
LiteLLM LiteLLM Updated May 20, 2026

LiteLLM Proxy stream_timeout Not Enforced on First Chunk

使用 LiteLLM Proxy 的用户发现 stream_timeout 参数在首 chunk 未生效,导致慢启动 provider(如 Bedrock)请求被错误终止 Includes evidence for LiteLLM troubleshooting demand.

stream_timeout not enforced on first chunk; hanging providers cause completions to fail
LiteLLM LiteLLM / Azure OpenAI Updated May 20, 2026

Connecting Azure OpenAI via LiteLLM returning Authentication Error 401

Fix 401 authentication failure when routing Azure OpenAI through LiteLLM proxy; authenticate properly using Azure AD tokens instead of api_key Includes evidence for LiteLLM / Azure OpenAI troubleshooting demand.

Authentication Error 401 — Connecting Azure OpenAI via LiteLLM (v1.63.7) with DSPy framework fails with 401 when using Azure AD Token Refresh method
LiteLLM LiteLLM / OpenAI API Updated May 20, 2026

LiteLLM Unthrottled concurrent LLM requests cause HTTP 429 and cascading KeyError crash

Prevent LiteLLM library from flooding LLM endpoints with unbounded concurrent requests causing 429 errors; fix cascading KeyError crash when retries exhaust Includes evidence for LiteLLM / OpenAI API troubleshooting demand.

KeyError: 'toc_detected' caused by unthrottled concurrent asyncio.gather calls triggering HTTP 429 Too Many Requests from LLM API — empty JSON parse returns {} then direct dict access crashes
LiteLLM LiteLLM Updated May 20, 2026

LiteLLM Proxy Model Routing Failure — BadRequestError When Third-Party Model Mapping Misconfigured

Developer using LiteLLM proxy server encounters model routing errors when connecting to third-party APIs — models specified in config.yaml not available or incorrectly mapped, causing production inference failures and API billing waste Includes evidence for LiteLLM troubleshooting demand.

litellm.exceptions.BadRequestError: xxx: (invalid_request_error) Model: 'xxx' doesn't exist
LiteLLM LiteLLM Updated May 20, 2026

LiteLLM Redis Spend Counter Leak Causes Phantom BudgetExceededError (429)

Fix LiteLLM proxy that incorrectly returns HTTP 429 BudgetExceededError for users who haven't exceeded their budget due to Redis counter accumulation bug Includes evidence for LiteLLM troubleshooting demand.

reserve_budget_for_request() leaks Redis spend counters — phantom BudgetExceededError despite actual database spend being near $0
LiteLLM LiteLLM Updated May 20, 2026

LiteLLM BudgetExceededError Phantom Redis Counter Inflation Blocks Production Users

Fix phantom BudgetExceededError caused by leaking Redis spend counters in LiteLLM proxy — real database spend near $0 but users blocked at budget limit Includes evidence for LiteLLM troubleshooting demand.

Budget has been exceeded! EndUser=<id> Current cost: $52.19, Max budget: $50.0 — DB spend shows $0.001 while Redis counter reports $52 (BudgetExceededError HTTP 429)
LiteLLM LiteLLM Updated May 20, 2026

LiteLLM DeepSeek V4 Pro Fails in Multi-Turn Chat Due to Stripped reasoning_content

Fix multi-turn chat failures when using DeepSeek V4 Pro through LiteLLM proxy where assistant messages lose reasoning content on sequential turns Includes evidence for LiteLLM troubleshooting demand.

Assistant message missing reasoning_content — LiteLLM strips it when serializing response from turn 1
LiteLLM LiteLLM Updated May 20, 2026

LiteLLM Virtual Key TPM/RPM Limits Leak Internal Parameters to Clients

Fix LiteLLM proxy leaking internal _litellm_* parameters through virtual key rate limiting boundaries, breaking per-key rate limit enforcement Includes evidence for LiteLLM troubleshooting demand.

Virtual keys with tpm/rpm limits leak _litellm_* params — rate limit enforcement broken at proxy layer
LiteLLM LiteLLM Updated May 20, 2026

LiteLLM Deployment-Level TPM Enforcement Is Per-Pod Not Cross-Pod

Fix TPM rate limiting that bypasses multi-replica deployments; each pod enforces its own TPM limit independently doubling/quadrupling effective throughput beyond intended cap Includes evidence for LiteLLM troubleshooting demand.

Deployment-level TPM enforcement is per-pod not cross-pod — effective limit becomes tpm_limit × N_replica allowing uncontrolled token consumption
LiteLLM LiteLLM Updated May 20, 2026

LiteLLM reserve_budget_for_request() Leaks Redis Spend Counters Causing Phantom BudgetExceededError

Fix phantom BudgetExceededError in LiteLLM proxy caused by Redis spend counter leaks; end users randomly blocked despite being within budget limits Includes evidence for LiteLLM troubleshooting demand.

BudgetExceededError (HTTP 429): "Budget has been exceeded! EndUser=<id> Current cost: <inflated>, Max budget: 50.0" — DB spend shows $0.001 while Redis counter reports $50+ after ~4 min of normal traffic
LiteLLM LiteLLM Updated May 20, 2026

LiteLLM Router Streaming Bypasses Mid-Stream Fallback Handling

Fix streaming fallback mechanism in LiteLLM router that drops mid-stream errors instead of gracefully switching to backup model Includes evidence for LiteLLM troubleshooting demand.

Router.aresponses streaming bypasses mid-stream fallback — MidStreamFallbackError not handled, breaking streaming responses when primary model fails mid-stream
LiteLLM LiteLLM Updated May 20, 2026

Cloudflare Workers AI example code fails with KeyError 'response' in LiteLLM

Developer follows LiteLLM docs for Cloudflare Workers AI setup but encounters KeyError because response structure changed; needs fix or updated example Includes evidence for LiteLLM troubleshooting demand.

KeyError: 'response' — Cloudflare Workers AI example code fails when using LiteLLM provider