Stuck on the file upload flow for the Web Messaging Guest API. The org settings show a 10MB limit for file attachments, but the SDK client throws a 413 Payload Too Large when sending a 4.8MB PNG. Smaller files (under 2MB) work fine.
Here’s the upload sequence:
- Get the upload URL via
POST /api/v2/guests/fileuploadswith the file metadata. - Receive the
uploadUrlanduploadToken. - Perform
PUTto theuploadUrlwith the file body.
The PUT request fails with 413. Checked the headers; Content-Length matches the file size. No custom middleware blocking it.
- Genesys Cloud Web Messaging SDK v1.12.0
- Node.js 18 runtime for the backend proxy
- File: 4.8MB PNG,
image/png - Org Limit: 10MB
Is there a hidden header requirement or a specific timeout on the upload URL that causes this? The docs are silent on pre-signed URL constraints.