Version: 2.4.0-rc2 (also tested on v2.3.7)
Description:
Calling POST /chat/getBase64FromMediaMessage/{instance} with an audioMessage
received from an iOS device returns a 400 error.
Error response:
{"status":400,"error":"Bad Request","response":{"message":["TypeError:
Cannot read properties of undefined (reading 'ephemeralMessage')"]}}
Message source: iOS (ptt: true, mimetype: audio/ogg; codecs=opus)
Steps to reproduce:
- Send a voice message from an iPhone to a WhatsApp instance
- Call POST /chat/getBase64FromMediaMessage/{instance} with the message object
- Error is returned regardless of which fields are included in the body
Expected behavior: Return base64 encoded audio for transcription
Workaround: None found. Direct download of the URL returns encrypted .enc file.
Version: 2.4.0-rc2 (also tested on v2.3.7)
Description:
Calling POST /chat/getBase64FromMediaMessage/{instance} with an audioMessage
received from an iOS device returns a 400 error.
Error response:
{"status":400,"error":"Bad Request","response":{"message":["TypeError:
Cannot read properties of undefined (reading 'ephemeralMessage')"]}}
Message source: iOS (ptt: true, mimetype: audio/ogg; codecs=opus)
Steps to reproduce:
Expected behavior: Return base64 encoded audio for transcription
Workaround: None found. Direct download of the URL returns encrypted .enc file.