Posts under category Meta & Facebook

I have deployed my webhook and connected my WABA. Once I send an image to this business account. It did not return the media id from the response. Actually, the JSON returned to me like this:

{     "entry": [         {             "changes": [                 {                     "field": "messages",                     "value": {                         "contacts": [                             {                                 "profile": {                                     "name": "XXXXXXX"                                 }                             }                         ],                         "messages": [                             {                                 "from": "XXXXXXXXXX",                                 "id": "wamid.aisjdoiajsodiajsodasd\u003d",                                 "timestamp": "1657527108",                                 "type": "image"                             }                         ],                         "metadata": {}                     }                 }             ],             "id": "124071984791824"         }     ],     "object": "whatsapp_business_account" } 

Or should I try the Whatsapp On-premises API? https://developers.facebook.com/docs/whatsapp/on-premises/reference/media/media-id

As I mentioned above, are there any API's available for uploading status (text, images and videos etc.) in the WhatsApp Businesses platform? For businesses messaging we can use Cloud API https://developers.facebook.com/docs/whatsapp/cloud-api or On-Premises API https://developers.facebook.com/docs/whatsapp/on-premises . Like messages API's, I am searching for status uploading API's. If anyone knows about this please guide me.

I've installed WhatsApp business client on my linux docker containers, I have managed to hit the /v1/health route perfectly and have also changed the default password through an endpoint.

But, I'm getting an error when I try to access POST request /v1/contacts . The error is:

{     "meta": {         "version": "v2.41.2",         "api_status": "stable"     },     "errors": [         {             "code": 1014,             "title": "Internal error",             "details": "Connection refused. Please check if wacore is running: wacore:6251"         }     ] } 

However, my wacore container is indeed running:

Docker Container Image

P.S: Some questions already posted here with similar titles don't solve my issue.

I recently started using the new Whatsapp Cloud API. Unfortunately already the sample request in the first steps guide gives an error message. The request to the messages endpoint gives the following response:

{   "error": {     "message": "An unknown error occurred",     "type": "OAuthException",     "code": 1,     "error_subcode": 2593006,     "is_transient": false,     "error_user_title": "Account Not Exist",     "error_user_msg": "Account does not exist in Facebook Hosted API, please use /register API to create an account first.",     "fbtrace_id": "AX1Thf9OPBhmj7NlDV6-5IA "   } } 

I am still using the Test WhatsApp Business Account with a Test Number. When calling the register endpoint I get You can’t complete the setup process because your business doesn’t meet WhatsApp’s policy requirements. If you think this is incorrect, reach out to Meta Business Suite support for help.

Does anyone have an idea, what the problem is?

Thank you in advance,

Sören