I can't receive messages through my webhook with Whatsapp Cloud API
I created a webhook and added the business number. My webhook is correctly verified and is receiving test messages sent from the dashboard, however when I send whatsapp messages to the business number, the webhook does not receive them.
I tried to follow this suggestion https://stackoverflow.com/questions/79175537/whatsapp-business-api-messages-webhook-not-triggering-even-with-manual-testin, however if I try to do the curl
curl -X POST \ 'https://graph.facebook.com/v21.0/WHATSAPP_BUSINESS_ACCOUNT_ID/subscribed_apps' \ -H 'Authorization: Bearer ACCESS_TOKEN'
using as ACCESS_TOKEN the temporary access token generated in the whatsapp facebook page, I get the error:
"Unsupported get request. Object with ID 'my-id' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation".
I don't know what to do next, if anyone has anything to suggest any help is appreciated!