Access Denied using S3 upload function

I have a lambda function with the following policy { “Version”: “2012-10-17”, “Statement”: [ { “Action”: [ “s3:ListBucket” ], “Resource”: [ “arn:aws:s3:::my-bucket” ], “Effect”: “Allow” }, { “Action”: [ “s3:GetObject”, “s3:PutObject”, “s3:DeleteObject” ], “Resource”: [ “arn:aws:s3:::my-bucket/*” ], “Effect”: “Allow” } ] } I am calling the listObjectsV2 without problem but when I want to call…