Type Alias UpsertContextErrorCode
UpsertContextErrorCode:
| "CONTENT_TOO_LARGE"
| "DUPLICATE_CONTENT"
| "EMBEDDING_FAILED"
| "ENCRYPTED_DOCUMENT"
| "EXTRACTION_TIMED_OUT"
| "NO_EMBEDDABLE_CONTENT"
| "PROVIDER_ACCESS_DENIED"
| "SOURCE_OVER_PROVIDER_LIMIT"
| "SOURCE_UNREACHABLE"
| "UNREADABLE_WORKBOOK"
| "UNSUPPORTED_FILE_TYPE"
Names an upsert failure;
DUPLICATE_CONTENTidentifies existing content when contextId is omitted.EMBEDDING_FAILED,EXTRACTION_TIMED_OUT,PROVIDER_ACCESS_DENIED, andSOURCE_UNREACHABLEmay succeed on retry. Document faults carryretryable: falsebecause the same bytes fail again.