# 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

[MCP and AI](/error-codes#mcp-and-ai)
