Stuck on implementing file attachments in our Vue 3 supervisor dashboard. The Genesys Cloud Web Messaging SDK seems to reject PDFs over 2MB without throwing a clear error, just hanging on the upload promise.
I am using the standard sendFile method from the guest API. Is there a specific configuration flag for accepted MIME types or a hard size limit I need to enforce client-side before triggering the upload?
Here is the snippet failing:
await messagingClient.sendFile(fileObj, { mimeType: 'application/pdf' });
Nothing logs to console. Any ideas?