[NOWEB] sendImage WebP accepted but absent on recipient mobile (visible on Web)
Describe the behavior
With WAHA NOWEB 2026.9.2, we sent offer images to WhatsApp groups via POST /api/sendImage using a public WebP URL, file.mimetype: image/webp, and a .webp filename. The API returned success and a message ID. A recipient could see the image and caption in WhatsApp Web, but the same recipient account did not see the message in WhatsApp on their phone.
We understand the WAHA documentation says to convert non-JPEG images to JPEG before sending. We are reporting the unexpected cross-device behavior after the API accepted the WebP request, and asking whether WAHA can detect or clearly warn about this case.
Version
- Docker image:
devlikeapro/waha:noweb-arm-2026.9.2 - Engine: NOWEB
- Endpoint:
POST /api/sendImage - Recipient: WhatsApp group
Request shape
{
"session": "<session>",
"chatId": "<group-id>@g.us",
"caption": "<offer text>",
"file": {
"mimetype": "image/webp",
"filename": "product.webp",
"url": "https://<public-host>/product.webp"
}
}
The source URL served a valid WebP image. We are omitting account, group, and production URL details from this public issue, but can provide sanitized logs or a sample file if useful.
Observed
- WAHA returned HTTP 201 and a message ID. We confirmed this in the recorded results for the affected offer.
- The recipient saw the image and caption in WhatsApp Web.
- The same recipient account did not see the message in WhatsApp on their phone.
- We converted the offer image to JPEG with FFmpeg and sent it as base64
file.data, withimage/jpegand a.jpgfilename. The recipient confirmed that this new message appeared on the phone.
The successful retest changed both the image format (WebP to JPEG) and the transport (file.url to file.data). Therefore we cannot yet isolate which change resolved the problem.
Expected / question
Could WAHA validate or warn when sendImage receives an image format that may be accepted by the API but fail to appear on recipient mobile clients? If WebP is intentionally accepted, is there a recommended way to detect this delivery failure? A prominent note in the sendImage endpoint docs about this possible symptom would also help.
We are not claiming that the media encoder is the proven root cause: the follow-up test changed both format and transport.
We understand the WAHA documentation says to convert non-JPEG images to JPEG before sending.
Follow the instructions in the documentation.
Ideally, a convert flag could be added for this purpose to the sendImage API (as well as to convert/image) — similar to how it is implemented for sendVoice/sendVideo. If you need this functionality, you can open a corresponding issue.