#Model error in pro

1 messages · Page 1 of 1 (latest)

blazing grail
#

Hey I got the pro but I get this message when I try to use it "HTTP 404: not_found_error: model: claude-3-5-sonnet-20240620 (request_id: req_011CXv37Ea38C6Lzs22WvScz)" how can I fix this?

lunar solarBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> âś… Mark Solution

acoustic deltaBOT
# blazing grail Hey I got the pro but I get this message when I try to use it "HTTP 404: not_fou...

That error means the backend you’re hitting doesn’t recognize that exact model ID anymore (either it was retired/renamed, or your key/provider doesn’t have access to that specific dated variant). So it’s not “your prompt” — it’s the model selection.

Fix (Discord / hosted):

  • Run /model list and pick a Claude/Sonnet option that shows up there (don’t type the dated …-20240620 one manually).
  • If it still errors, paste /model status output here (it shows what provider/model it’s actually trying to use).

Fix (self-hosted OpenClaw):

  • Please paste:
  • openclaw --version
  • openclaw models status
  • Then switch to an available model from:
  • openclaw models list --provider anthropic

Docs for the model picker/CLI: https://docs.openclaw.ai/concepts/models

blazing grail
#

The commands don't work on terminal

#

From the clawdbody terminal window

acoustic deltaBOT
# blazing grail The commands don't work on terminal

Those /model … commands are chat commands, not terminal commands.

If you’re using the Discord “Pro” bot:
Type /model list (or just /model) directly in this Discord channel/thread, and send it as a normal message. Then pick one of the models that shows up.

Only if you’re self-hosting OpenClaw on your own machine do you use terminal commands — and then they’re like:

  • openclaw --version
  • openclaw models status

Which one are you doing?

  1. Using the Discord bot here (no terminal involved), or
  2. Running OpenClaw yourself (terminal + your own gateway)?

If you reply with what you typed in terminal + the exact error text, I’ll tell you the next step.

#

Ah — if you mean the Clawdbot “terminal” window inside the app: that’s usually just a log/output console, not an interactive shell. Typing /model … (or even openclaw …) in there won’t do anything.

To fix the model error from your actual computer terminal (Terminal / PowerShell), please run and paste the output of:

  1. Which CLI do you have?
openclaw --version

If that says “command not found”, try:

clawdbot --version
  1. Show what model it’s trying to use
openclaw models status
#

(or clawdbot models status if that’s your command)

That 404 specifically means the configured Anthropic model id claude-3-5-sonnet-20240620 isn’t available anymore (renamed/retired or not accessible for your credentials). Once we see models status, I’ll tell you the exact … models set … command to switch to one that your install/provider actually supports.

If you paste the exact “command not found” / error you get when running the above, we can zero in fast.

blazing grail
#

Current: anthropic/claude-3-5-sonnet-20240620
Default: anthropic/claude-3-5-sonnet-20240620
Agent: main
Auth file: ~/.clawdbot/agents/main/agent/auth-profiles.json

[anthropic] endpoint: default auth: sk-ant-a...nDsW7QAA (env: ANTHROPIC_API_KEY)
• anthropic/claude-3-5-sonnet-20240620

does this work ?

acoustic deltaBOT
# blazing grail Current: anthropic/claude-3-5-sonnet-20240620 Default: anthropic/claude-3-5-sonn...

That output shows your setup is being read correctly (OpenClaw sees ANTHROPIC_API_KEY and is trying to use anthropic/claude-3-5-sonnet-20240620).

But if you’re still getting HTTP 404 not_found_error: model …20240620, then Anthropic is rejecting that model for that API key (either the model name is retired/renamed, or—very commonly—your account/key simply doesn’t have access to that model).

Two quick fixes:

  1. Switch to a model that your key can actually use
openclaw models list --provider anthropic --all

Pick an Anthropic model from that list, then set it:

openclaw models set anthropic/<model-from-the-list>

(After that, restart your gateway if needed.)

  1. Double-check what “Pro” you bought
#

Claude.ai Pro (chat subscription) ≠ Anthropic API access. For OpenClaw you need an Anthropic API key from Anthropic Console with API access/billing enabled.

If you paste the output of:

openclaw models list --provider anthropic --all --plain

I can tell you which one to select from your list (without guessing model IDs).

blazing grail
#

I'm using telegram, how can I switch it from there?

acoustic deltaBOT
#
/model status

Notes:

  • If this is a Telegram group, you may need to use Telegram’s “command for a specific bot” form like:
  • /model@YourBotUsername
  • /model … is handled by the Gateway, so it should still work even if the current model is erroring.

If /model shows only that broken Sonnet entry, then you don’t have other models configured yet — in that case run on your machine:

openclaw models list --provider anthropic --all

and paste it here, and I’ll tell you which one to openclaw models set … so Telegram can pick it.

blazing grail
acoustic deltaBOT