BerriAI/litellm · error · NotFoundError
NotFoundError: {exception_provider} - {message}
Error message
NotFoundError: {exception_provider} - {message} What it means
Error "NotFoundError: {exception_provider} - {message}" thrown in BerriAI/litellm.
Source
Thrown at litellm/litellm_core_utils/exception_mapping_utils.py:417
elif hasattr(original_exception, "status_code"):
if original_exception.status_code == 400:
raise BadRequestError(
message=f"{exception_provider} - {message}",
llm_provider=custom_llm_provider,
model=model,
response=getattr(original_exception, "response", None),
litellm_debug_info=extra_information,
)
elif original_exception.status_code == 401:
raise AuthenticationError(
message=f"AuthenticationError: {exception_provider} - {message}",
llm_provider=custom_llm_provider,
model=model,
response=getattr(original_exception, "response", None),
litellm_debug_info=extra_information,
)
elif original_exception.status_code == 404:
raise NotFoundError(
message=f"NotFoundError: {exception_provider} - {message}",
model=model,
llm_provider=custom_llm_provider,
response=getattr(original_exception, "response", None),
litellm_debug_info=extra_information,
)
elif original_exception.status_code == 408:
raise Timeout(
message=f"Timeout Error: {exception_provider} - {message}",
model=model,
llm_provider=custom_llm_provider,
litellm_debug_info=extra_information,
)
elif original_exception.status_code == 422:
raise BadRequestError(
message=f"{exception_provider} - {message}",
model=model,
llm_provider=custom_llm_provider,View on GitHub (pinned to 6c2dcb801b)
Solutions
- Verify the model name and resource exist for the provider.
When it happens
Trigger: Thrown at litellm/litellm_core_utils/exception_mapping_utils.py:417 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of BerriAI/litellm@6c2dcb801b (2026-08-15).
Data as JSON: /api/errors/02693f27162dd26a.
Report an issue: GitHub.