Web Messaging SDK file upload 415 Unsupported Media Type

Getting a 415 Unsupported Media Type when customers try to upload PNGs via the Android Web Messaging SDK. The docs say image/png is fine, but the onFileUpload callback throws immediately. We’re using Sdk.instance().getWebMessaging() with standard config. Is there a hidden MIME whitelist in the WebMessagingConfig object? Here’s the error log snippet showing the rejection on the first byte.

Try stripping the multipart/form-data wrapper before sending. The SDK expects a raw binary stream or a base64 string, not a multipart request.

const payload = await file.arrayBuffer();
await WebMessaging.uploadFile(payload, { contentType: 'image/png' });

The 415 error usually means the backend parser choked on the multipart boundary headers.