Title: S3 Upload errors
Last modified: August 21, 2016

---

# S3 Upload errors

 *  Resolved [venu247](https://wordpress.org/support/users/venu247/)
 * (@venu247)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/s3-upload-errors/)
 * Hi David,
 * I have setup S3 uploads using updraft plus plugin. The S3 connection is working
   right – doesn’t show any issues when I press the ‘Test connection’ button.
 * But while uploading, only a few of zipped files are getting uploaded. I’m getting
   the following error:
 * S3 upload: getting uploadID for multipart upload failed – see log file for more
   details
    S3 upload: getting uploadID for multipart upload failed – see log file
   for more details S3 upload: getting uploadID for multipart upload failed – see
   log file for more details
 * Here’s some of the error section of the log:
 * 0671.343 (2) Cloud backup selection: s3
    0671.376 (2) Beginning dispatch of backup
   to remote (s3) 0671.482 (2) S3 upload (US): backup_2014-01-18-2103_StudioGenie__Mobile_Business_Ma_d5e81c9ea2d0-
   plugins.zip (chunks: 4) -> s3://studiogenie-net-website-backup/backup_2014-01-
   18-2103_StudioGenie__Mobile_Business_Ma_d5e81c9ea2d0-plugins.zip 0671.731 (2)
   PHP event: code E_NOTICE: Undefined property: stdClass::$body (line 2169, wp-
   content/plugins/updraftplus/includes/S3.php) 0671.747 (2) S3 upload: failed: 
   could not get uploadId for multipart upload (backup_2014-01-18-2103_StudioGenie__Mobile_Business_Ma_d5e81c9ea2d0-
   plugins.zip) 0671.758 (2) An error condition has occurred for the first time 
   during this job 0671.774 (2) S3 upload (US): backup_2014-01-18-2103_StudioGenie__Mobile_Business_Ma_d5e81c9ea2d0-
   themes.zip (chunks: 2) -> s3://studiogenie-net-website-backup/backup_2014-01-
   18-2103_StudioGenie__Mobile_Business_Ma_d5e81c9ea2d0-themes.zip 0672.018 (2) 
   PHP event: code E_NOTICE: Undefined property: stdClass::$body (line 2169, wp-
   content/plugins/updraftplus/includes/S3.php) 0672.030 (2) S3 upload: failed: 
   could not get uploadId for multipart upload (backup_2014-01-18-2103_StudioGenie__Mobile_Business_Ma_d5e81c9ea2d0-
   themes.zip) 0672.046 (2) S3 upload (US): backup_2014-01-18-2103_StudioGenie__Mobile_Business_Ma_d5e81c9ea2d0-
   uploads.zip (chunks: 10) -> s3://studiogenie-net-website-backup/backup_2014-01-
   18-2103_StudioGenie__Mobile_Business_Ma_d5e81c9ea2d0-uploads.zip 0672.274 (2)
   PHP event: code E_NOTICE: Undefined property: stdClass::$body (line 2169, wp-
   content/plugins/updraftplus/includes/S3.php) 0672.284 (2) S3 upload: failed: 
   could not get uploadId for multipart upload (backup_2014-01-18-2103_StudioGenie__Mobile_Business_Ma_d5e81c9ea2d0-
   uploads.zip) 0672.307 (2) Retain: beginning examination of existing backup sets;
   user setting: retain_files=10, retain_db=10 0672.322 (2) Number of backup sets
   in history: 7
 * Can you please look into it and let me know what’s going wrong?
 * Thanks,
    Venu
 * [http://wordpress.org/plugins/updraftplus/](http://wordpress.org/plugins/updraftplus/)

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

 *  Plugin Author [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * (@davidanderson)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/s3-upload-errors/#post-4517880)
 * Hi Venu,
 * What version of UpdraftPlus is that?
 * David
 *  Thread Starter [venu247](https://wordpress.org/support/users/venu247/)
 * (@venu247)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/s3-upload-errors/#post-4518021)
 * It’s Version 1.8.5
 *  Thread Starter [venu247](https://wordpress.org/support/users/venu247/)
 * (@venu247)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/s3-upload-errors/#post-4518022)
 * I’m using WordPress version 3.7.1 – if that helps.
 *  Plugin Author [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * (@davidanderson)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/s3-upload-errors/#post-4518149)
 * Hi Venu,
 * I think it’s going to be tricky to work out from here what the problem is. I 
   suspect that your website has some outgoing proxy which might be interfering.
   If you’re happy to send me FTP and WP login credentials (to contact at updraftplus
   dot com) then I can take a look. Or failing that, ask the people running your
   webserver to take a closer look, or if they won’t do that, ask them if they have
   an outgoing proxy.
 * Best wishes,
    David
 *  [lukeryan](https://wordpress.org/support/users/lukeryan/)
 * (@lukeryan)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/s3-upload-errors/#post-4518274)
 * Was any progress made on this? I have the same issue. (running on WebFaction).
 *  [franzvz](https://wordpress.org/support/users/franzvz/)
 * (@franzvz)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/s3-upload-errors/#post-4518276)
 * I also am having the same issue.
 * 0033.641 (0) PHP event: code E_NOTICE: Undefined property: stdClass::$body (line
   2169, wp-content/plugins/updraftplus/includes/S3.php)
 * The test connection to S3 is fine. Was working in the past just fine.
 *  Plugin Author [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * (@davidanderson)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/s3-upload-errors/#post-4518277)
 * Hi,
 * As per the WordPress forum guidelines, please don’t post to resolved threads;
   see: [http://codex.wordpress.org/Forum_Welcome#Where_To_Post](http://codex.wordpress.org/Forum_Welcome#Where_To_Post)
 * If you open a new thread, please indicate what you know, if anything, about any
   proxies between your web server and the Internet (best is to ask the server admins
   first).
 * Best wishes,
    David
 *  [allengeer](https://wordpress.org/support/users/allengeer/)
 * (@allengeer)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/s3-upload-errors/#post-4518292)
 * as per common sense, thread wasn’t resolved.
 * There is a bug in the code. Hop to that line 2170 and change
 *     ```
       else
            $this->response->body .= $data;
       ```
   
 * to
 *     ```
       else
           if (!isset($this->response->body)) $this->response->body =  $data;
           else $this->response->body .= $data;
       ```
   
 *  Plugin Author [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * (@davidanderson)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/s3-upload-errors/#post-4518294)
 * Hi allengeer,
 * Thanks. By coincedence, someone else had given me a login on a site with the 
   same issue, and I can confirm that this is the fix. I’ve used this for neatness:
 * > $this->response->body = (empty($this->response->body)) ? $data : $this->response-
   > >body.$data;
 * I’m not yet sure why this problem only appears to trigger on a tiny fraction 
   of sites using Amazon S3; the function is a callback from Curl, so I suspect 
   there’s some subtle race condition involved. But anyway, this does fix it.
 * Like many plugin authors, we automatically close threads that have had no replies
   for 2 weeks. Experience shows that many posters won’t close the thread even if
   they found a resolution to their problem.
 * David
 *  [franzvz](https://wordpress.org/support/users/franzvz/)
 * (@franzvz)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/s3-upload-errors/#post-4518295)
 * [@david](https://wordpress.org/support/users/david/): I apologize for a response
   again to a resolved thread. Just wanted to give more input because I was one 
   of the people who were having troubles (coincidentally, not with all my sites)
 * This is indeed a callback from Curl, and that was the issue. I recently moved
   to a new VPS, and was installing a fresh LAMP stack, and updraft alerted me that
   my Curl installation wasn’t correct. I cleared this and everything seems to work
   ok.
 * So if anyone is having this issue after David applies the fix, make a backup 
   and try to update your Curl installation.

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

The topic ‘S3 Upload errors’ is closed to new replies.

 * ![](https://ps.w.org/updraftplus/assets/icon-256x256.jpg?rev=1686200)
 * [UpdraftPlus: WP Backup & Migration Plugin](https://wordpress.org/plugins/updraftplus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/updraftplus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/updraftplus/)
 * [Active Topics](https://wordpress.org/support/plugin/updraftplus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/updraftplus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/updraftplus/reviews/)

 * 10 replies
 * 5 participants
 * Last reply from: [franzvz](https://wordpress.org/support/users/franzvz/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/s3-upload-errors/#post-4518295)
 * Status: resolved