Title: S3 Amazon Key Error
Last modified: August 24, 2016

---

# S3 Amazon Key Error

 *  [Theresap](https://wordpress.org/support/users/theresap/)
 * (@theresap)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/s3-amazon-key-error/)
 * 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/](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://wordpress.org/plugins/s2member/](https://wordpress.org/plugins/s2member/)

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

 *  [KTS915](https://wordpress.org/support/users/kts915/)
 * (@kts915)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/s3-amazon-key-error/#post-6072801)
 * 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](https://wordpress.org/support/users/theresap/)
 * (@theresap)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/s3-amazon-key-error/#post-6072820)
 * 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](https://wordpress.org/support/users/theresap/)
 * (@theresap)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/s3-amazon-key-error/#post-6072997)
 * 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](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.

 * ![](https://ps.w.org/s2member/assets/icon-256x256.png?rev=980067)
 * [s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions](https://wordpress.org/plugins/s2member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/s2member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/s2member/)
 * [Active Topics](https://wordpress.org/support/plugin/s2member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/s2member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/s2member/reviews/)

## Tags

 * [s3 amazon](https://wordpress.org/support/topic-tag/s3-amazon/)

 * 3 replies
 * 2 participants
 * Last reply from: [Theresap](https://wordpress.org/support/users/theresap/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/s3-amazon-key-error/#post-6072997)
 * Status: not resolved