Type Alias: WebIngestErrorCode
@kortexya/reasoninglayer / WebIngestErrorCode
Type Alias: WebIngestErrorCode
Section titled “Type Alias: WebIngestErrorCode”WebIngestErrorCode =
BoundaryDecisionCode|"web_ingest_store_failed"
Defined in: src/types/ingestion.ts:2535
The code of the coded error body of POST /api/v1/ingest/url.
Remarks
Section titled “Remarks”The Space’s boundary can refuse a fetch (HTTP 403) or require confirmation
(HTTP 428, boundary_needs_confirmation). Read the reason with errorBodyCode.
'web_ingest_store_failed' (HTTP 500): the crawl ran, and storing its
pages failed part way. The SDK throws UrlIngestStoreFailedError for
it; errorBodyCode also reads it.
Example
Section titled “Example”const code: WebIngestErrorCode = 'web_ingest_store_failed';