Typescript SDK Type Docs
    Preparing search index...

    Interface InvalidFieldError

    Returned when a field has an invalid value.

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

    Hierarchy (View Summary)

    Index

    Properties

    allowedValues?: string[]

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

    code: "InvalidField"

    Error identifier.

    field: string

    Name of the field with the invalid value.

    invalidValue: any

    Value invalid for the field.

    message: string

    "The value $invalidValue is not valid for field $field."