Returned when an AttributeEnumType or AttributeLocalizedEnumType already contains a value with the given key.

The error is returned as a failed response to the [Change the key of an EnumValue](ctp:api:type:ProductTypeChangeEnumKeyAction) update action.
interface GraphQLEnumKeyDoesNotExistError {
    code: "EnumKeyDoesNotExist";
    conflictingAttributeName: string;
    conflictingEnumKey: string;
    [key: string]: any;
}

Hierarchy (View Summary)

Indexable

  • [key: string]: any

Properties

code: "EnumKeyDoesNotExist"

One of the error codes that is listed on the Errors page.

conflictingAttributeName: string

Name of the conflicting Attribute.

conflictingEnumKey: string

Conflicting enum key.