Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Amazon S3 – Not working and returns Access Denied

by

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 13 years, 1 month ago by wzp.
Viewing 15 posts - 16 through 30 (of 33 total)
← 1 2 3 →
  • Author
    Posts
  • March 4, 2012 at 10:12 pm #32592
    wzp
    Moderator

    Try this, as your product URI…

    as3tp://firefootage.s3.amazonaws.com/fires/oxfordfireraw.mov

    March 4, 2012 at 11:05 pm #32593
    cindybou
    Member

    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″ ?>

    – <Error>

    NoSuchKey

    <Message>The specified key does not exist.</Message>

    <Key>fires/oxfordfireraw.mov</Key>

    <RequestId>BC210463049B37FC</RequestId>

    <HostId>DbU9ZLhb6B2BZEb+nS2pgg+jeDHHgiQoZn+c0KWIqpGz0KH2OHLYU3a+nXphSxIp</HostId>

    </Error>

    March 5, 2012 at 12:40 am #32594
    wzp
    Moderator

    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
    cindybou
    Member

    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
    wzp
    Moderator

    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
    cindybou
    Member

    I manually typed the Product URI and I’m getting the same error. Here is the link from AWS site:

    https://s3.amazonaws.com/firefootage/fires/oxfordfireraw.mov

    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
    wzp
    Moderator

    For the Product URI in eStore, do you have *****EXACTLY***** the following…

    as3tp://firefootage.s3.amazonaws.com/fires/oxfordfireraw.mov

    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
    rundaddy
    Member

    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
    rundaddy
    Member

    Here is one of the errors

    <Error>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
    wzp
    Moderator

    Please complete my contact form at http://TheAssurer.com/contact

    March 27, 2012 at 4:14 pm #32602
    wzp
    Moderator

    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
    rundaddy
    Member

    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
    rundaddy
    Member

    Follow-up …

    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?

    Thanks,

    Don

    March 27, 2012 at 5:26 pm #32605
    rundaddy
    Member

    Update- I was able to get the thank you redirect to work- I input the information again- so that issue is resolved

    March 27, 2012 at 7:30 pm #32606
    wzp
    Moderator

    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.

    https://support.tipsandtricks-hq.com/forums/topic/force-a-file-to-download-instead-of-showing-up-in-the-browser

  • Author
    Posts
Viewing 15 posts - 16 through 30 (of 33 total)
← 1 2 3 →
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ