logo
enes

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.

NameDescriptionType
codeMeta's HTTP status code (usually 400).Number
detailError details.String
{
"code": 2,
"detail": "Catalog not found"
}


Error codes

CodeDescriptionSolution
1Phone Number not foundThe phone number you sent isn't valid.
2Catalog not foundThe catalog doesn't exist in the WABA. Use the ID of a catalog created with the Create catalog service.
2Parameter 'request' must be not nullThe request body can't be null.
2Parameter 'request' must not be nullThe request body or the requests list can't be null.
2Parameter 'name' must not be nullWhen you create a catalog, the name property is required.
2must not be blankThe name property is required to update a catalog.
2Parameter 'name' must be not nullWhen you schedule a product upload from a file, the name property is required.
2is_cart_enabled must not be nullThe is_cart_enabled property is required.
2is_catalog_visible must not be nullThe is_catalog_visible property is required.
2Phone Number not FoundThe phone number isn't registered with Meta.
2Phone number not linked to MetaThe phone number isn't registered with Meta.
2Parameter 'requests' must not be nullThe requests list can't be null.
2Parameter 'method' must not be nullEvery item in requests must include method.
2Parameter 'retailer_id' must not be nullEvery item in requests must include retailer_id.
2Parameter 'data' must not be nullSend the data object. It's required when you create products and for localized products.
2Parameter 'availability' must be one of: in stock, out of stock, preorder, available for order, discontinuedThe availability value isn't valid.
2Parameter 'condition' must be one of: new, refurbished, usedThe condition value isn't valid.
2Parameter 'currency' must be a valid ISO 4217 currency codecurrency must be an ISO 4217 currency code, for example, MXN.
2Parameter 'description' must not be blankThe description property can't be empty.
2Parameter 'description' must not exceed 9999 charactersShorten the description to 9,999 characters or fewer.
2Parameter 'image_url' must be a valid URLimage_url must be a valid URL.
2Parameter 'name' must not be blankThe product's name property can't be empty.
2Parameter 'price' must not be nullThe price property is required when you create a product.
2Parameter 'url' must be a valid URLurl must be a valid URL.
2Product with retailer_id '<retailer_id>' was not found in the catalog and cannot be deletedThe product you're trying to delete doesn't exist in the catalog.
2Parameter 'item_type' must not be nullThe item_type property is required.
2Parameter 'localization' must not be nullEvery item in requests must include localization.
2Parameter 'type' must not be nullThe localization object must include type.
2Parameter 'value' must not be nullThe localization object must include value.
2Parameter 'id' must not be nullThe data object must include id.
2Parameter 'schedule' or 'updateSchedule' must be not nullSend schedule or updateSchedule.
2Parameter 'interval' or 'url' must be not nullThe schedule must include interval and url.
2ProductFeedId not foundThe product feed doesn't exist in the catalog.
2Product Feed not foundThe product feed doesn't exist in the catalog.
7WABA Info not foundNo information was found for the WABA.
300URL Api Graph Read Timeout. Try Again.Meta didn't respond in time. Try again.
300Failed after retriesThe catalog isn't ready to be linked to the WABA yet. Try again later.
300URL Api Graph Error / <exception message>Error communicating with Meta. Retry the request. Returns HTTP 409.
400API Graph URL Message=<message>, Code=<code>, SubCode=<subcode>, ErrorUserTitle=<title>, ErrorUserMsg=<message>Meta rejected the request. Check ErrorUserTitle and ErrorUserMsg for the cause.
401Parameter 'wbaId' not matchThe authentication token isn't associated with the WABA you sent, or the phone number doesn't belong to the WABA.
3009Authorization Server URL JWT token expiredThe authentication token has expired. Generate a new one.
Previous
Product feeds
Next — WhatsApp
Calling API