Meta Business API and Cloud API creating issues when trying to send product from a catalogue to whatsapp as an interactive product card
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.