aws-mobile-appsync-sdk-ios icon indicating copy to clipboard operation
aws-mobile-appsync-sdk-ios copied to clipboard

Unable to upload s3 file without adding "public/" at the beginning of key argument of the S3ObjectInput

Open freshtechs opened this issue 5 years ago • 0 comments

When using complex objects as method to upload files to S3, If I don't add public/ before the desired file name the mutation will fail silently without warning the user that there was a key error.

I thing that when you use transferUtility results in a 403 unauthorized response.

If that's how S3 works why don't raise an error and allow the dev to correct it.

Environment:

  • AppSync SDK Version: 2.12.1
  • Dependency Manager: Cocoapods
  • Swift Version : 5.0

Device Information:

  • Device: iPhoneXR, Simulator
  • iOS Version: iOS 12.1

freshtechs avatar May 20 '19 02:05 freshtechs