# type OrderError (v202505)

**Service** [ForecastService](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.OrderError) [LineItemCreativeAssociationService](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.OrderError) [LineItemService](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.OrderError) [LineItemTemplateService](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.OrderError) [OrderService](https://developers.google.com/ad-manager/api/reference/v202505/OrderService.OrderError) [PublisherQueryLanguageService](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.OrderError) **TeamService** **Inheritance** [ApiError](https://developers.google.com/ad-manager/api/reference/v202505/TeamService.ApiError) ▼ [ApiVersionError](https://developers.google.com/ad-manager/api/reference/v202505/TeamService.ApiVersionError) [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202505/TeamService.AuthenticationError) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202505/TeamService.CollectionSizeError) [CommonError](https://developers.google.com/ad-manager/api/reference/v202505/TeamService.CommonError) [EntityLimitReachedError](https://developers.google.com/ad-manager/api/reference/v202505/TeamService.EntityLimitReachedError) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202505/TeamService.FeatureError) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202505/TeamService.InternalApiError) [NotNullError](https://developers.google.com/ad-manager/api/reference/v202505/TeamService.NotNullError) [NullError](https://developers.google.com/ad-manager/api/reference/v202505/TeamService.NullError) **OrderError** [ParseError](https://developers.google.com/ad-manager/api/reference/v202505/TeamService.ParseError) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202505/TeamService.PermissionError) [PublisherQueryLanguageConte...](https://developers.google.com/ad-manager/api/reference/v202505/TeamService.PublisherQueryLanguageContextError "PublisherQueryLanguageContextError") [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202505/TeamService.PublisherQueryLanguageSyntaxError "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202505/TeamService.QuotaError) [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202505/TeamService.RequiredCollectionError) [RequiredError](https://developers.google.com/ad-manager/api/reference/v202505/TeamService.RequiredError) [ServerError](https://developers.google.com/ad-manager/api/reference/v202505/TeamService.ServerError) [StatementError](https://developers.google.com/ad-manager/api/reference/v202505/TeamService.StatementError) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202505/TeamService.StringFormatError) [StringLengthError](https://developers.google.com/ad-manager/api/reference/v202505/TeamService.StringLengthError) [TeamError](https://developers.google.com/ad-manager/api/reference/v202505/TeamService.TeamError) [TypeError](https://developers.google.com/ad-manager/api/reference/v202505/TeamService.TypeError) [UniqueError](https://developers.google.com/ad-manager/api/reference/v202505/TeamService.UniqueError)

Lists all errors associated with orders.

*** ** * ** ***

Namespace
:
    `https://www.google.com/apis/ads/publisher/v202505`

| ## Field ||
|---|---|
| **`ApiError` (inherited)** ||
| ### `fieldPath` | ` xsd:string` The OGNL field path to identify cause of error. |
| ### `fieldPathElements` | ` https://developers.google.com/ad-manager/api/reference/v202505/TeamService.FieldPathElement[]` A parsed copy of the field path. For example, the field path "operations\[1\].operand" corresponds to this list: {FieldPathElement(field = "operations", index = 1), FieldPathElement(field = "operand", index = null)}. |
| ### `trigger` | ` xsd:string` The data that caused the error. |
| ### `errorString` | ` xsd:string` A simple string representation of the error and reason. |
| **`OrderError`** ||
| ### `reason` | ` https://developers.google.com/ad-manager/api/reference/v202505/TeamService.OrderError.Reason ` The error reason represented by an enum. *** ** * ** *** **Enumerations** `UPDATE_CANCELED_ORDER_NOT_ALLOWED` :   Updating a canceled order is not allowed. `UPDATE_PENDING_APPROVAL_ORDER_NOT_ALLOWED` :   Updating an order that has its approval pending is not allowed. `UPDATE_ARCHIVED_ORDER_NOT_ALLOWED` :   Updating an archived order is not allowed. `CANNOT_MODIFY_PROPOSAL_ID` :   DSM can set the proposal ID only at the time of creation of order. Setting or changing proposal ID at the time of order update is not allowed. `PRIMARY_USER_REQUIRED` :   Cannot have secondary user without a primary user. `PRIMARY_USER_CANNOT_BE_SECONDARY` :   Primary user cannot be added as a secondary user too. `ORDER_TEAM_NOT_ASSOCIATED_WITH_ADVERTISER` :   A team associated with the order must also be associated with the advertiser. `USER_NOT_ON_ORDERS_TEAMS` :   The user assigned to the order, like salesperson or trafficker, must be on one of the order's teams. `AGENCY_NOT_ON_ORDERS_TEAMS` :   The agency assigned to the order must belong to one of the order's teams. `INVALID_FIELDS_SET_FOR_NON_PROGRAMMATIC_ORDER` :   Programmatic info fields should not be set for a non-programmatic order. `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |