Interface: IngestUrlStoreFailure
@kortexya/reasoninglayer / IngestUrlStoreFailure
Interface: IngestUrlStoreFailure
Section titled “Interface: IngestUrlStoreFailure”Defined in: src/types/ingestion.ts:2181
The 500 body of POST /api/v1/ingest/url when a store failed after the
crawl, as UrlIngestStoreFailedError carries it.
Remarks
Section titled “Remarks”Nothing is rolled back: the pages in report are stored. A re-run is
idempotent: a page whose content hash is already stored is unchanged.
Properties
Section titled “Properties”code:
"web_ingest_store_failed"
Defined in: src/types/ingestion.ts:2183
Always 'web_ingest_store_failed'.
error:
string
Defined in: src/types/ingestion.ts:2185
The status’s canonical reason phrase, Internal Server Error.
failed
Section titled “failed”failed:
WebIngestStoreFailure
Defined in: src/types/ingestion.ts:2187
The failure: its step, its page and its cause.
message
Section titled “message”message:
string
Defined in: src/types/ingestion.ts:2189
The failure in words: which page, which step, the cause, and what a re-run does.
notWritten
Section titled “notWritten”notWritten:
WebPageRef[]
Defined in: src/types/ingestion.ts:2194
Pages the crawl read that were not written because the failure came
first, in crawl order. The failed page itself is under failed.
report
Section titled “report”report:
IngestUrlResponse
Defined in: src/types/ingestion.ts:2200
The pages stored before the failure, as a 200 would report them (the
counts cover these pages only), plus the crawl’s skipped and
truncated.