WhatsApp error 131051: unsupported message type
Error 131051 means the message type being sent is not supported. Sometimes that is a malformed type value, but on a Coexistence number it more often means the type is one the platform does not permit on that kind of connection.
Meta's code for an unsupported message type.
Group chats reachable through the API on a Coexistence number.
WhatsApp features disabled on a number once Coexistence is active.
Two different causes
The first is ordinary: a type value that is misspelled or not one the API defines. Reading the endpoint reference resolves it in a minute.\n\nThe second is structural and catches people out, because the code is identical. A Coexistence number cannot do everything an ordinary Cloud API number can, and attempting one of those things returns this rather than a clearer message. Disappearing messages, view once media, live location and broadcast lists are switched off on a connected number, and group chats are outside the API entirely.
How to tell which one you have
By what you were trying to send.
- A type the API defines and you have sent before: a formatting mistake, so compare the payload.
- Anything addressed to a group: structural, and no provider can enable it.
- Live location, view once or a disappearing message: structural on a Coexistence number.
- A brand new type you have not sent before: check it is available on your account and in your region.
Common mistakes
- Building around group chats. They are excluded from the API on every provider.
- Assuming a provider can enable a disabled type. These are platform level.
- Retrying. Neither cause is transient.
EasyCoexistence connects a number through Meta's own Coexistence flow, so what is available is what Meta makes available, with nothing added or removed by us.
Frequently asked questions
Can I send to a group?
No. Group chats are outside the API on a Coexistence number, on every provider.
Why is live location unsupported?
It is one of the features switched off on a number once Coexistence is active.
Is this fixable?
If the cause is a malformed type, yes. If it is a platform limit, no.
Does it affect receiving?
No. This error concerns sending a type that is not permitted.
Keep reading
Ready to get started?
Set up WhatsApp Coexistence in minutes, not months. The app keeps working on the phone.
Start Free TrialVerified on