Hi!!!
I am trying to upload and download files from s3 bucket but it’s showing me this error:
Here is my configuration of my workflow:
CORS of AWS :[
{
“AllowedHeaders”: [
“"
],
“AllowedMethods”: [
“PUT”,
“POST”,
“DELETE”,
“GET”,
“HEAD”
],
“AllowedOrigins”: [
"”
],
“ExposeHeaders”: [
“Access-Control-Allow-Origin”,
“x-amz-server-side-encryption”,
“x-amz-request-id”,
“x-amz-id-2”
],
“MaxAgeSeconds”: 3000
}
]
Buckect Policy of AWS:
{
“Version”: “2012-10-17”,
“Statement”: [
{
“Effect”: “Allow”,
“Principal”: “",
“Action”: [
“s3:GetObject”,
“s3:PutObject”
],
“Resource”: "arn:aws:s3:::”
}
]
}
Please help me with the issue.