On Vald upsert ALREADY_EXISTS, do not retry: the ID and vector pair is already inserted, so update the payload or move on. Match your request vector dimension exactly to the agent config to avoid INVALID_ARGUMENT, and never send an empty ID.

Context: Official API docs: documents the gotcha that an ALREADY_EXISTS error on Vald upsert means the ID and vector pair is already stored. Retrying changes nothing; either change the payload or accept that no update is needed. Also documents that INVALID_ARGUMENT fires when the request vector dimension differs from the agent config or the ID is empty.