Aws-sdk-ios: AWSS3TransferManager uploadTask returning AWSServiceErrorDomain Error 11.

Created on 9 Jan 2018  路  9Comments  路  Source: aws-amplify/aws-sdk-ios

I added AWSS3 2.6.2 using CocoaPods into my Swift project.

when i use AWSS3TransferManager.default().upload(....

i get error like

**Returning ENOTCONN because protocol has not yet been set up

Error: Error Domain=com.amazonaws.AWSServiceErrorDomain Code=11 "(null)" UserInfo={HostId=qqsnZwwKIe+SwNvRXnTG26ubeGHY04c1EzizozdAMKZLwZjJbcfnSgsfAeEbroNrURu7JNaKjSI=, Message=Access Denied, Code=AccessDenied, RequestId=96AEE3753C6E9190}

The operation couldn鈥檛 be completed. (com.amazonaws.AWSServiceErrorDomain error 11.)**

The upload request is

}
ACL = 2;
body = "file:///var/mobile/Containers/Data/Application/E62A87F3-9626-4C73-A9A7-A0FC18334CFE/Documents/customerSelfee_1515501685676.jpeg";
bucket = "xxx.xxxxxxxx.com";
contentType = "image/jpeg";
currentUploadingPartNumber = 0;
key = "95248/doc/b2c/customerSelfee_1515501685676.jpeg";
requestPayer = 0;
serverSideEncryption = 0;
state = 0;
storageClass = 0;
totalSuccessfullySentPartsDataLength = 0;
}

s3

Most helpful comment

why was this issue closed? I'm getting the same error

All 9 comments

I am facing the same issue can you tell me how did you fix it?

I am facing the same issue can you tell me how did you fix it?

I am getting the same error.

why was this issue closed? I'm getting the same error

The owner closed it, open a new one

Any updates on this issue?

it's in the year 2020 and I'm proud to say that I'm facing the same issue.

It's 16.02.2020 and I'm having the same problem

AWSS3TransferManager is deprecated since 2.8.0. Please use AWSS3TransferUtility instead.

Also, if you're working on a non-production project, or if your project is not time-sensitive, you can investigate the Amplify Storage Preview we announced in December.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fs-bonlook picture fs-bonlook  路  3Comments

ChrisInspect picture ChrisInspect  路  4Comments

kshrikant picture kshrikant  路  4Comments

pawlowskialex picture pawlowskialex  路  4Comments

anbarasu0504 picture anbarasu0504  路  3Comments