> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/miscellaneous/llms.txt)
> Source: https://docs.saleor.io/api-reference/miscellaneous/objects/promotion-rule-update-error

# PromotionRuleUpdateError Object

No description

```graphql
type PromotionRuleUpdateError {
  field: String
  message: String
  code: PromotionRuleUpdateErrorCode!
  channels: [ID!]
  giftsLimit: Int
  giftsLimitExceedBy: Int
}
```

<a id="fields"></a>

### Fields

<a id="field"></a>

#### [`field`](#field) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.

<a id="message"></a>

#### [`message`](#message) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

The error message.

<a id="code"></a>

#### [`code`](#code) ● [`PromotionRuleUpdateErrorCode!`](/api-reference/miscellaneous/enums/promotion-rule-update-error-code.md)

The error code.

<a id="channels"></a>

#### [`channels`](#channels) ● [`[ID!]`](/api-reference/miscellaneous/scalars/id.md)

List of channel IDs which causes the error.

<a id="gifts-limit"></a>

#### [`giftsLimit`](#gifts-limit) ● [`Int`](/api-reference/miscellaneous/scalars/int.md)

Limit of gifts assigned to promotion rule.

<a id="gifts-limit-exceed-by"></a>

#### [`giftsLimitExceedBy`](#gifts-limit-exceed-by) ● [`Int`](/api-reference/miscellaneous/scalars/int.md)

Number of gifts defined for this promotion rule exceeding the limit.

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

### Member Of

[`PromotionRuleUpdate`](/api-reference/discounts/objects/promotion-rule-update.md) object
