Itemset Create & Update APIs Error Codes
| Error Response Code | Error Description | 
|---|---|
| BRANDBASED_ITEMSETS_MUST_HAVE_NONEMPTYBRANDSLIST_AND_EMPTYITEMLIST | For type brand, brands should not be empty and items has to be empty or null | 
| ITEMBASED_ITEMSETS_MUST_HAVE_NONEMPTYITEMSLIST_AND_EMPTYBRANDLIST | For type item, items should not be empty and brands has to be empty or null | 
| ITEMSET_UPDATE_ONLY_ALLOWED_FOR_BUILT_OR_INVALID_STATUS | Itemset update is only allowed if status is either BUILT or INVALID | 
| ITEMSET_UPDATE_NOT_ALLOWED_FROM_ITEMS_TO_BRANDS_ITEMSET | Cannot change the Itemset from item based to brand based | 
| ITEMSET_UPDATE_NOT_ALLOWED_FROM_BRANDS_TO_ITEMS_ITEMSET | Cannot change the Itemset from Brand based to Item based | 
| INVALID_ITEMSET_ID | The itemset id passed either is not built or does not exist or does not belong to the advertiser | 
| ITEM_SET_API_EXCEPTION | There was an error while creating/updating an item-set | 
| INVALID_FIELD_ITEM_TYPE | Invalid field value. Supported values for itemType are [gtin, stores, online, upc] | 
| INVALID_ITEMSET_ID | The itemset id passed either is not built or does not exist or does not belong to the advertiser | 
| ITEM_SET_API_EXCEPTION | There was an error while creating/updating an item-set | 
| FIELD_EDITABLE_CAN_ONLY_BE_TRUE | Field editable can only be true | 
| BRAND_IN_EXPRESSION_MUST_HAVE_BRAND_NAME | Itemset Expression with Brand much have brand name | 
| ITEMSET_IN_EXPRESSION_MUST_HAVE_ITEMSET_ID_AND_VERSION | Itemset Expression with Itemset much have itemsetId & its version | 
| CATEGORY_IN_EXPRESSION_MUST_HAVE_CATEGORY_NAME | Itemset Expression with Category much have category name | 
| CATEGORY_TYPE_ITEMSET_NOT_SUPPORTED_FOR_MEASUREMENT_CLASS | Itemset with measurement class type not supported with Category in itemset expression | 
| ITEMSET_UPDATE_NOT_ALLOWED_FROM_SPECIFIC_TYPE_TO_BRAND_ITEMSET | Itemset update not allowed from other type to brand type | 
| ITEMSET_UPDATE_NOT_ALLOWED_FROM_SPECIFIC_TYPE_TO_CATEGORY_ITEMSET | Itemset update not allowed from other type to category type | 
| ITEMSET_UPDATE_NOT_ALLOWED_FOR_EMPTY_OR_NULL_EXPRESSION | Hybrid type itemset must have non empty itemset expression | 
| HYBRID_ITEMSETS_MUST_HAVE_NON_EMPTY_EXPRESSION | Hybrid itemset type must have non empty itemset expression | 
| CATEGORY_BASED_ITEMSETS_MUST_HAVE_NONEMPTY_CATEGORY_EXPRESSION_AND_EMPTYITEMLIST | Category type Itemset must have non empty category expression and empty item list | 
| ITEMBASED_ITEMSETS_MUST_HAVE_NON_EMPTYITEMSLIST_AND_WITHOUT_BRANDS_AND_EXPRESSION | Item type itemset mush have non empty items and having no brands and expression | 
| BRANDBASED_ITEMSETS_MUST_HAVE_NONEMPTYBRANDSLIST_OR_BRAND_EXPRESSION_AND_EMPTYITEMLIST | Brand type itemset must have non empty brand list or brand expression and no items | 
| BRANDS_AND_EXPRESSION_CANNOT_BE_TOGETHER | Brands and Expression both together, not supported to itemset | 
| UNSUPPORTED_TYPE_FOR_CATALOG_VERSION_V2 | only brands and items supported with catalog version v2 api | 
| UNSUPPORTED_ITEMSET_CLASS_FOR_CATALOG_VERSION_V2 | measurement class type supported with catalog version v2 api | 
| ITEMSET_EXPRESSION_NOT_SUPPORTED_FOR_CATALOG_VERSION_V2 | Itemset expression not supported with catalog version v2 | 
| NESTED_LOGICAL_GATE_NOT_SUPPORTED_IN_CURRENT_VERSION_OF_EXPRESSION | Nexted logical gate not supported in itemset expression for current version of api | 
| UNSUPPORTED_GATE_ONLY_OR_GATE_SUPPORTED_IN_CURRENT_VERSION_OF_EXPRESSION | Only OR gate supported in itemset expression in current api version | 
| INVALID_OR_EMPTY_EXPRESSION | Invalid or empty itemset expression | 
| UNSUPPORTED_EXPRESSION_CONVERSION | unsupported itemset expression for current version of api | 
| ITEM_IN_EXPRESSION_MUST_HAVE_ITEMID_AND_ITEMTYPE | Items in itemset expression must have itemId & itemType | 
| HYBRID_ITEMSETS_MUST_HAVE_NON_EMPTY_EXPRESSION_OR_NON_EMPTY_ITEM_LIST | Hybrid type itemset must have either non empty expression or non empty item list | 
| ITEMSET_UPDATE_NOT_ALLOWED_FOR_EMPTY_ITEM_LIST_OR_NULL_EXPRESSION | Itemset update for hybrid type must have either non empty expression or non empty item list | 
| CATEGORY_HYBRID_AND_BRAND_BASED_ITEMSETS_NOT_SUPPORTED_FOR_FEATURED_TYPE_MEASUREMENT_CLASS | Only item based featured itemsets can be created | 
| ITEMSET_TYPE_FIELD_NOT_ALLOWED_FOR_TARGETING_CLASS_ITEMSET | itemsetType field is not applicable for targeting class itemset | 
| INVALID_ITEMSET_TYPE | itemsetType can only be HALO or FEATURED | 
| ONLY_ITEM_BASED_FEATURED_ITEMSETS_ALLOWED_FOR_UPDATE_ITEMSET | Only item based featured itemsets are allowed for update itemset | 
| HALO_ITEMSET_UPDATE_NOT_ALLOWED | Auto halo itemsets can not be updated | 
| ITEMS_LIMIT_EXCEEDED | items limit excedded | 
Updated 3 months ago
