Intermittent WhatsApp media sending failure (Error 131053) while text messages work correctly #13517
-
|
Hello team, We are experiencing a recent issue when sending images through the WhatsApp Cloud API channel in Chatwoot. Environment Self-hosted installation on VPS (Docker) Official WhatsApp Cloud API Chatwoot running correctly for months No recent infrastructure changes before the issue started Problem Over the last few days, image sending started failing intermittently. Text messages are delivered correctly. Some images are delivered successfully. Other images fail with the following webhook error: The behavior is inconsistent: sometimes it works, sometimes it fails. Observations Server resources are stable (CPU and RAM normal). No configuration changes were made before the issue started. The failure seems to occur when WhatsApp attempts to download the media file. The issue started recently without apparent modifications on our side. Questions
Any guidance would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 17 comments 36 replies
-
|
I'm experiencing the same issue. Since I have control over the development process, I've tried using the media ID to send the file, but it's intermittent. It seems the problem is with the Hostinger "org": "AS47583 Hostinger International Limited" KVM 8 VPS server. My error: Downloading media from weblink failed with http code 429, status message Too Many Requests, ratelimit reason: Request ratelimit by fwdproxy. Details: [GlobalCountingRatelimiter] Request hit ratelimit policy 20----- client identity matcher .*, destination matcher asn_list: 47583 |
Beta Was this translation helpful? Give feedback.
-
|
same here while sending an audio in the web site it said 131053: Media upload error, it seems that the problem it's only in the web site since I was able to send them through the mobile app. |
Beta Was this translation helpful? Give feedback.
-
|
Same problem here, can't sent audio, imagem, files, sometimes work and others not... text is working fine. |
Beta Was this translation helpful? Give feedback.
-
|
I’m running into the exact same issue! I tested this on two Hostinger VPS plans (KVM1 and KVM4), and both triggered the same error. I was forced to migrate my media storage to a Cloudflare free solution; while that reduced the frequency, the error persists. To make matters worse, it’s no longer generating error logs, and I’m experiencing intermittent failures where media messages from certain contacts aren’t being received at all |
Beta Was this translation helpful? Give feedback.
-
|
I'm facing the same issue, I participate in a community where many other people are also experiencing the same problem. I've been using version 4.10.1 for a while and it was working without any issues. It started failing from Friday 2026-02-06. Yesterday, on 2026-02-11, it got worse. |
Beta Was this translation helpful? Give feedback.
-
|
Hostinger's response... apparently, I wasn't so crazy after all... Upon further investigation, it seems the main issue is that Meta/WhatsApp applies rate limits based on Hostinger's ASN (AS47583), so even new VPS deployments within the same ASN remain blocked. The solution is to deploy your VPS in a data center with a different ASN, which can bypass these restrictions. Important: Reinstalling your VPS in a new location will permanently delete all existing data, including backups and snapshots. To avoid losing important information, be sure to create and download a full backup via SFTP before proceeding. To reinstall your VPS in a new location... |
Beta Was this translation helpful? Give feedback.
-
|
Hello everyone, Thank you all for your comments and for confirming that I’m not the only one experiencing this issue. Based on the responses, it seems several of us are currently facing the same error, especially those hosted under Hostinger ASN (AS47583), with the ratelimit by fwdproxy message. I am currently in contact with Hostinger to see if they can provide any additional insight or support from the network side, as this appears to be related to how WhatsApp attempts to download media files. Migrating the entire infrastructure to another provider would be a major and complex decision, so before taking that step I want to validate whether this is specifically an ASN/network-level rate limiting issue. I will keep this thread updated with any relevant information I receive. Thanks again for sharing your findings. |
Beta Was this translation helpful? Give feedback.
-
|
Consegui uma alternativa gambiarra pra essa situação até termos uma solução oficial ou antes de fazer uma migração completa e complexa. A ideia é: quando o Chatwoot falhar no envio de mídia pro WhatsApp com “131053: Media upload error”, a gente intercepta o erro via webhook, faz o upload da mídia direto pela WhatsApp Cloud API e envia a mensagem “por fora”. No Chatwoot, fica só um registro interno avisando que foi reenviado. Como eu fiz (passo a passo)
Observações importantes (pra não dar dor de cabeça)
Se alguém quiser replicar, o básico é: Chatwoot Webhook (message.updated) → checa external_error 131053 → baixa data_url → upload mídia no WhatsApp → send message no WhatsApp → nota privada no Chatwoot. Espero que isso ajude alguns de vocês temporariamente. |
Beta Was this translation helpful? Give feedback.
-
|
What has been solved for me: I don't know if Hostinger could solve this problem itself; I've decided not to wait for that. Thanks for all! |
Beta Was this translation helpful? Give feedback.
-
|
Taking advantage of the comment above, I moved from Hostinger to a 1GB AWS server and yesterday there were almost 750 support requests without any reported problems. |
Beta Was this translation helpful? Give feedback.
-
|
✅ Como eu resolvi (sem migrar nada) Consegui resolver o problema aqui e vim compartilhar porque pode salvar alguém de migrar tudo à toa. Eu estava com o seguinte cenário:
Eu já estava quase pensando em migrar de VPS… O que realmente estava acontecendo: No WhatsApp Cloud, quando você manda um anexo, a Meta precisa baixar o arquivo a partir de uma URL gerada pelo Chatwoot. Se o Chatwoot está usando storage local (disco), ele gera URLs de download/redirect do próprio servidor. Dependendo do ambiente/rede/proxy/CDN/host (ex.: rate limiting, firewall/WAF, proxy/reverse proxy, etc.), essa URL pode ficar instável, demorar, falhar, ou não ser acessível “de fora” exatamente no momento em que a Meta tenta baixar. Resultado: texto vai, mas anexo falha/intermitente (parece bug aleatório). ✅ Como resolvi sem migrar nada Eu resolvi colocando o ActiveStorage do Chatwoot pra usar S3 (bucket). Basicamente, o objetivo é: Meta precisa baixar rápido → então o arquivo tem que estar num lugar que entregue rápido e de forma confiável → S3. Passo a passo (o que eu fiz) Criei/usei um bucket S3 e peguei: AWS_ACCESS_KEY_ID Configurei no Chatwoot e no chatwoot-sidekiq (env vars): ACTIVE_STORAGE_SERVICE=amazon Fazendo isso, o Chatwoot passa a servir os anexos via S3, e o WhatsApp Cloud consegue baixar o arquivo sem depender do ActiveStorage local da VPS. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
+1 |
Beta Was this translation helpful? Give feedback.
-
|
I was experiencing this issue with a Hostinger VPS. I only changed the MinIO endpoint in the Chatwoot stack to one hosted on Contabo, and that resolved the problem. |
Beta Was this translation helpful? Give feedback.
-
|
SOLVED: I'm sharing my experience. I work with a Laravel SAS application for sending mass messages, using a bot and AI through the official WhatsApp API connection. As I mentioned before, the dreaded code 429 appeared. After trying to capture the MEDIA_ID and using the Facebook URL, the error continued intermittently. After reviewing the issue and consulting with META support, it was determined that META was limiting ASN 47583 (Hostinger). When I spoke with Hostinger, their response was to buy another VPS. I had a KVM 8 with them, and migrating it only to have it fail again wasn't an option, given that META is applying control to the entire provider. So I decided to start the migration to an EC2 server, which was completed successfully. Upon starting testing, everything is working normally; there are no errors, and images are being sent as before without any backend adjustments. I'm sharing the responses: HOSTINGER - Upon review, it appears the main problem is that Meta/WhatsApp applies rate limits based on Hostinger's ASN (AS47583), so even new VPS deployments within the same ASN are still blocked. The solution is to deploy your VPS in a data center with a different ASN, which can bypass these restrictions. Important: Reinstalling your VPS in a new location will permanently delete all existing data, including backups and snapshots. To avoid losing important information, be sure to create and download a full backup via SFTP before proceeding. META: Thank you for reaching out and sharing the details of your issue. I have thoroughly investigated the error related and reviewed the logs. It appears that Error Code 429 has occurred multiple times recently. Upon further examination, I found that this error is due to a failure in downloading media from the provided URL, which is returning an HTTP code 418. To resolve this issue, please consider the following steps: Check Server Configuration: Ensure that the server hosting the media file is properly configured to handle requests. This includes verifying that the server is not experiencing any downtime or overload. Alternatively, you can upload the media directly to Meta's server and obtain a media ID. Using the media ID instead of the media URL might resolve the issue. Here is a detailed guideline on how to upload media: https://developers.facebook.com/docs/whatsapp/cloud-api/reference/media/#upload-media. |
Beta Was this translation helpful? Give feedback.
-
|
Hola, |
Beta Was this translation helpful? Give feedback.
-
|
I can confirm: I was having the same issues with media and severe delays on messaging delivery for the past few days. I had Chatwoot hosted in Hostinger VPS. |
Beta Was this translation helpful? Give feedback.







Consegui uma alternativa gambiarra pra essa situação até termos uma solução oficial ou antes de fazer uma migração completa e complexa.
A ideia é: quando o Chatwoot falhar no envio de mídia pro WhatsApp com “131053: Media upload error”, a gente intercepta o erro via webhook, faz o upload da mídia direto pela WhatsApp Cloud API e envia a mensagem “por fora”. No Chatwoot, fica só um registro interno avisando que foi reenviado.
Como eu fiz (passo a passo)
message.updated)