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;
}

Properties

allowedValues?: any[]

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

code: "InvalidField"
field: string

The name of the field.

invalidValue: any

The invalid value.

message: string
resourceIndex?: number