Complete reference guide for troubleshooting WhatsApp Business API issues and implementing multi-language messaging
Comprehensive guide to troubleshooting WhatsApp Business API errors
Unable to deliver message. This error occurs when there are issues with the recipient's WhatsApp account or configuration.
Ask the user to confirm they can send messages to your WhatsApp business number using a non-WhatsApp communication method.
User should check Settings > Help or Settings > Application information to accept latest terms/policies.
Ensure the recipient updates to the latest version of WhatsApp client.
Review and adhere to per-user marketing template message limits.
This error occurs when there are issues with the request parameters or recipient configuration that prevent message delivery.
Using non-WhatsApp communication, ask user to confirm they can send messages to your business number.
Confirm your business number is not in their blocked list (Settings > Privacy > Blocked contacts).
User should accept latest Terms of Service in Settings > Help or Settings > Application information.
Ensure recipient updates to the latest version of WhatsApp client.
WhatsApp Business API supports multiple language codes for communication. These language codes are used to specify the language of the message content.
| Language | Code | Region |
|---|---|---|
| Afrikaans | af |
South Africa |
| Albanian | sq |
Albania |
| Arabic | ar |
Middle East |
| Azerbaijani | az |
Azerbaijan |
| Bengali | bn |
Bangladesh, India |
| Bulgarian | bg |
Bulgaria |
| Catalan | ca |
Spain |
| Simplified Chinese (Mainland China) | zh_CN |
China |
| Traditional Chinese (Hong Kong) | zh_HK |
Hong Kong |
| Traditional Chinese (Taiwan) | zh_TW |
Taiwan |
| Croatian | hr |
Croatia |
| Czech | cs |
Czech Republic |
| Danish | da |
Denmark |
| Dutch | nl |
Netherlands |
| English | en |
International |
| English (United Kingdom) | en_GB |
United Kingdom |
| English (United States) | en_US |
United States |
| Estonian | et |
Estonia |
| Filipino | fil |
Philippines |
| Finnish | fi |
Finland |
| French | fr |
France |
| German | de |
Germany |
| Greek | el |
Greece |
| Gujarati | gu |
India |
| Hausa | ha |
West Africa |
| Hebrew | he |
Israel |
| Hindi | hi |
India |
| Hungarian | hu |
Hungary |
| Indonesian | id |
Indonesia |
| Irish | ga |
Ireland |
| Italian | it |
Italy |
| Japanese | ja |
Japan |
| Kannada | kn |
India |
| Kazakh | kk |
Kazakhstan |
| Korean | ko |
Korea |
| Lao | lo |
Laos |
| Latvian | lv |
Latvia |
| Lithuanian | lt |
Lithuania |
| Macedonian | mk |
North Macedonia |
| Malay | ms |
Malaysia, Indonesia |
| Malayalam | ml |
India |
| Marathi | mr |
India |
| Norwegian | nb |
Norway |
| Persian | fa |
Iran |
| Polish | pl |
Poland |
| Portuguese (Brazil) | pt_BR |
Brazil |
| Portuguese (Portugal) | pt_PT |
Portugal |
| Punjabi | pa |
India, Pakistan |
| Romanian | ro |
Romania |
| Russian | ru |
Russia |
| Serbian | sr |
Serbia |
| Slovak | sk |
Slovakia |
| Slovenian | sl |
Slovenia |
| Spanish | es |
International |
| Spanish (Argentina) | es_AR |
Argentina |
| Spanish (Spain) | es_ES |
Spain |
| Spanish (Mexico) | es_MX |
Mexico |
| Swahili | sw |
East Africa |
| Swedish | sv |
Sweden |
| Tamil | ta |
India, Sri Lanka |
| Telugu | te |
India |
| Thai | th |
Thailand |
| Turkish | tr |
Turkey |
| Ukrainian | uk |
Ukraine |
| Urdu | ur |
Pakistan, India |
| Uzbek | uz |
Uzbekistan |
| Vietnamese | vi |
Vietnam |
| Zulu | zu |
South Africa |
How to use language codes and handle errors in your WABA implementation
Implement multi-language support in your WhatsApp Business API messages using the appropriate language codes.
{
"messaging_product": "whatsapp",
"to": "60123456789",
"type": "template",
"template": {
"name": "hello_world",
"language": {
"code": "ms"
},
"components": [...]
}
}
Implement proper error handling for common WABA error codes in your application.
try {
const response = await sendWhatsAppMessage(payload);
} catch (error) {
if (error.code === 131026) {
// Handle message undeliverable
handleUndeliverableMessage(error);
} else if (error.code === 400) {
// Handle bad request
handleBadRequest(error);
}
}
Our experts can help you implement WhatsApp Business API with proper error handling and multi-language support