Error codes
Last update: 4 days ago by Irais Aguirre
Error response
If the request fails, the service returns an HTTP 4xx status code with the following body. See the error codes.
| Name | Description | Type |
|---|---|---|
| code | Meta's HTTP status code (usually 400). | Number |
| detail | Error details. | String |
{"code": 2,"detail": "Catalog not found"}
Error codes
| Code | Description | Solution |
|---|---|---|
| 1 | Phone Number not found | The phone number you sent isn't valid. |
| 2 | Catalog not found | The catalog doesn't exist in the WABA. Use the ID of a catalog created with the Create catalog service. |
| 2 | Parameter 'request' must be not null | The request body can't be null. |
| 2 | Parameter 'request' must not be null | The request body or the requests list can't be null. |
| 2 | Parameter 'name' must not be null | When you create a catalog, the name property is required. |
| 2 | must not be blank | The name property is required to update a catalog. |
| 2 | Parameter 'name' must be not null | When you schedule a product upload from a file, the name property is required. |
| 2 | is_cart_enabled must not be null | The is_cart_enabled property is required. |
| 2 | is_catalog_visible must not be null | The is_catalog_visible property is required. |
| 2 | Phone Number not Found | The phone number isn't registered with Meta. |
| 2 | Phone number not linked to Meta | The phone number isn't registered with Meta. |
| 2 | Parameter 'requests' must not be null | The requests list can't be null. |
| 2 | Parameter 'method' must not be null | Every item in requests must include method. |
| 2 | Parameter 'retailer_id' must not be null | Every item in requests must include retailer_id. |
| 2 | Parameter 'data' must not be null | Send the data object. It's required when you create products and for localized products. |
| 2 | Parameter 'availability' must be one of: in stock, out of stock, preorder, available for order, discontinued | The availability value isn't valid. |
| 2 | Parameter 'condition' must be one of: new, refurbished, used | The condition value isn't valid. |
| 2 | Parameter 'currency' must be a valid ISO 4217 currency code | currency must be an ISO 4217 currency code, for example, MXN. |
| 2 | Parameter 'description' must not be blank | The description property can't be empty. |
| 2 | Parameter 'description' must not exceed 9999 characters | Shorten the description to 9,999 characters or fewer. |
| 2 | Parameter 'image_url' must be a valid URL | image_url must be a valid URL. |
| 2 | Parameter 'name' must not be blank | The product's name property can't be empty. |
| 2 | Parameter 'price' must not be null | The price property is required when you create a product. |
| 2 | Parameter 'url' must be a valid URL | url must be a valid URL. |
| 2 | Product with retailer_id '<retailer_id>' was not found in the catalog and cannot be deleted | The product you're trying to delete doesn't exist in the catalog. |
| 2 | Parameter 'item_type' must not be null | The item_type property is required. |
| 2 | Parameter 'localization' must not be null | Every item in requests must include localization. |
| 2 | Parameter 'type' must not be null | The localization object must include type. |
| 2 | Parameter 'value' must not be null | The localization object must include value. |
| 2 | Parameter 'id' must not be null | The data object must include id. |
| 2 | Parameter 'schedule' or 'updateSchedule' must be not null | Send schedule or updateSchedule. |
| 2 | Parameter 'interval' or 'url' must be not null | The schedule must include interval and url. |
| 2 | ProductFeedId not found | The product feed doesn't exist in the catalog. |
| 2 | Product Feed not found | The product feed doesn't exist in the catalog. |
| 7 | WABA Info not found | No information was found for the WABA. |
| 300 | URL Api Graph Read Timeout. Try Again. | Meta didn't respond in time. Try again. |
| 300 | Failed after retries | The catalog isn't ready to be linked to the WABA yet. Try again later. |
| 300 | URL Api Graph Error / <exception message> | Error communicating with Meta. Retry the request. Returns HTTP 409. |
| 400 | API Graph URL Message=<message>, Code=<code>, SubCode=<subcode>, ErrorUserTitle=<title>, ErrorUserMsg=<message> | Meta rejected the request. Check ErrorUserTitle and ErrorUserMsg for the cause. |
| 401 | Parameter 'wbaId' not match | The authentication token isn't associated with the WABA you sent, or the phone number doesn't belong to the WABA. |
| 3009 | Authorization Server URL JWT token expired | The authentication token has expired. Generate a new one. |
