{"action":"created","issue":{"url":"https://api.github.com/repos/aws/aws-sdk-net/issues/484","repository_url":"https://api.github.com/repos/aws/aws-sdk-net","labels_url":"https://api.github.com/repos/aws/aws-sdk-net/issues/484/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-sdk-net/issues/484/comments","events_url":"https://api.github.com/repos/aws/aws-sdk-net/issues/484/events","html_url":"https://github.com/aws/aws-sdk-net/issues/484","id":187099660,"node_id":"MDU6SXNzdWUxODcwOTk2NjA=","number":484,"title":"AWS S3 upload object HttpErrorResponseException ","user":{"login":"McTomas","id":6152746,"node_id":"MDQ6VXNlcjYxNTI3NDY=","avatar_url":"https://avatars0.githubusercontent.com/u/6152746?v=4","gravatar_id":"","url":"https://api.github.com/users/McTomas","html_url":"https://github.com/McTomas","followers_url":"https://api.github.com/users/McTomas/followers","following_url":"https://api.github.com/users/McTomas/following{/other_user}","gists_url":"https://api.github.com/users/McTomas/gists{/gist_id}","starred_url":"https://api.github.com/users/McTomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/McTomas/subscriptions","organizations_url":"https://api.github.com/users/McTomas/orgs","repos_url":"https://api.github.com/users/McTomas/repos","events_url":"https://api.github.com/users/McTomas/events{/privacy}","received_events_url":"https://api.github.com/users/McTomas/received_events","type":"User","site_admin":false},"labels":[{"id":330382049,"node_id":"MDU6TGFiZWwzMzAzODIwNDk=","url":"https://api.github.com/repos/aws/aws-sdk-net/labels/Unity","name":"Unity","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2016-11-03T15:44:55Z","updated_at":"2018-10-15T15:41:28Z","closed_at":null,"author_association":"NONE","body":"I'm trying to upload my assets to an S3 bucket but AWS keeps getting an HttpErrorResponseException exception.\r\nI'm testing the S3Example in the editor with only one difference, instead of using CognitoAWSCredentials I'm using _credentials = new BasicAWSCredentials(awsKey, awsSecretKey);\r\n\r\nIs there a way to upload a file to S3 with Unity? Or is it not supported at the time?\r\n\r\nUsing Unity 5.4.2f & aws-sdk-unity_3.3.14.1 plugin\r\n\r\nStack Trace error:\r\n```\r\nreceieved error Amazon.Runtime.Internal.HttpErrorResponseException: Exception of type 'Amazon.Runtime.Internal.HttpErrorResponseException' was thrown.\r\n  at Amazon.Runtime.Internal.UnityWwwRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 \r\n  at Amazon.S3.AmazonS3Client.ProcessPostResponse (IAsyncResult result) [0x00000] in <filename unknown>:0 \r\nUnityEngine.Debug:Log(Object)\r\nAWSSDK.Examples.S3Example:<PostObject>m__7(AmazonServiceResult`2) (at Assets/Examples/S3Example.cs:175)\r\nAmazon.S3.<>c__DisplayClass4_0:<PostObjectAsync>b__0(AmazonWebServiceRequest, AmazonWebServiceResponse, Exception, AsyncOptions)\r\nAmazon.Runtime.Internal.UnityMainThreadDispatcher:ProcessRequests()\r\nAmazon.Runtime.Internal.UnityMainThreadDispatcher:Update()\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/aws/aws-sdk-net/issues/comments/429905923","html_url":"https://github.com/aws/aws-sdk-net/issues/484#issuecomment-429905923","issue_url":"https://api.github.com/repos/aws/aws-sdk-net/issues/484","id":429905923,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTkwNTkyMw==","user":{"login":"IsmaelNascimento","id":19227867,"node_id":"MDQ6VXNlcjE5MjI3ODY3","avatar_url":"https://avatars2.githubusercontent.com/u/19227867?v=4","gravatar_id":"","url":"https://api.github.com/users/IsmaelNascimento","html_url":"https://github.com/IsmaelNascimento","followers_url":"https://api.github.com/users/IsmaelNascimento/followers","following_url":"https://api.github.com/users/IsmaelNascimento/following{/other_user}","gists_url":"https://api.github.com/users/IsmaelNascimento/gists{/gist_id}","starred_url":"https://api.github.com/users/IsmaelNascimento/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IsmaelNascimento/subscriptions","organizations_url":"https://api.github.com/users/IsmaelNascimento/orgs","repos_url":"https://api.github.com/users/IsmaelNascimento/repos","events_url":"https://api.github.com/users/IsmaelNascimento/events{/privacy}","received_events_url":"https://api.github.com/users/IsmaelNascimento/received_events","type":"User","site_admin":false},"created_at":"2018-10-15T15:41:28Z","updated_at":"2018-10-15T15:41:28Z","author_association":"NONE","body":"> GOT IT!\r\n> **\"Resource\": \"arn:aws:s3:::bucketName/*\"**\r\n> \r\n> I was missing the `/*` at the end of the resource path in the access policy. That allowed the Put request, but broke the List Objects request, though, so I guess I have a few things to learn about getting the policies right.\r\n\r\nVery Good ! Thank you"}}
{"actor":{"display_login":"IsmaelNascimento"}}