# type TeamError (v202505)

**Service** [CompanyService](https://developers.google.com/ad-manager/api/reference/v202505/CompanyService.TeamError) [ContactService](https://developers.google.com/ad-manager/api/reference/v202505/ContactService.TeamError) [ForecastService](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.TeamError) **InventoryService** [LineItemService](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.TeamError) [LineItemTemplateService](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.TeamError) [NativeStyleService](https://developers.google.com/ad-manager/api/reference/v202505/NativeStyleService.TeamError) [OrderService](https://developers.google.com/ad-manager/api/reference/v202505/OrderService.TeamError) [ProposalLineItemService](https://developers.google.com/ad-manager/api/reference/v202505/ProposalLineItemService.TeamError) [ProposalService](https://developers.google.com/ad-manager/api/reference/v202505/ProposalService.TeamError) [TeamService](https://developers.google.com/ad-manager/api/reference/v202505/TeamService.TeamError) [UserService](https://developers.google.com/ad-manager/api/reference/v202505/UserService.TeamError) [UserTeamAssociationService](https://developers.google.com/ad-manager/api/reference/v202505/UserTeamAssociationService.TeamError) **Inheritance** [ApiError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.ApiError) ▼ [AdSenseAccountError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.AdSenseAccountError) [AdUnitCodeError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.AdUnitCodeError) [AdUnitHierarchyError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.AdUnitHierarchyError) [ApiVersionError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.ApiVersionError) [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.AuthenticationError) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.CollectionSizeError) [CommonError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.CommonError) [CompanyError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.CompanyError) [CreativeWrapperError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.CreativeWrapperError) [CrossSellError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.CrossSellError) [EntityChildrenLimitReachedE...](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.EntityChildrenLimitReachedError "EntityChildrenLimitReachedError") [EntityLimitReachedError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.EntityLimitReachedError) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.FeatureError) [FrequencyCapError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.FrequencyCapError) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.InternalApiError) [InvalidColorError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.InvalidColorError) [InvalidUrlError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.InvalidUrlError) [InventoryUnitError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.InventoryUnitError) [InventoryUnitRefreshRateError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.InventoryUnitRefreshRateError) [InventoryUnitSizesError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.InventoryUnitSizesError) [LabelEntityAssociationError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.LabelEntityAssociationError) [NotNullError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.NotNullError) [NullError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.NullError) [ParseError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.ParseError) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.PermissionError) [PublisherQueryLanguageConte...](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.PublisherQueryLanguageContextError "PublisherQueryLanguageContextError") [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.PublisherQueryLanguageSyntaxError "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.QuotaError) [RangeError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.RangeError) [RegExError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.RegExError) [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.RequiredCollectionError) [RequiredError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.RequiredError) [RequiredNumberError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.RequiredNumberError) [ServerError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.ServerError) [StatementError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.StatementError) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.StringFormatError) [StringLengthError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.StringLengthError) **TeamError** [TypeError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.TypeError) [UniqueError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.UniqueError)

Errors related to a Team.

*** ** * ** ***

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/InventoryService.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. |
| **`TeamError`** ||
| ### `reason` | ` https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.TeamError.Reason ` The error reason represented by an enum. *** ** * ** *** **Enumerations** `ENTITY_NOT_ON_USERS_TEAMS` :   User cannot use this entity because it is not on any of the user's teams. `AD_UNITS_NOT_ON_ORDER_TEAMS` :   The targeted or excluded ad unit must be on the order's teams. `PLACEMENTS_NOT_ON_ORDER_TEAMS` :   The targeted placement must be on the order's teams. `MISSING_USERS_TEAM` :   Entity cannot be created because it is not on any of the user's teams. `ALL_TEAM_ASSOCIATION_NOT_ALLOWED` :   A team that gives access to all entities of a given type cannot be associated with an entity of that type. `INVALID_TEAM_ASSIGNMENT` :   The assignment of team to entities is invalid. `CANNOT_UPDATE_INACTIVE_TEAM` :   Cannot modify or create a team with an inactive status. `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |