Web Messaging SDK file upload MIME limits

Hey folks,

Trying to get customers to upload PDFs via the Genesys Cloud Web Messaging SDK. The sendFile method seems to reject anything above 5MB or non-image MIME types with a silent failure.

  • Using SDK version 2.3.1
  • Tested with application/pdf and image/png
  • Console shows no explicit error, just no message appears in the transcript

Is there a config I’m missing to allow larger files or different types? Here’s the snippet I’m using:

guest.sendFile(file, {
 name: file.name,
 size: file.size,
 mimeType: file.type
});