OAuth "Facebook Platform" "invalid_request" "Unsupported post request. Object with ID
1

Hi, I am trying to call the following API: https://graph.facebook.com/v20.0/{{WHATSAPP_BUSINESS_ACCOUNT_ID}}/message_templates

for creating WhatsApp carousel templates

I am using the same access token, which I have been using for other whatsapp call, but getting the following error

OAuth "Facebook Platform" "invalid_request" "Unsupported post request. Object with ID '382xxxxxxxxxx' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api"

Not sure what is wrong, tried giving all permissions. Can some one guide , what am I missing

Naresh
تم طرح السؤال يوم الثلاثاء
الإجابة المحددة
1

Found the reason for the above error. I was using PHONE_NUMBER_ID value for the business account ID in the url. For creating template, we need to use BUSINESS_ACCOUNT_ID For sending template message, we need to use PHONE_NUMBER_ID

‏٨ أكتوبر‏‏٥:٢٧ م‏111
Naresh