0

I am trying to create a workflow where based on user queries we send some products from the Facebook business catalog to WhatsApp as a single product and list product card as mentioned in the below link: https://developers.facebook.com/docs/whatsapp/guides/commerce-guides/share-products-with-customers

I have created a permanent access token using the system user and I am able to access the catalog and also the products inside the catalog with the access token.

Also using the same token I am able to send normal text and images on whatsapp. Now the issue is when I am trying to send specifically a product as an interactive card, I am getting the below mentioned issue.

{
  "error": {
    "message": "(#131009) Parameter value is not valid",
    "type": "OAuthException",
    "code": 131009,
    "error_data": {
      "messaging_product": "whatsapp",
      "details": "Invalid catalog_id."
    },
    "error_subcode": 2494010,
    "fbtrace_id": "AgVHaK1LySusku-_NFpkCNR"
  }
}


But the catalog exists and I am also able to access products inside this catalog.

Fetching all the catalogs

Fetching catalogs

Fetching products inside a catalog

enter image description here

Sending Messages as an interactive card for the catalog

enter image description here

PRAKHAR KAUSHIK
  • 113
  • 1
  • 8
  • Documentation says, _"Unique identifier of the Facebook catalog linked to your WhatsApp Business Account. This ID can be retrieved via Commerce Manager."_ - have you checked there? Maybe that gives you a different ID, I dunno. – CBroe Sep 21 '22 at 06:23
  • Yes I tried, Its same ID which appears here – PRAKHAR KAUSHIK Sep 22 '22 at 06:34

0 Answers0