Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › Amazon S3 – Not working and returns Access Denied
Tagged: amazon aws, Bucket Names, estore, file corrupted, S3
- This topic has 32 replies, 5 voices, and was last updated 11 years, 2 months ago by wzp.
March 4, 2012 at 10:12 pm #32592
Try this, as your product URI…
as3tp://firefootage.s3.amazonaws.com/fires/oxfordfireraw.movMarch 4, 2012 at 11:05 pm #32593
I used as3tp://firefootage.s3.amazonaws.com/fires/oxfordfireraw.mov
Now this is the error I’m getting:
<?xml version=”1.0″ encoding=”UTF-8″ ?>
<Message>The specified key does not exist.</Message>
</Error>March 5, 2012 at 12:40 am #32594
Carefully check your bucket for a folder called “fires” and an object called “oxfordfireraw.mov” making sure the product URI ***and*** the names used in your bucket do not contain any invisible characters. Especially be on the lookout for trailing spaces in the product URI.March 5, 2012 at 1:54 am #32595
I checked and do not see any invisible characters or spaces. I just highlighted the text of the folder/object. Is there a better way to check? This is getting frustrating…
Thanks,March 5, 2012 at 2:30 am #32596
You can always try manually retyping the URI (not copy/paste) into the Product URI field. Doing this will ensure the problem is not on the eStore end. The last error indicates there is a mismatch between what eStore is asking for, and what is really in your bucket.March 5, 2012 at 11:54 am #32597
I manually typed the Product URI and I’m getting the same error. Here is the link from AWS site:
As you can see, the bucket, folder and file are there. Why would it tell me there is a mismatch? The only thing I can think is that the file was renamed to remove spaces after it was loaded. Would that make a difference?March 5, 2012 at 1:03 pm #32598
For the Product URI in eStore, do you have *****EXACTLY***** the following…
Please note the position of the bucket name. Please, DO NOT copy & paste, retype it exactly as shown.March 26, 2012 at 7:27 pm #32599
Same Problem here and I’ve checked everything that you listed- here is what I have manually typed into the URL section:
as3tp://usedmybucketname.s3.amazonaws.com/MyFile.mp3 (I don’t use folders)
There are No caps in the bucket name- There are caps on the object (file name)
I can get around this by using the direct link to the file but this defeats the purpose.
Also, when the Downloadable box is checked the file size is listed as 3K and corrupted- however a direct link and download outside of WP-eStore works fine-March 26, 2012 at 10:58 pm #32600
Here is one of the errors
NoSuchKey<Message>The specified key does not exist.</Message><Key>Abundance+with+Theta+and+Isochronic.mp3</Key><RequestId>CAA126BF0355BD44</RequestId><HostId>aSwCVOoRcQJcUIjlq3U2nIHWnpFlBTmBTJYs306bwHeud43XNRhRY1rVE1J/RobZ</HostId></Error>March 26, 2012 at 11:29 pm #32601
Please complete my contact form at http://TheAssurer.com/contactMarch 27, 2012 at 4:14 pm #32602
The problem is with the object names used. All of your products THAT DO NOT CONTAIN spaces in their object names, work perfectly. All of your products THAT DO CONTAIN spaces in their object names, do not.
New Install – Everything works except getting "Requested File Not Found".
The Internet “rules” for how things are supposed to work, were written at various times, by different committees. The “rule” for how space characters get handled by URLs is disjointed and inconsistent. Just because the Amazon S3 Console “allows” you to upload objects with space characters in their names, doesn’t means that every program will be able to successfully access the object.
Bottom line: rename “all files with spaces” to “names-with-dashes_or_underscores_instead” and everything will work.March 27, 2012 at 4:37 pm #32603
Thank you for the unbelievably quick reply! Does this mean that the purchaser will now be able to download their MP3 without the browser “intercepting” the download and trying to play the file from within the browser? And, will this resolve the issue of purchasers being unable to download the file when I have the “download” option checked in the back-end?March 27, 2012 at 4:47 pm #32604
The file was able to be downloaded after I replaced the spaces, but the browser keeps trying to play the file?
Also, even though I do have the PayPal redirect setup so that purchases will be able to directly download the link, they are not being redirected after the purchase- I believe that the settings are correct as I am not receiving any type of error and the video was very clear, but something is not working right- can you take a look?
DonMarch 27, 2012 at 5:26 pm #32605
Update- I was able to get the thank you redirect to work- I input the information again- so that issue is resolvedMarch 27, 2012 at 7:30 pm #32606
What browser are you using? You may have “auto open” activated for some file types.
If you want to ensure that most browsers “force” a save-as, try zipping the MP3 file. Most browsers, for security reasons, won’t automatically open a ZIP file.
- You must be logged in to reply to this topic.