openclaw - 💡(How to fix) Fix [Bug]: google vertex report FAILED_PRECONDITION [1 participants]

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…
GitHub stats
openclaw/openclaw#55541Fetched 2026-04-08 01:38:14
View on GitHub
Comments
0
Participants
1
Timeline
2
Reactions
0
Participants
Timeline (top)
labeled ×2

google vertex error with OpenClaw 2026.3.24 (cff6dc9) LLM error: { "error": { "code": 400, "message": "Precondition check failed.", "status": "FAILED_PRECONDITION" } }

Error Message

google vertex error with LLM error: { "error": { "code": 400, "message": "Precondition check failed.", "status": "FAILED_PRECONDITION" } } LLM error: { "error": { "code": 400, "message": "Precondition check failed.", "status": "FAILED_PRECONDITION" } }

Root Cause

google vertex error with OpenClaw 2026.3.24 (cff6dc9) LLM error: { "error": { "code": 400, "message": "Precondition check failed.", "status": "FAILED_PRECONDITION" } }

RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

google vertex error with OpenClaw 2026.3.24 (cff6dc9) LLM error: { "error": { "code": 400, "message": "Precondition check failed.", "status": "FAILED_PRECONDITION" } }

Steps to reproduce

just chat

Expected behavior

3.11 works

Actual behavior

LLM error: { "error": { "code": 400, "message": "Precondition check failed.", "status": "FAILED_PRECONDITION" } }

OpenClaw version

OpenClaw 2026.3.24 (cff6dc9)

Operating system

Ubuntu 24.04

Install method

npm global

Model

gemini-3-flash-preview

Provider / routing chain

openclaw -> google cloud vertex -> gemini-3-flash-preview

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

100% always

Additional information

looks goode with 311 and 313 with https://github.com/openclaw/openclaw/issues/47304 fix is ok

extent analysis

Fix Plan

The fix involves updating the OpenClaw version and applying the patch from the GitHub issue #47304.

  • Update OpenClaw to version 3.11 or 3.13 using npm:
npm install -g [email protected]

or

npm install -g [email protected]
  • Apply the patch from GitHub issue #47304:
// In the openclaw configuration file
- const vertexOptions = {};
+ const vertexOptions = {
+   // Add the following option to fix the precondition check failed error
+   'x-goog-api-key': 'YOUR_API_KEY',
+   'x-goog-api-key-prefix': 'YOUR_API_KEY_PREFIX'
+ };

Replace YOUR_API_KEY and YOUR_API_KEY_PREFIX with your actual Google Cloud Vertex API key and prefix.

Verification

To verify the fix, try chatting again and check for the LLM error. The error should be resolved, and the chat should work as expected.

Extra Tips

Make sure to update the OpenClaw version and apply the patch correctly to avoid any further issues. Also, ensure that your Google Cloud Vertex API key and prefix are correct and properly configured.

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…

FAQ

Expected behavior

3.11 works

Still need to ship something?

×6

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

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Bug]: google vertex report FAILED_PRECONDITION [1 participants]