-
-
Notifications
You must be signed in to change notification settings - Fork 52.7k
Description
Bug type
Regression (worked before, now fails)
Summary
After upgrading to OpenClaw v2026.3.1, Vertex-backed embedded runs fail with:
Cannot convert undefined or null to object
This affects both Telegram group replies and Vertex-based cron jobs.
Non-Vertex models (e.g. openai-codex/..., OpenRouter) continue to work.
Environment
- OpenClaw:
2026.3.1 - OS: macOS (arm64)
- Node:
25.5.0 - Channel: Telegram
- Gateway: local mode
Observed behavior
- Telegram group mentions that route to Vertex fail with:
embedded run agent end ... isError=true error=Cannot convert undefined or null to object- Vertex cron jobs also fail with the same error.
- Direct chat and non-Vertex model routes are mostly fine.
Not a config-only issue
I confirmed this is not just a group permission/config mistake:
- Gateway is healthy
- Telegram account/channel status is OK
- Non-Vertex routes succeed
- Failure is isolated to Vertex execution paths
Repro (high level)
- Upgrade to
v2026.3.1 - Use a Telegram group route / cron route that runs
google-vertex/... - Trigger an embedded run
- Observe immediate failure before normal model output with:
Cannot convert undefined or null to object
Related context
This appears related to dependency/auth import-chain regression discussed in:
- PR fix(deps): restore node-domexception for google auth [AI-assisted] #30026 (
fix(deps): restore node-domexception for google auth)
Could maintainers confirm whether this issue is fully covered by #30026 and when it is expected in a release?
Temporary workaround
- Route affected flows to non-Vertex providers until fix is released.
Steps to reproduce
- Upgrade OpenClaw to v2026.3.1 on macOS.
- Configure a Telegram group route or cron job to use a Vertex model (google-vertex/...).
- Trigger an embedded run (e.g., mention bot in group or wait for cron).
- Observe run fails quickly with: Cannot convert undefined or null to object.
Expected behavior
Vertex-backed embedded runs should complete normally (or return a normal model/tool error), and Telegram group replies + cron tasks should work as before upgrade.
Actual behavior
Vertex-backed embedded runs fail immediately with Cannot convert undefined or null to object.
Telegram group @ replies fail intermittently/consistently on Vertex routes, and Vertex cron jobs enter repeated error/backoff.
Non-Vertex routes (e.g., openai-codex/..., OpenRouter) continue to work.
OpenClaw version
2026.3.1
Operating system
MACOS
Install method
No response
Logs, screenshots, and evidence
Impact and severity
No response
Additional information
Likely related to PR #30026 (node-domexception dependency regression in google auth import chain).