Skip to main content
Check both the initial API response and later whatsapp.message.updated webhooks. Acceptance by YCloud or Meta does not confirm delivery. The tables below restore the documented error cases. They are not an exhaustive list of errors Meta can introduce. For current provider details, use Meta’s error reference.

YCloud failed to send messages

whatsappApiError in response body

You may get an error response body including the field error.whatsappApiError when you send WhatsApp messages by the YCloud API, typically the Send a WhatsApp message directly (POST /v2/whatsapp/messages/sendDirectly) API. Here is a sample error response with HTTP status 429 when you send too many messages to the same phone number:
In this case, we tried to request the WhatsApp Business API and got an error response. error.whatsappApiError is included to help you identify the error reason.

whatsappApiError in webhook payload

If you are using the Enqueue a WhatsApp message (POST /v2/whatsapp/messages) API, you will never get an error response having error.whatsappApiError since we submit your messages to the WhatsApp Business API asynchronously. You can get it by configuring a webhook listening for whatsapp.message.updated events. Here is an example of the webhook payload:

error codes returned by the WhatsApp Business API

The whatsappApiError is exactly the WhatsApp Business Cloud API Error. Listed below are some possible error codes that may be returned through the YCloud API.

error codes returned by the YCloud API

Be aware that error.whatsappApiError is not included when errors were detected by YCloud and we didn’t request the WhatsApp Business API. For example, you provide an invalid phone number and then get the error response:
The error.code is one of the YCloud server-defined error codes. Listed below are some possible error codes returned by the YCloud API:

YCloud error codes conveyed by webhooks

If you are using the Enqueue a WhatsApp message (POST /v2/whatsapp/messages) endpoint, the message may fail due to a YCloud error. That is, the whatsappMessage.errorCode in webhook payload can also convey one of the YCloud Error Codes, such as BALANCE_INSUFFICIENT. Here are some possible errors:

Meta failed to send messages

Not all of the error codes listed in the WhatsApp Business Cloud API Error page are returned through the YCloud API. Even if a message is successfully submitted to the WhatsApp Business API, it may also fail to send. Meta notifies YCloud about these errors via webhooks. You should Configure Webhooks listening for whatsapp.message.updated events to receive these notifications from YCloud. Here is an example of the webhook payload for submitted but finally failed messages:
The whatsappMessage.errorCode conveys the WhatsApp Business API Error code.

Meta error codes conveyed by webhooks

Listed below are some possible error codes conveyed by YCloud webhooks, that originated from Meta webhooks: