Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Aider error

Aider: The API provider's servers are down or overloaded

Error message
The API provider's servers are down or overloaded.

Status: By designLast verified 2 documented fixes2 sources

What it means

The provider returned an InternalServerError, ServiceUnavailableError or BadGatewayError. Aider maps all three to this message and retries automatically with exponential backoff.

Causes

  • Provider outage or overload (aider's exception description).
  • Anthropic overloaded_error responses; aider retries these automatically since v0.41.0.

How to fix it

  1. Fix 1.

    Let aider retry. If the retries run out, try again later.

  2. Fix 2.

    Upgrade: v0.41.0 added automatic retry on Anthropic overloaded_error, and later releases improved retry handling for API errors.

    Terminal
    python -m pip install --upgrade aider-chat

More Aider errors

All 17 Aider errors

FAQ

What does "The API provider's servers are down or overloaded" mean in Aider?

The provider returned an InternalServerError, ServiceUnavailableError or BadGatewayError. Aider maps all three to this message and retries automatically with exponential backoff.

How do I fix "The API provider's servers are down or overloaded"?

There are 2 documented fixes. Start with the first: Let aider retry. If the retries run out, try again later.

Is this Aider error fixed?

Status: By design. Expected behavior, not a bug. The documented fixes change the setup that triggers it. Affected versions: All versions; automatic retry on Anthropic overloaded_error since v0.41.0.

Sources

Last verified against 2 sources: official docs, maintainer replies and release notes.

Newsletter

Fixes for the tools you use, weekly

One email per week. New coding agent releases, what broke, and how developers are working around it.