Problem on saving on S3

Hi,
we’re having problems saving the render on our S3 bucket, even if it seems that we set alla the permissions as follows:

{
“Version”: “2012-10-17”,
“Statement”: [
{
“Sid”: “Statement1”,
“Effect”: “Allow”,
“Action”: [
“s3:PutObject”
],
“Resource”: [
“arn:aws:s3:::mybucketname/"
]
},
{
“Sid”: “Statement2”,
“Effect”: “Allow”,
“Action”: [
“s3:GetObject”,
“s3:PutObjectAcl”,
“s3:GetObjectAttributes”,
“s3:ListBucket”,
“s3:ListBucketMultipartUploads”,
“s3:AbortMultipartUpload”,
“s3:ListMultipartUploadParts”
],
“Resource”: [
"arn:aws:s3:::

]
}
]
}
We followed the guidelines that we found in other threads of the community and it seems compliant, but still, we see ‘Failed to copy file to S3.’ and besides, we don’t receive any error while calling the render API, so we cannot detect this failure.
Any ideas that could help us solving this saving problem? We have a go live this friday…

Thank you in advance,
Katia

Does the policy have wildcards in the resource like this:


And this:
image

They don’t show in your example above, but maybe they were stripped when you pasted it here.

If this is not the issue let us know and I’ll look elsewhere.

To get details for the transfer to S3 you can use the Serve API, the Edit API only returns details of the temporary file and render status. Have a look at the docs here: Manage Hosted Assets withe the Serve API | Shotstack Documentation