Typescript SDK Type Docs
    Preparing search index...

    Interface InvalidFieldError

    A given field is not supported. This error occurs, for example, if the field variants, which is not supported by Product Import, is sent to the Product Import endpoint.

    interface InvalidFieldError {
        allowedValues?: any[];
        code: "InvalidField";
        field: string;
        invalidValue: any;
        message: string;
        resourceIndex?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    allowedValues?: any[]

    The set of allowed values for the field, if any.

    code: "InvalidField"

    An error identifier.

    field: string

    The name of the field.

    invalidValue: any

    The invalid value.

    message: string

    A plain language description of the cause of an error.

    resourceIndex?: number

    The index of the resource in the import request that contains the invalid field.