{"_id":"5bcf3922e8455d049c357e3d","category":{"_id":"5bcf3922e8455d049c357e15","version":"5bcf3922e8455d049c357ed7","project":"57336fd5a6a9c40e00e13a0b","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-10-15T16:21:09.840Z","from_sync":false,"order":7,"slug":"errors","title":"Errors"},"parentDoc":null,"project":"57336fd5a6a9c40e00e13a0b","user":"560d5913af97231900938124","version":{"_id":"5bcf3922e8455d049c357ed7","project":"57336fd5a6a9c40e00e13a0b","__v":0,"forked_from":"5b8ec6a1f8dd7c0003386069","createdAt":"2018-04-24T15:33:45.744Z","releaseDate":"2018-04-24T15:33:45.744Z","categories":["5bcf3922e8455d049c357e0e","5bcf3922e8455d049c357e0f","5bcf3922e8455d049c357e10","5bcf3922e8455d049c357e11","5bcf3922e8455d049c357e12","5bcf3922e8455d049c357e13","5bcf3922e8455d049c357e14","5bcf3922e8455d049c357e15","5bcf3922e8455d049c357e16","5bcf3922e8455d049c357e17","5bcf3922e8455d049c357e18"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":false,"codename":"3.27.2 Release","version_clean":"8976.0.0-Extended","version":"8976-Extended"},"githubsync":"","__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-07-12T17:10:39.131Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":4,"body":"The following errors can be returned in response to catalog requests, such as [Create Product](doc:create-product), [Create SKU](doc:create-sku), [Create Custom Parameter](doc:create-custom-parameter), [Retrieve Coupon](doc:retrieve-coupon), and so on.\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Name\",\n    \"h-1\": \"Description\",\n    \"h-2\": \"Code\",\n    \"7-0\": \"MISSING_REQUIRED_FIELD\",\n    \"7-1\": \"Required field is missing.\",\n    \"7-2\": \"24002 or empty\",\n    \"8-0\": \"PRODUCT_ID_MISMATCH\",\n    \"8-1\": \"Updating SKU failed due to wrong product id.\",\n    \"9-0\": \"PRODUCT_NAME_REQUIRED\",\n    \"9-1\": \"Product name is required.\",\n    \"8-2\": \"-\",\n    \"9-2\": \"-\",\n    \"10-0\": \"PRODUCT_NOT_FOUND\",\n    \"10-2\": \"-\",\n    \"10-1\": \"The product was not found.\",\n    \"0-0\": \"COUPON_CODE_REQUIRED\",\n    \"0-1\": \"Coupon code is required.\",\n    \"0-2\": \"-\",\n    \"1-0\": \"COUPON_NOT_FOUND\",\n    \"1-1\": \"Coupon was not found.\",\n    \"1-2\": \"-\",\n    \"2-0\": \"CUSTOM_PARAMETER_NOT_FOUND\",\n    \"2-1\": \"Custom parameter was not found.\",\n    \"2-2\": \"-\",\n    \"3-0\": \"INVALID_AMOUNT\",\n    \"3-1\": \"Invalid amount.\",\n    \"3-2\": \"-\",\n    \"4-0\": \"INVALID_CUSTOM_PARAMETER\",\n    \"4-1\": \"The custom parameter passed in the request is invalid.\",\n    \"4-2\": \"1000\",\n    \"6-0\": \"MISSING_PARAMETER_KEY_OR_VALUE\",\n    \"6-1\": \"Missing parameter key or value.\",\n    \"6-2\": \"-\",\n    \"11-0\": \"SKU_NOT_FOUND\",\n    \"11-1\": \"The SKU ID passed in the request was not found.\",\n    \"11-2\": \"15007\",\n    \"5-0\": \"INVALID_SKU_PARAMETER\",\n    \"5-1\": \"Invalid SKU parameter.\",\n    \"5-2\": \"-\"\n  },\n  \"cols\": 3,\n  \"rows\": 12\n}\n[/block]","excerpt":"","slug":"catalog-errors","type":"basic","title":"Catalog Errors"}

The following errors can be returned in response to catalog requests, such as Create Product, Create SKU, Create Custom Parameter, Retrieve Coupon, and so on.

Name
Description
Code

COUPON_CODE_REQUIRED

Coupon code is required.

-

COUPON_NOT_FOUND

Coupon was not found.

-

CUSTOM_PARAMETER_NOT_FOUND

Custom parameter was not found.

-

INVALID_AMOUNT

Invalid amount.

-

INVALID_CUSTOM_PARAMETER

The custom parameter passed in the request is invalid.

1000

INVALID_SKU_PARAMETER

Invalid SKU parameter.

-

MISSING_PARAMETER_KEY_OR_VALUE

Missing parameter key or value.

-

MISSING_REQUIRED_FIELD

Required field is missing.

24002 or empty

PRODUCT_ID_MISMATCH

Updating SKU failed due to wrong product id.

-

PRODUCT_NAME_REQUIRED

Product name is required.

-

PRODUCT_NOT_FOUND

The product was not found.

-

SKU_NOT_FOUND

The SKU ID passed in the request was not found.

15007