Quick question about importing screen recording assets via the Genesys Cloud CLI within a Terraform pipeline.
We are attempting to automate the deployment of training materials using the genesyscloud CLI. The process works fine for smaller MP4 files under 50MB, but consistently fails for files exceeding 200MB. The error occurs during the upload phase, before the resource is fully committed to the platform.
Here is the command being executed:
genesyscloud recording upload --file “training_module_v2.mp4” --description “Onboarding Part 1”
The error response received is:
Error: 422 Unprocessable Entity
Message: The request body is too large or contains invalid metadata for the specified resource type.
The file format is standard H.264 encoded MP4. Metadata extraction seems to be part of the validation step that triggers this failure. I have verified the file integrity using ffprobe and it reports no errors. The issue persists across multiple files of similar size, suggesting a hard limit or a timeout in the ingestion pipeline rather than a file-specific corruption issue.
The environment details are as follows:
- CLI Version: 2.3.1
- Provider Version: 1.48.2 (for reference, though CLI is direct here)
- Region: US1
- Network: Corporate proxy with SSL inspection disabled for Genesys endpoints
I have tried increasing the timeout values in the CLI configuration, but the 422 status code indicates the server rejected the payload rather than a client-side timeout. Is there a specific header or chunking mechanism required for large media uploads via CLI that is not documented in the standard usage examples? Or is there a known limitation on asset size for programmatic imports compared to the web UI?