Open Tapasm1212 opened 3 years ago
Hello Everyone!
While I am uploading a file in S3 using this SDK I am getting an error
Failed to upload: 2 due to Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: ZSQFA0CRMX0HS872)
I am updating the SDK sample project code in these lines
void readEnv() async { poolId = "us-east-2:6d3ba221-d123-4506-824a-659d18ba3b62"; awsFolderPath = "1069/fy202122/rejected"; bucketName = "billupload"; }
I have created a user pool on the user pool role I have added a new policy to access the S3 files.
I am not able to get where was the problem in my app code or AWS setup if you guys have any idea then please help me out.
Thanks in Advance.
Hello Everyone!
While I am uploading a file in S3 using this SDK I am getting an error
Failed to upload: 2 due to Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: ZSQFA0CRMX0HS872)
I am updating the SDK sample project code in these lines
void readEnv() async { poolId = "us-east-2:6d3ba221-d123-4506-824a-659d18ba3b62"; awsFolderPath = "1069/fy202122/rejected"; bucketName = "billupload"; }
I have created a user pool on the user pool role I have added a new policy to access the S3 files.
I am not able to get where was the problem in my app code or AWS setup if you guys have any idea then please help me out.
Thanks in Advance.