I have the same problem, does somebody have an answer ? (seem to be S3 limitation)
<?xml version="1.0" encoding="UTF-8"?> <Error> <Code>EntityTooLarge</Code> <Message>Your proposed upload exceeds the maximum allowed size</Message> <ProposedSize>20975508</ProposedSize> <MaxSizeAllowed>20971520</MaxSizeAllowed> <RequestId>N5FTYTNP6MPP1VB9</RequestId> <HostId>Nlu1xkUPTWKP345Uma79b2hQzFzqDJ3fBrZN7g1iM552PHuf0uif/gM4Cqg3UxXp7KVi+b5AIvI=</HostId> </Error>
I ended up rotating files when writing the mutation data (think log rotation, with each file having 20mb max), then chain upload the files. Upload first file. Wait for Webhook. When Webhook comes, respond and upload the next file and so on.