Skip to content

Type Alias: WebIngestErrorCode

@kortexya/reasoninglayer


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

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.

const code: WebIngestErrorCode = 'web_ingest_store_failed';