Skip to content

[Bug]: Vertex embedded runs fail with "Cannot convert undefined or null to object" on v2026.3.1 (Telegram + cron) #32245

@Frank683456

Description

@Frank683456

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)

  1. Upgrade to v2026.3.1
  2. Use a Telegram group route / cron route that runs google-vertex/...
  3. Trigger an embedded run
  4. 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:

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

  1. Upgrade OpenClaw to v2026.3.1 on macOS.
  2. Configure a Telegram group route or cron job to use a Vertex model (google-vertex/...).
  3. Trigger an embedded run (e.g., mention bot in group or wait for cron).
  4. 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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingregressionBehavior that previously worked and now fails

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions