TabularImportError | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Type Alias TabularImportError

    Structured error returned by the parser when input cannot be converted to rows.

    type is one of:

    • "ambiguous-column" — header matched multiple columns
    • "missing-data" — no rows in the sheet
    • "missing-column" — a required field's header wasn't found
    • "invalid-data" — cell value failed validation or conversion
    • "too-many-errors" — error list truncated

    row is a 1-based row number (header row is row 1). field and fieldHeader are set when the error relates to a specific configured field.

    type TabularImportError = {
        field?: string;
        fieldHeader?: string;
        message: string;
        row: number;
        type:
            | "ambiguous-column"
            | "missing-data"
            | "missing-column"
            | "invalid-data"
            | "too-many-errors";
    }
    Index

    Properties

    field?: string
    fieldHeader?: string
    message: string
    row: number
    type:
        | "ambiguous-column"
        | "missing-data"
        | "missing-column"
        | "invalid-data"
        | "too-many-errors"