Title: [Plugin: Amazon S3 Uploads] Specified key doesn&#039;t work&#8230;
Last modified: August 20, 2016

---

# [Plugin: Amazon S3 Uploads] Specified key doesn't work…

 *  Resolved [Clifford Paulick](https://wordpress.org/support/users/cliffpaulick/)
 * (@cliffpaulick)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-amazon-s3-uploads-specified-key-doesnt-work/)
 * This image: [http://tourkick.com/wp-content/uploads/2010/10/01+bobbyGREY-1197421381-O-277×300.jpg](http://tourkick.com/wp-content/uploads/2010/10/01+bobbyGREY-1197421381-O-277×300.jpg)
 * Goes here: [http://tourkick-uploads-8624c237.s3.amazonaws.com/2010/10/01+bobbyGREY-1197421381-O-277×300.jpg](http://tourkick-uploads-8624c237.s3.amazonaws.com/2010/10/01+bobbyGREY-1197421381-O-277×300.jpg)
 * And throws this error:
 * > NoSuchKeyThe specified key does not exist.2010/10/01 bobbyGREY-1197421381-O-
   > 277×300.jpg883……GR/7Xs……Te/4……9IS/Vj……7ppcqk
 * (I replaced text with … to shorten it.)
 * What’s up?
 * [http://wordpress.org/extend/plugins/amazon-s3-uploads/](http://wordpress.org/extend/plugins/amazon-s3-uploads/)

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

 *  [The API Guys](https://wordpress.org/support/users/pbarthmaier/)
 * (@pbarthmaier)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-amazon-s3-uploads-specified-key-doesnt-work/#post-2531555)
 * Similar problem for me, but the plugin seems to work on my root site of Multisite.
   On a subdomain, I’m getting:
 * >  Warning: S3::listBuckets(): [InvalidAccessKeyId] The AWS Access Key Id you
   > provided does not exist in our records. in /public_html/mydomain.com/wp-content/
   > plugins/amazon-s3-uploads/tpyo-amazon-s3-php-class/S3.php on line 222
   > Warning: in_array() [function.in-array]: Wrong datatype for second argument
   > in public_html/mydomain.com/wp-content/plugins/amazon-s3-uploads/asssu-models.
   > php on line 244
   > Warning: S3::getBucketLocation(): [InvalidAccessKeyId] The AWS Access Key Id
   > you provided does not exist in our records. in /public_html/mydomain.com/wp-
   > content/plugins/amazon-s3-uploads/tpyo-amazon-s3-php-class/S3.php on line 222
 * Is this a path issue? If so, where would I go to specify?
 *  Plugin Author [atvdev](https://wordpress.org/support/users/atvdev/)
 * (@atvdev)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-amazon-s3-uploads-specified-key-doesnt-work/#post-2531701)
 * I searched the net and the ‘key’ means file. So the problem is that a file is
   uploaded to S3 and the name on S3 is different from that in the wp db.
 * At first I thought it is because of the space used in your filename, but I try
   putting manually a file to S3 with a space in it and it works normally with %
   20 or + replacing the space in url.
    After I tried using wp to upload a file 
   with space in it, but wp changed the space with – and again the file uploaded
   to S3 normally and worked ok.
 * So if you, can please look in your S3 folder for that file, or similar filename
   and tell me if you find something.
 *  Thread Starter [Clifford Paulick](https://wordpress.org/support/users/cliffpaulick/)
 * (@cliffpaulick)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-amazon-s3-uploads-specified-key-doesnt-work/#post-2531707)
 * AWS S3 screenshot: [http://ScrnSht.com/ctjgwi](http://ScrnSht.com/ctjgwi)
 * Here’s the S3 link, per S3: [https://s3.amazonaws.com/tourkick-uploads-8624c237/2010/10/01%2BbobbyGREY-1197421381-O-277×300.jpg](https://s3.amazonaws.com/tourkick-uploads-8624c237/2010/10/01%2BbobbyGREY-1197421381-O-277x300.jpg)
 * So the “+” needed to be converted to “%2B” in order for the URL to work.
 * Reference: [http://www.w3schools.com/tags/ref_urlencode.asp](http://www.w3schools.com/tags/ref_urlencode.asp)
 *  Plugin Author [atvdev](https://wordpress.org/support/users/atvdev/)
 * (@atvdev)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-amazon-s3-uploads-specified-key-doesnt-work/#post-2531717)
 * Plugin updated!
 * That was tough one. WP uploads your file leaving + as is. But for a request +
   in url is translated to ‘space’, so I think WP should by default replace + to–
   in filenames.
 * Anyway, in 1.09 I change + to – before the upload to S3. Also if a file with 
   + is requested, the plugin fixes it to – in the Amazon and in wp db.
 * Any solution with %2B didn’t work as htaccess dont uderstand the difference between%
   2B and +
 *  Thread Starter [Clifford Paulick](https://wordpress.org/support/users/cliffpaulick/)
 * (@cliffpaulick)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-amazon-s3-uploads-specified-key-doesnt-work/#post-2531718)
 * Same image url: [http://tourkick.com/wp-content/uploads/2010/10/01+bobbyGREY-1197421381-O-277×300.jpg](http://tourkick.com/wp-content/uploads/2010/10/01+bobbyGREY-1197421381-O-277x300.jpg)
   
   now works and goes here: [http://tourkick-uploads-8624c237.s3.amazonaws.com/2010/10/01-bobbyGREY-1197421381-O-277×300.jpg](http://tourkick-uploads-8624c237.s3.amazonaws.com/2010/10/01-bobbyGREY-1197421381-O-277x300.jpg)
 * Now the image works on the page.
 * Thank you.
 *  [mozakdesign](https://wordpress.org/support/users/mozakdesign/)
 * (@mozakdesign)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-amazon-s3-uploads-specified-key-doesnt-work/#post-2531929)
 * Hi – I’m getting the following error across the top of my screen
 *     ```
       Warning: S3::listBuckets(): [SignatureDoesNotMatch] The request signature we calculated does not match the signature you provided. Check your key and signing method. in /home/mozakweb/public_html/install/wp-content/plugins/amazon-s3-uploads/tpyo-amazon-s3-php-class/S3.php on line 222
   
       Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/mozakweb/public_html/install/wp-content/plugins/amazon-s3-uploads/asssu-models.php on line 276
   
       Warning: S3::getBucketLocation(content.mozakdesign.com): [SignatureDoesNotMatch] The request signature we calculated does not match the signature you provided. Check your key and signing method. in /home/mozakweb/public_html/install/wp-content/plugins/amazon-s3-uploads/tpyo-amazon-s3-php-class/S3.php on line 222
       ```
   
 *  Thread Starter [Clifford Paulick](https://wordpress.org/support/users/cliffpaulick/)
 * (@cliffpaulick)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-amazon-s3-uploads-specified-key-doesnt-work/#post-2531930)
 * [@mozakdesign](https://wordpress.org/support/users/mozakdesign/) – I’m sorry 
   to say, but I don’t think the plugin developer is around anymore. We haven’t 
   heard from him in months… It’s a shame, this was the best S3 plugin around! Maybe
   try _[ link removed ]_ if you really need quick help.

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

The topic ‘[Plugin: Amazon S3 Uploads] Specified key doesn't work…’ is closed to
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/amazon-s3-uploads.svg)
 * [Amazon S3 Uploads](https://wordpress.org/plugins/amazon-s3-uploads/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amazon-s3-uploads/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amazon-s3-uploads/)
 * [Active Topics](https://wordpress.org/support/plugin/amazon-s3-uploads/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amazon-s3-uploads/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amazon-s3-uploads/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [Clifford Paulick](https://wordpress.org/support/users/cliffpaulick/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-amazon-s3-uploads-specified-key-doesnt-work/#post-2531930)
 * Status: resolved