Skip to content

Interface: IngestUrlStoreFailure

@kortexya/reasoninglayer


@kortexya/reasoninglayer / 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.

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.

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: WebIngestStoreFailure

Defined in: src/types/ingestion.ts:2187

The failure: its step, its page and its cause.


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: 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: 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.