Skip to Content

Enumeration ImportStatus

What became of one memory in an import.

The two failures do not share a remedy. REJECTED means the entry itself was not usable and ImportOutcome.errors says what to fix; ERROR means it was usable but was not queued, and resubmitting it is the whole of the fix.

Resending is safe either way. The service writes an imported memory under an identity derived from its own content, so an entry that did land comes back DUPLICATE on the second attempt rather than being written twice — which matters, because an import mints no operation id and nothing undoes one.

A status this SDK predates arrives as ImportStatus.UNSPECIFIED rather than as a raw integer.

Index
UNSPECIFIED: 0

The service reported a status this SDK does not know.

QUEUED: 1

Accepted, and being written.

REJECTED: 2

Refused. ImportOutcome.errors says why.

ERROR: 3

Not queued. Sending it again is the remedy.

DUPLICATE: 4

Already present, so nothing was written.