hermes - 💡(How to fix) Fix HTTP 400 error when copying config to non-default agent profiles

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

⚠️ API call failed (attempt 1/3): BadRequestError [HTTP 400] 🔌 Provider: ollama-cloud Model: gemma4:31b-cloud 🌐 Endpoint: https://ollama.com/v1 📝 Error: HTTP 400 — Error 400 (Bad Request)!!1 📋 Details: <html><title>Error 400 (Bad Request)!!1</title></html> ⚠️ Non-retryable error (HTTP 400) — trying fallback... ❌ Non-retryable error (HTTP 400): HTTP 400 — Error 400 (Bad Request)!!1 ❌ Non-retryable client error (HTTP 400). Aborting. 🔌 Provider: ollama-cloud Model: gemma4:31b-cloud 🌐 Endpoint: https://ollama.com/v1 💡 This type of error won't be fixed by retrying.

Fix Action

Fix / Workaround

⚠️  API call failed (attempt 1/3): BadRequestError [HTTP 400]
   🔌 Provider: ollama-cloud  Model: gemma4:31b-cloud
   🌐 Endpoint: https://ollama.com/v1
   📝 Error: HTTP 400 — Error 400 (Bad Request)!!1
   📋 Details: <html><title>Error 400 (Bad Request)!!1</title></html>
⚠️ Non-retryable error (HTTP 400) — trying fallback...
❌ Non-retryable error (HTTP 400): HTTP 400 — Error 400 (Bad Request)!!1
❌ Non-retryable client error (HTTP 400). Aborting.
   🔌 Provider: ollama-cloud  Model: gemma4:31b-cloud
   🌐 Endpoint: https://ollama.com/v1
   💡 This type of error won't be fixed by retrying.

Code Example

⚠️  API call failed (attempt 1/3): BadRequestError [HTTP 400]
   🔌 Provider: ollama-cloud  Model: gemma4:31b-cloud
   🌐 Endpoint: https://ollama.com/v1
   📝 Error: HTTP 400Error 400 (Bad Request)!!1
   📋 Details: <html><title>Error 400 (Bad Request)!!1</title></html>
⚠️ Non-retryable error (HTTP 400) — trying fallback...
Non-retryable error (HTTP 400): HTTP 400Error 400 (Bad Request)!!1
Non-retryable client error (HTTP 400). Aborting.
   🔌 Provider: ollama-cloud  Model: gemma4:31b-cloud
   🌐 Endpoint: https://ollama.com/v1
   💡 This type of error won't be fixed by retrying.
RAW_BUFFERClick to expand / collapse

Bug Description

An HTTP 400 Bad Request error occurs when using non-default agent profiles after copying .env, auth.json, and config.yaml into those profile directories.

Steps to Reproduce

  1. Create a non-default agent profile.
  2. Copy .env, auth.json, and config.yaml from the default profile to the new profile directory.
  3. Run the agent using the non-default profile.

Actual Behavior

The API call fails with a 400 error:

⚠️  API call failed (attempt 1/3): BadRequestError [HTTP 400]
   🔌 Provider: ollama-cloud  Model: gemma4:31b-cloud
   🌐 Endpoint: https://ollama.com/v1
   📝 Error: HTTP 400 — Error 400 (Bad Request)!!1
   📋 Details: <html><title>Error 400 (Bad Request)!!1</title></html>
⚠️ Non-retryable error (HTTP 400) — trying fallback...
❌ Non-retryable error (HTTP 400): HTTP 400 — Error 400 (Bad Request)!!1
❌ Non-retryable client error (HTTP 400). Aborting.
   🔌 Provider: ollama-cloud  Model: gemma4:31b-cloud
   🌐 Endpoint: https://ollama.com/v1
   💡 This type of error won't be fixed by retrying.

Expected Behavior

The agent should function correctly in non-default profiles when the configuration files are copied over.

Environment

  • Provider: ollama-cloud
  • Model: gemma4:31b-cloud

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - 💡(How to fix) Fix HTTP 400 error when copying config to non-default agent profiles