-
Notifications
You must be signed in to change notification settings - Fork 1
Error Codes
skuio edited this page Mar 14, 2020
·
7 revisions
Code | Field | Description |
---|---|---|
InvalidParentId |
parent_id | the selected parent id does not exists in DB or the selected parent id and product id are the same (only in update) |
SkuReqired |
sku | the sku field is required |
SkuExceededMax |
sku | the sku field exceeded 255 characters |
SkuMustBeUnique |
sku | the sku field must be unique |
BarcodeExceededMax |
barcode | the barcode field exceeded 255 characters |
BrandNameExceededMax |
brand_name | the brand name exceeded 255 characters |
InvalidProductType |
type | invalid product type, valid values: standard or virtual
|
NonNumericWeight |
weight | the weight must be a numerical value |
WeightExceededMax |
weight | the weight must be less than 10000 |
InvalidWeightUnit |
weight_unit | invalid weight unit, valid values: lb , kg or oz
|
NonNumericLength |
length | the length must have numeric value |
LengthExceededMax |
length | the length must be less than 10000 |
NonNumericWidth |
width | the width must be a numerical value |
WidthExceededMax |
width | the width must be less than 10000 |
NonNumericHeight |
height | the height must have a numerical value |
HeightExceededMax |
height | the height must be less than 10000 |
InvalidDimensionUnit |
dimension_unit | invalid dimension unit, valid values: in or cm
|
ProductNameRequired |
name | the product name field is required |
ProductNameExceededMax |
name | the product name exceeded 255 characters |
FbaPrepInstructionsExceededMax |
fba_prep_instructions | the fba_prep_instructions exceeded 255 characters |
NonNumericCaseQuantity |
case_quantity | the case quantity must be a numerical value |
NonNumericCaseLength |
case_length | the case length must be a numerical value |
CaseLengthExceededMax |
case_length | the case length must be less than 10000 |
NonNumericCaseWidth |
case_width | the case width must be a numerical value |
CaseWidthExceededMax |
case_width | the case width must be less than 10000 |
NonNumericCaseHeight |
case_height | the case height must be a numerical value |
CaseHeightExceededMax |
case_height | the case height must be less than 10000 |
InvalidCaseDimensionUnit |
case_dimension_unit | invalid case dimension unit, valid values: in or cm
|
NonNumericCaseWeight |
case_weight | the case weight must be a numerical value |
CaseWeightExceededMax |
case_weight | the case weight must be less than 10000 |
InvalidCaseWeightUnit |
case_weight_unit | invalid case weight unit, valid values: lb , kg or oz
|
ImagesIsNotArray |
images | the images must be an array of objects |
ImageUrlRequired |
images.*.url | the image url is required |
ImageNameExceededMax |
images.*.name | the image name exceeded 255 characters |
SortOrderIsNotInteger |
images.*.sort_order | the image sort order must be an integer |
DownloadIsNotBoolean |
images.*.download | the download image must be boolean |
IsPrimaryIsNotBoolean |
images.*.is_primary | the image is primary must be boolean |
TagsIsNotArray |
tags | the tags must be an array of string |
PricingIsNotArray |
pricing | the pricing must be an array of objects |
ProductPricingTierIdRequired |
pricing.*.product_pricing_tier_id | the product_pricing_tier_id is required only if product_pricing_tier_name field is empty |
InvalidProductPricingTierId |
pricing.*.product_pricing_tier_id | the product_pricing_tier_id does not exists in DB |
ProductPricingTierNameRequired |
pricing.*.product_pricing_tier_name | the product_pricing_tier_name is required only if product_pricing_tier_id field is empty |
ProductPricingTierNameExceededMax |
pricing.*.product_pricing_tier_name | the product_pricing_tier_name exceeded 255 characters |
ProductPriceRequired |
pricing.*.price | the price is required |
NonNumericProductPrice |
pricing.*.price | the price must be a numerical value |
VendorsIsNotArray |
vendors | the vendors must be an array of objects |
VendorIdRequired |
vendors.*.vendor_id | the vendor id is required |
InvalidVendorId |
vendors.*.vendor_id | the vendor id does not exists in DB |
VendorNameRequired |
vendors.*.vendor_name | the vendor name is required |
InvalidVendorName |
vendors.*.vendor_name | the vendor name does not exists in DB |
IsDefaultIsNotBoolean |
vendors.*.is_default | the is_default must be boolean |
SupplierSkuExceededMax |
vendors.*.supplier_sku | the supplier sku exceeded 255 characters |
LeadtimeIsNotInteger |
vendors.*.leadtime | the leadtime must be an integer |
NonNumericLeadtime |
vendors.*.minimum_order_quantity | the minimum order quantity must be a numerical value |
PricingIsNotArray |
vendors.*.pricing | the pricing must be an array of objects |
VendorPricingTierIdRequired |
vendors.*.pricing.*.vendor_pricing_tier_id | the vendor_pricing_tier_id is required only if vendor_pricing_tier_name field is empty |
InvalidVendorPricingTierId |
vendors.*.pricing.*.vendor_pricing_tier_id | the vendor_pricing_tier_id does not exists in DB |
VendorPricingTierNameRequired |
vendors.*.pricing.*.vendor_pricing_tier_name | the vendor_pricing_tier_name is required only if vendor_pricing_tier_id field is empty |
VendorPricingTierNameExceededMax |
vendors.*.pricing.*.vendor_pricing_tier_name | the vendor_pricing_tier_name exceeded 255 characters |
VendorPriceRequired |
vendors.*.pricing.*.price | the price is required |
NonNumericVendorPrice |
vendors.*.pricing.*.price | the price must be a numerical value |
CategoriesIsNotArray |
categories | the categories must be an array of objects |
CategoryIdRequired |
categories.*.category_id | the category id is required |
IsPrimaryIsNotBoolean |
categories.*.is_primary | the is_primary must be boolean |
AttributeGroupsIsNotArray |
attribute_groups | the attribute groups must be an array of integers |
InvalidAttributeGroup |
attribute_groups.* | the attribute group id does not exists in DB |
AttributesIsNotArray |
attributes | the attributes must be an array of objects |
AttributeIdRequired |
attributes.*.id | the attribute id is required only if attribute name field is empty |
InvalidAttributeId |
attributes.*.id | the attribute id does not exists in DB |
AttributeNameRequired |
attributes.*.name | the attribute name is required only if attribute id field is empty |
AttributeNameExceededMax |
attributes.*.name | the attribute name exceeded 255 characters |
AttributeValueRequired |
attributes.*.value | the attribute value is required |
VariationsIsNotArray |
variations | the variations must be an array of objects |
VariationIdRequired |
variations.*.id | the variation id is required only if variation sku is empty |
InvalidVariationId |
variations.*.id | the variation id does not exists in DB |
VariationSkuRequired |
variations.*.sku | the variation sku is required only if variation id is empty |
VariationSkuExceededMax |
variations.*.sku | the variation sku exceeded 255 characters |
VariationSkuMustBeUnique |
variations.*.sku | the variation sku must be unique |
VariationImagesIsNotArray |
variations.*.images | the variation images must be an array of objects |
VariationImageUrlRequired |
images.*.url | the variation image url is required |
VariationImageNameExceededMax |
images.*.name | the variation image name exceeded 255 characters |
VariationImageSortOrderIsNotInteger |
images.*.sort_order | the variation image sort order must be an integer |
VariationImageDownloadIsNotBoolean |
images.*.download | the variation download image must be boolean |
VariationImageIsPrimaryIsNotBoolean |
images.*.is_primary | the variation image is primary must be boolean |
VariationAttributesIsNotArray |
variations.*.attributes | the variation attributes must be an array of objects |
VariationAttributeIdRequired |
variations.*.attributes.*.id | the variation attribute id is required only if attribute name is empty |
InvalidVariationAttributeId |
variations.*.attributes.*.id | the variation attribute id does not exists in DB |
VariationAttributeNameRequired |
variations.*.attributes.*.name | the variation attribute name is required only if attribute id field is empty |
VariationAttributeNameExceededMax |
variations.*.attributes.*.name | the variation attribute name exceeded 255 characters |
VariationAttributeValueRequired |
variations.*.attributes.*.value | the variation attribute value is required |
ParentIdMustNotBeVariation |
parent_id | the selected parent_id can not be the same as parent id because it's a variation |
SupplierSkuMustBeUniqueByVendor |
vendors.*.supplier_sku | the selected supplier sku has already been taken by this vendor |
InvalidCategoryId |
categories.*.category_id | the category id does not exists in DB |
CategoryIdIsNonLeaf |
categories.*.category_id | the selected category id is non-leaf, you cannot assign a product to a non-leaf category |