I’m having a problem uploading to s3 aws. I configured everything according to the tutorial and I’m having a message: “Server responded with code 0.”
Can someone help me? thank you so much!
my bucket access:
{
“Version”: “2012-10-17”,
“Id”: “http referer policy example”,
“Statement”: [
{
“Sid”: “”,
“Effect”: “Allow”,
“Principal”: {
“AWS”: “arn:aws:iam::713387987884:role/Cognito_pagewapUnauth_Role”
},
“Action”: “s3:",
“Resource”: "arn:aws:s3:::pagewap/”
},
{
“Sid”: “”,
“Effect”: “Allow”,
“Principal”: {
“AWS”: “"
},
“Action”: [
“s3:DeleteObject”,
“s3:GetObject”,
“s3:PutObject”
],
“Resource”: "arn:aws:s3:::pagewap/”
}
]
}
iam:
{
“Version”: “2012-10-17”,
“Statement”: [
{
“Effect”: “Allow”,
“Action”: [
“cognito-sync:",
"cognito-identity:”,
“S3:"
],
“Resource”: [
"”
]
}
]
}
image.png