Open
Description
Hi,
I'm getting a 413 when trying to upload an image of 1.9 MB to S3Mock using a pre-signed URL.
When I try to upload the same photo using the aws-sdk it works fine.
But when I try to use the pre-signed URL I'm getting a 413.
Has anyone encountered this before?
Pre-signed URL was generated with the following arguments (using boto3 but the arguments should be the same as in Java):
presigned_post_info = client.generate_presigned_post(
Bucket=bucket_name,
Key=key,
Fields={"acl": acl, "Content-Type": "image/jpeg"},
Conditions=[
{"acl": acl},
{"success_action_status": "201"},
{"Content-Type": "image/jpeg"},
],
ExpiresIn=expires_in,
)
Metadata
Assignees
Labels
No labels