{"action":"closed","issue":{"url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/1005","labels_url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/1005/labels{/name}","comments_url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/1005/comments","events_url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/1005/events","html_url":"https://github.com/danialfarid/ng-file-upload/issues/1005","id":106475565,"number":1005,"title":"Works on localhost; invalid policy on production [ s3 ]","user":{"login":"iamaro","id":260895,"avatar_url":"https://avatars.githubusercontent.com/u/260895?v=3","gravatar_id":"","url":"https://api.github.com/users/iamaro","html_url":"https://github.com/iamaro","followers_url":"https://api.github.com/users/iamaro/followers","following_url":"https://api.github.com/users/iamaro/following{/other_user}","gists_url":"https://api.github.com/users/iamaro/gists{/gist_id}","starred_url":"https://api.github.com/users/iamaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamaro/subscriptions","organizations_url":"https://api.github.com/users/iamaro/orgs","repos_url":"https://api.github.com/users/iamaro/repos","events_url":"https://api.github.com/users/iamaro/events{/privacy}","received_events_url":"https://api.github.com/users/iamaro/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-15T04:26:25Z","updated_at":"2015-09-15T21:35:28Z","closed_at":"2015-09-15T21:35:28Z","body":"Anyone know what could be causing this?\r\n\r\nUploading works perfectly on my local, but on my heroku production enviornment uploads to s3 fail with the following error:\r\n\r\n<Error><Code>AccessDenied</Code><Message>Invalid according to Policy: Policy Condition failed: [\"starts-with\", \"$Content-Length\", \"\"]</Message>\r\n\r\nCan anyone help?\r\n\r\nThanks,\r\nClay"}}