• Hello,
    I’ve set up the S3 Amazon CDN – not the cloudfront. I’m using custom capabilities, I found this post, maybe I’m still misunderstanding.
    http://www.s2member.com/forums/topic/amazon-s3-directory-structure/
    I’ve named my bucket the same ccap directory…and used put the bucket name within the s2 set up in admin.
    When I test a file, I’m getting this:
    <Error>
    NoSuchKey
    <Message>The specified key does not exist.</Message>
    <Key>
    access-s2member-ccap-audios/myfile.zip
    </Key>

    Does this mean my bucket is wrong or the key I set up for the user?

    Thanks for any help, Theresa

    https://ww.wp.xz.cn/plugins/s2member/

Viewing 3 replies - 1 through 3 (of 3 total)
  • I haven’t used S3 with s2, so this is just a guess, but don’t you need to start your bucket name with a /?

    Thread Starter Theresap

    (@theresap)

    Well, S3 won’t let you put / in the bucket name. For S2, the example was ‘mybucket’ and didn’t use the slashes. I just tried putting one in and got a signature error and a long line of double urls…almost like it wants a complete path to the bucket…?
    I don’t get it. I’ve watched the tutorial a few times over, I don’t see what I’m missing. I even tried deleting the s2member-files within the url to the product, and that produced a not found page.

    Thread Starter Theresap

    (@theresap)

    I got it! I’ll answer my own post here in case it may be useful to someone.
    I had my file name wrong. I have always linked to my ccap folder with a direct path to that folder – wp-content/plugins/s2member-files/ccapfolder/myfile.zip

    I changed my links to http://mydomain.com/?s2member_file_download=myfile.zip like the video and all works 🙂
    I also noticed that S3 Amazon reads a space differently, so file names with spaces needed to be changed to a true – or something or the download gave a big key error.

    Theresa

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘S3 Amazon Key Error’ is closed to new replies.