Errors
DOCUMENT_DELETE_FAILED
DOCUMENT_DELETE_FAILED
HTTP 502 · Bad Gateway

The document could not be removed from the search index. Please try again.

What causes it

The vector search provider refused or failed the delete, so the document was NOT fully removed. Its row is still listed, and some or all of its search entries may still be live — the assistant can still cite it until the delete succeeds. One thing did change before the failure: a delete-intent marker was recorded on the row, so the reconciliation sweep will not treat the half-deleted document as a lost index and rebuild it.

What to do

Retry the delete. A retry is safe to repeat: it removes whatever search entries are left, then removes the row. Nothing was deleted from the database on the failed attempt, so there is nothing to clean up by hand — the leftover search entries are exactly what the retry removes.


This page documents the DOCUMENT_DELETE_FAILED error returned by the dBel API. API errors follow RFC 9457 Problem Details: each response carries a stable code, an HTTP status, and a type URL pointing back here.