Ultimate

X_AI_EMBEDDER_INVALID

Means

an Embedder returned fewer vectors than texts it was given

Typical cause

embedOne got an empty batch back from embed([text])

Fix

return one vector per input text from embed(), in the order the texts arrived

Listed under MCP and AI

This page as markdown