> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/products/llms.txt)
> Source: https://docs.saleor.io/api-reference/products/enums/product-error-code

# ProductErrorCode Enum

No description

<a id="values"></a>

### Values

<a id="already-exists"></a>

#### [`ALREADY_EXISTS`](#already-exists)

<a id="attribute-already-assigned"></a>

#### [`ATTRIBUTE_ALREADY_ASSIGNED`](#attribute-already-assigned)

<a id="attribute-cannot-be-assigned"></a>

#### [`ATTRIBUTE_CANNOT_BE_ASSIGNED`](#attribute-cannot-be-assigned)

<a id="attribute-variants-disabled"></a>

#### [`ATTRIBUTE_VARIANTS_DISABLED`](#attribute-variants-disabled)

<a id="media-already-assigned"></a>

#### [`MEDIA_ALREADY_ASSIGNED`](#media-already-assigned)

<a id="duplicated-input-item"></a>

#### [`DUPLICATED_INPUT_ITEM`](#duplicated-input-item)

<a id="graphql-error"></a>

#### [`GRAPHQL_ERROR`](#graphql-error)

<a id="invalid"></a>

#### [`INVALID`](#invalid)

<a id="invalid-price"></a>

#### [`INVALID_PRICE`](#invalid-price)

<a id="product-without-category"></a>

#### [`PRODUCT_WITHOUT_CATEGORY`](#product-without-category)

<a id="not-products-image"></a>

#### [`NOT_PRODUCTS_IMAGE`](#not-products-image)

<a id="not-products-variant"></a>

#### [`NOT_PRODUCTS_VARIANT`](#not-products-variant)

<a id="not-found"></a>

#### [`NOT_FOUND`](#not-found)

<a id="required"></a>

#### [`REQUIRED`](#required)

<a id="unique"></a>

#### [`UNIQUE`](#unique)

<a id="cannot-manage-product-without-variant"></a>

#### [`CANNOT_MANAGE_PRODUCT_WITHOUT_VARIANT`](#cannot-manage-product-without-variant)

<a id="product-not-assigned-to-channel"></a>

#### [`PRODUCT_NOT_ASSIGNED_TO_CHANNEL`](#product-not-assigned-to-channel)

<a id="unsupported-media-provider"></a>

#### [`UNSUPPORTED_MEDIA_PROVIDER`](#unsupported-media-provider)

<a id="invalid-file-type"></a>

#### [`INVALID_FILE_TYPE`](#invalid-file-type)

<a id="unsupported-mime-type"></a>

#### [`UNSUPPORTED_MIME_TYPE`](#unsupported-mime-type)

<a id="file-size-limit-exceeded"></a>

#### [`FILE_SIZE_LIMIT_EXCEEDED`](#file-size-limit-exceeded)

Show deprecatedHide deprecated

<a id="preorder-variant-cannot-be-deactivated"></a>

#### [`PREORDER_VARIANT_CANNOT_BE_DEACTIVATED`](#preorder-variant-cannot-be-deactivated)

DEPRECATED

Preorder is deprecated and will be removed. Model pre-sales with regular stock instead: create the planned quantity in a warehouse, or set `trackInventory` to false to sell without a stock limit.

<a id="member-of"></a>

### Member Of

[`BulkProductError`](/api-reference/products/objects/bulk-product-error.md) object  ● [`BulkStockError`](/api-reference/products/objects/bulk-stock-error.md) object  ● [`CollectionChannelListingError`](/api-reference/products/objects/collection-channel-listing-error.md) object  ● [`ProductChannelListingError`](/api-reference/products/objects/product-channel-listing-error.md) object  ● [`ProductError`](/api-reference/products/objects/product-error.md) object
