Closed elmor34 closed 10 years ago
Use a different bucket name
Sent from my iPhone
On Jul 3, 2014, at 1:58 PM, Gokhan notifications@github.com wrote:
Hi, Whatever I do, I get POST https://mybucket.s3.amazonaws.com/ 403 (Forbidden)
everyone upload / delete is ok. aws credentials are ok. cors config is ok.
Then why ist not working ? Any idea ? regards Gokhan
— Reply to this email directly or view it on GitHub.
This is what I get as retrun message : AccessDeniedInvalid according to Policy: Policy Condition failed: ["starts-with", "$key", "s3UploadExample/"]6D422AD90F33B9E4LG9bI/8cLuxjPNbVNLZb3Nr/fhariDL+DnnjP/5/hr4JploDghSEfRCGn1ukbrLZ
The file you are uploading Make sure the key starts with s3UploadExample/
The key starts with condition is failing
Sent from my iPhone
On Jul 3, 2014, at 3:43 PM, Gokhan notifications@github.com wrote:
s3UploadExample/
another bucket, but still the same : AccessDeniedInvalid according to Policy: Policy Condition failed: ["starts-with", "$key", "s3UploadExample/"]7CFEE4F44B762D20x40ozstvhs9gRPHS5bF3/JHrbNNnI4Y+TkrU8ni+WtXkbd7mQK3AB7IWdxtDn3Ww
Thanks for prompt response.....
key comes from nodejs, how can ı add it(s3UploadExample/)?
lets take it from the top
Did you follow the instructions exactly from the README? What all did you modify in the project?
only changed below, rest is from your project.
Did not add bucket policy... -------------- 1 ------------------ cors config is ok. - from your sample <?xml version="1.0" encoding="UTF-8"?>
----------- 2 --------- everyone upload / delete is ok. as below : ----------- 3 ------------
aws.json : { "accessKeyId": "AKIEIJHRN4VL4AIFFGYQ", "secretAccessKey": "I+W3rC5fSX3NUywdQcydKC4qU6zVoCK4ML3yHvMU", "region": "eu-west-1", "bucket": "ekobipictures" } regards...
I was using ng-upload with express 3.*, but it stoppend working on the nodejs saying that file size is null (although it is not) on s3bucket.putObject.
So I try your way. Something is getting strange today.
Are you still having trouble ?
no hope... any idea?
On Mon, Jul 7, 2014 at 12:55 PM, Nukul Bhasin notifications@github.com wrote:
Are you still having trouble ?
— Reply to this email directly or view it on GitHub https://github.com/hubba/s3-angular-file-upload/issues/6#issuecomment-48159971 .
Gokhan AYKAN
with your creds I managed to reproduce it, I am looking into it now.
alright found the issue.
Basically I changed the angular-file-upload version and now it works fine. Be sure to remove your app/bower_components folder and run bower install again.
The fix is in master now so you can pull it down.
Thanks, I 'll try tonight and let you know. Too many meetings today. In my local system, bower is latest, but i done in remote server white is old. Thanks again. Regards form istanbul. Gokhan 8 Tem 2014 14:01 tarihinde "Nukul Bhasin" notifications@github.com yazdı:
with your creds I managed to reproduce it, I am looking into it now.
— Reply to this email directly or view it on GitHub https://github.com/hubba/s3-angular-file-upload/issues/6#issuecomment-48322633 .
Hi, Whatever I do, I get POST https://mybucket.s3.amazonaws.com/ 403 (Forbidden)
everyone upload / delete is ok. aws credentials are ok. cors config is ok.
Then why ist not working ? Any idea ? regards Gokhan