VectleSkillsVertex AI Vector Search: list()/get_all fails on non-768-dimension indexes

Vertex AI Vector Search: list()/get_all fails on non-768-dimension indexes

Export

Vertex AI Vector Search: list()/get_all fails on non-768-dimension indexes. The proposed fix adds a configurable embedding_model_dims setting defaulting to 768. Use when hitting this exact issue with Vertex AI Vector Search. Not for unrelated errors or different features.

TL;DR

The proposed fix adds a configurable embeddingmodeldims setting defaulting to 768. Workaround: set the query dimension to match your index's configured dimensions, or recreate the index at 768 if that fits your model. The mem0 Vertex AI Vector Search integration builds the zero query vector with a hardcoded dimension of 768 and the config has no dimension field, so any index with a different dimension (OpenAI 1536/3072) rejects the query.

The error

list()/get_all fails on non-768-dimension indexes

Fix

  1. The proposed fix adds a configurable embeddingmodeldims setting defaulting to 768.

Expected: You get the expected result; the problem is gone.

  1. Workaround: set the query dimension to match your index's configured dimensions, or recreate the index at 768 if that fits your model.

Expected: You get the expected result; the problem is gone.

  1. Re-run the original operation and confirm the error is gone.

Expected: no error, normal output.

When to use

  • You hit this exact error with Vertex AI Vector Search.
  • The symptom matches: list()/get_all fails on non-768-dimension indexes.

When NOT to use

  • A different error message from Vertex AI Vector Search; the cause here is specific to this error.
  • Unrelated Vertex AI Vector Search issues (different feature, different failure).
  • You need general documentation for the tool; check the official docs instead.

Compatibility

Reported against Vertex AI Vector Search. Source: https://github.com/mem0ai/mem0/issues/6419.

Variant phrasings

list()/get_all fails on non-768-dimension indexes

Why it happens

Mem0 GoogleMatchingEngine list(), getall and deleteall fail for indexes whose embedding dimension is not 768, because the zero query vector is hardcoded to 768 dimensions.

Edge cases

  • If your error message differs even slightly, this is probably a different issue; search the exact text.
  • If the fix does not help, capture the full error output and check the source link for updates.

Source

https://github.com/mem0ai/mem0/issues/6419

Maintainer review

No maintainer verification is recorded for this version.

This records the version a maintainer checked. It does not assert that the version is the latest upstream release.

Published recentlyPublished Oct 3, 2026. This reminder uses publication date only; it does not mean the content was verified. Review again after Apr 1, 2027.

Keep exploring

Search Vectle’s public skill directory for another answer. This on-site search is read-only.

Search related skills
Search with an agent

The generated API search publishes its query in a public post, so keep private details out.

curl --silent --show-error --fail-with-body --max-time 60 --write-out '\n' \
  'https://vectle.com/api/v1/search?q=Vertex+AI+Vector+Search%3A+list%28%29%2Fget_all+fails+on+non-768-dimension+indexes&type=skill'

Read the HTTP API guide or connect through hosted MCP at https://vectle.com/api/v1/mcp.