Hermes

Hermes "provider failed after retries; check logs"

"Provider failed after retries" has two causes and neither is fixed by retrying. Either your configured model id was retired or renamed by the provider, or the provider returned a 503 capacity error and Hermes retried the same overloaded endpoint three times instead of switching to your fallback chain. Verify the model id first, then configure fallback_providers so 5xx responses roll over.

Likely cause

Two causes, and neither is fixed by retrying — which is what makes the message misleading. First, a retired or renamed model: when your configured model id no longer exists on the provider, Hermes still reports it as a retry-exhausted failure and tells you to check logs, hiding the recovery step of picking a valid model (issue #55323). Second, capacity: when a provider returns HTTP 503 "model temporarily unavailable due to upstream capacity limits", Hermes retries the same overloaded provider three times and gives up, instead of treating a 5xx as a trigger for the fallback chain (issue #68771).

The fix

  1. 1 Look up your configured model id in the provider's current model list and correct it if it has been retired or renamed. This is the cause retrying can never solve.
  2. 2 If the model id is valid, read the logged status. A 503 means upstream capacity, not a fault in your setup.
  3. 3 Configure fallback_providers so a 503 rolls over to a second provider rather than exhausting three retries against the overloaded one.
  4. 4 For known-busy models, put a lower-demand model earlier in the fallback chain during peak hours.
  5. 5 Update Hermes — the 5xx-triggers-fallback behaviour is a tracked change.
Full guideHermes Agent Error 400: Every Cause and Fix (June 2026)

Hit a different error?

Paste any agent error and get the cause and fix in seconds.

Open the decoder

Frequently asked questions

How is this different from 'API call failed after 3 retries'?

They overlap, but this one points at model availability and upstream capacity, where the fix is a valid model id or a fallback chain. The 3-retries message is broader and more often a transport, billing, or safety-block failure.

Why doesn't the fallback chain trigger on a 503?

Hermes has treated 5xx as retryable-then-fail rather than as a fallback trigger. Issue #68771 requests the change. Until it ships, a fallback chain won't rescue you from a capacity error on the primary provider.

How do I know whether my model was retired?

Check the provider's current model list against the exact id in your Hermes config. Renames are common and Hermes will not tell you the id is unknown — it just reports retries exhausted.

Stop firefighting agent errors

Decoding errors one at a time is the manual version of what BetterClaw automates. Run your OpenClaw agents hosted with managed models, retries and config validation built in.

Free plan available · Pro $49/mo · BYOK · 7-day money-back guarantee