Title: Error Bulk Offload
Last modified: January 1, 2025

---

# Error Bulk Offload

 *  Resolved [Ian Chamba](https://wordpress.org/support/users/ianchamba/)
 * (@ianchamba)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/error-bulk-offload/)
 * Happy New Year everyone!
 * I have another problem here.
 * [31-Dec-2024 16:43:27 UTC] Advanced Media Offloader: Error uploading file to 
   S3: Error executing “PutObject” on “[https://cloud.hostbraza.com.br/wpgpl-brasil/s3saeast1%3A//wpgpl-brasil/wp-content/uploads/2024/06/02082930/31164326/Arum-66673c07056fb.jpg&#8221](https://cloud.hostbraza.com.br/wpgpl-brasil/s3saeast1%3A//wpgpl-brasil/wp-content/uploads/2024/06/02082930/31164326/Arum-66673c07056fb.jpg&#8221);;
   AWS HTTP error: Client error: `PUT https://cloud.hostbraza.com.br/wpgpl-brasil/
   s3saeast1%3A//wpgpl-brasil/wp-content/uploads/2024/06/02082930/31164326/Arum-
   66673c07056fb.jpg` resulted in a `400 Bad Request` response:
   `XMinioInvalidObjectName`
   Object name contains unsuppor (truncated…) XMinioInvalidObjectName (client): 
   Object name contains unsupported characters. – `XMinioInvalidObjectName`Object
   name contains unsupported characters.s3saeast1://wpgpl-brasil/wp-content/uploads/
   2024/06/02082930/31164326/Arum-666 73c07056fb.jpgwpgpl-brasil/wpgpl-brasil/s3saeast1://
   wpgpl-brasi l/wp-content/uploads/2024/06/02082930/31164326/Arum-66673c07056fb.
   jpg181650AC4FAB6 0BDdd9025bab4ad464b049177c95eb6ebf374d3b3fd1af9251148b658df7ac2e3e8
 * It’s probably because it’s probably adding the region of my bucket, since my 
   bucket doesn’t have a region.
 * Could you help me with this?

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

 *  Thread Starter [Ian Chamba](https://wordpress.org/support/users/ianchamba/)
 * (@ianchamba)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/error-bulk-offload/#post-18221301)
 * I thought the problem had been resolved, but it didn’t.
    -  This reply was modified 1 year, 5 months ago by [Ian Chamba](https://wordpress.org/support/users/ianchamba/).
    -  This reply was modified 1 year, 5 months ago by [Ian Chamba](https://wordpress.org/support/users/ianchamba/).
 *  Plugin Author [Masoud Golchin](https://wordpress.org/support/users/masoudin/)
 * (@masoudin)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/error-bulk-offload/#post-18221358)
 * Hi [@ianchamba](https://wordpress.org/support/users/ianchamba/) 
   Happy New Year!
   Glad to hear that you have resolved the issue and Thank you for sharing the solution.
 *  Thread Starter [Ian Chamba](https://wordpress.org/support/users/ianchamba/)
 * (@ianchamba)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/error-bulk-offload/#post-18221360)
 * In fact, I thought I had solved it, but it cunningly didn’t. I edited the message,
   could you tell me what could happen with this problem?
 *  Plugin Author [Masoud Golchin](https://wordpress.org/support/users/masoudin/)
 * (@masoudin)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/error-bulk-offload/#post-18221461)
 * [@ianchamba](https://wordpress.org/support/users/ianchamba/) 
   Please send screenshots
   of the plugin settings page and also the minio domain, mino endpoint and bucket
   name.
    -  This reply was modified 1 year, 4 months ago by [Masoud Golchin](https://wordpress.org/support/users/masoudin/).
    -  This reply was modified 1 year, 4 months ago by [Masoud Golchin](https://wordpress.org/support/users/masoudin/).
 *  Thread Starter [Ian Chamba](https://wordpress.org/support/users/ianchamba/)
 * (@ianchamba)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/error-bulk-offload/#post-18221589)
 * ![](https://i0.wp.com/cloud.hostbraza.com.br/wpgpl-brasil/2025/01/01154843/screenshot-
   1.png?ssl=1)
 * ![](https://i0.wp.com/cloud.hostbraza.com.br/wpgpl-brasil/2025/01/01154830/screenshot-
   2.png?ssl=1)
 * define(“ADVMO_MINIO_ENDPOINT”, “[https://cloud.hostbraza.com.br](https://cloud.hostbraza.com.br););
   
   define(“ADVMO_MINIO_BUCKET”, “wpgpl-brasil”);define(“ADVMO_MINIO_DOMAIN”, “[https://cloud.hostbraza.com.br](https://cloud.hostbraza.com.br););
    -  This reply was modified 1 year, 4 months ago by [Ian Chamba](https://wordpress.org/support/users/ianchamba/).
 *  Thread Starter [Ian Chamba](https://wordpress.org/support/users/ianchamba/)
 * (@ianchamba)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/error-bulk-offload/#post-18221734)
 *     ```wp-block-code
       <?xml version="1.0" encoding="UTF-8"?> <Error><Code>XMinioInvalidObjectName</Code><Message>Object name contains unsuppor (truncated...) XMinioInvalidObjectName (client): Object name contains unsupported characters. - <?xml version="1.0" encoding="UTF-8"?> <Error><Code>XMinioInvalidObjectName</Code><Message>Object name contains unsupported characters.</Message><Key>s3saeast1://wpgpl-brasil/wp-content/uploads/2024/06/02080337/31175314/Lewis-6668354d5fee9.jpg</Key><BucketName>wpgpl-brasil</BucketName><Resource>/wpgpl-brasil/s3saeast1://wpgpl-brasil/wp-content/uploads/2024/06/02080337/31175314/Lewis-6668354d5fee9.jpg</Resource><Region>sa-east-1</Region><RequestId>1816AB956F1305F6</RequestId><HostId>dd9025bab4ad464b049177c95eb6ebf374d3b3fd1af9251148b658df7ac2e3e8</HostId></Error> [01-Jan-2025 20:29:26 UTC] Advanced Media Offloader: Error uploading file to S3: Error executing "PutObject" on "https://cloud.hostbraza.com.br/wpgpl-brasil/s3saeast1%3A//wpgpl-brasil/wp-content/uploads/2024/06/02080335/31175320/Nadus-6668359ad1f41.png"; AWS HTTP error: Client error: PUT https://cloud.hostbraza.com.br/wpgpl-brasil/s3saeast1%3A//wpgpl-brasil/wp-content/uploads/2024/06/02080335/31175320/Nadus-6668359ad1f41.png resulted in a 400 Bad Request response: <?xml version="1.0" encoding="UTF-8"?>
       ```
   
 * I was able to send the error_log correctly here now.
 * The strangest thing about all of this is that I managed to offload half of my
   files from my website, but half of them gave this error.
    -  This reply was modified 1 year, 4 months ago by [Ian Chamba](https://wordpress.org/support/users/ianchamba/).
 *  Thread Starter [Ian Chamba](https://wordpress.org/support/users/ianchamba/)
 * (@ianchamba)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/error-bulk-offload/#post-18221739)
 * [https://github.com/minio/minio/issues/3390](https://github.com/minio/minio/issues/3390)
 * [https://github.com/minio/minio/issues/5874](https://github.com/minio/minio/issues/5874)
 * I found these links that might help
 *  Plugin Author [Masoud Golchin](https://wordpress.org/support/users/masoudin/)
 * (@masoudin)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/error-bulk-offload/#post-18225907)
 * [@ianchamba](https://wordpress.org/support/users/ianchamba/) 
   Do you know where`
   s3saeast` is coming from in the error you send on your previous comments? The
   plugin doesn’t add it and I’m not seeing it on the constants you sent.
 *     ```wp-block-code
       s3saeast1%3A//wpgpl-brasil
       ```
   
 *  Thread Starter [Ian Chamba](https://wordpress.org/support/users/ianchamba/)
 * (@ianchamba)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/error-bulk-offload/#post-18225979)
 * With a lot of sacrifice, I managed to find the problem. The problem was that 
   I used the WP Media Offload plugin before and there were some remnants of information
   from the old bucket that I used before in Amazon S3, so what I needed to do was
   just give the command
 *     ```wp-block-code
       UPDATE wp_postmetaSET meta_value = REPLACE(meta_value,'s3saeast1://wpgpl-brasil/wp-content/uploads/','')WHERE meta_key = '_wp_attachment_metadata'AND meta_value LIKE '%s3saeast1://%';
       ```
   
 * and this command removed the wrong information directly from the database. Solved.
 *  Plugin Author [Masoud Golchin](https://wordpress.org/support/users/masoudin/)
 * (@masoudin)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/error-bulk-offload/#post-18225981)
 * Great to hear that you have resolved the issue!
   I think you should also remove
   the `/wpgpl-brasil` from the `_wp_attachment_metadata` because the default WordPress
   attachment metadata doesn’t contain it and they should not change the default
   behavior in the DB.
 *  Thread Starter [Ian Chamba](https://wordpress.org/support/users/ianchamba/)
 * (@ianchamba)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/error-bulk-offload/#post-18225985)
 * Yes, I removed it, thanks again. Now a question, do you intend to integrate with
   WooCommerce? Because I had to create a code to be able to update the URLs of 
   my downloadable products in WooCommerce, because currently the plugin does offload,
   but does not update the URLs of the WooCommerce products.
 *  Plugin Author [Masoud Golchin](https://wordpress.org/support/users/masoudin/)
 * (@masoudin)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/error-bulk-offload/#post-18225987)
 * [@ianchamba](https://wordpress.org/support/users/ianchamba/) 
   We will address
   the compatibility issue with downloadable products in WooCommerce in our next
   release.
 *  Thread Starter [Ian Chamba](https://wordpress.org/support/users/ianchamba/)
 * (@ianchamba)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/error-bulk-offload/#post-18225992)
 * Okay, thank you so much!

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

The topic ‘Error Bulk Offload’ is closed to new replies.

 * ![](https://ps.w.org/advanced-media-offloader/assets/icon.svg?rev=3213156)
 * [Advanced Media Offloader](https://wordpress.org/plugins/advanced-media-offloader/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-media-offloader/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-media-offloader/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-media-offloader/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-media-offloader/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-media-offloader/reviews/)

 * 13 replies
 * 2 participants
 * Last reply from: [Ian Chamba](https://wordpress.org/support/users/ianchamba/)
 * Last activity: [1 year, 4 months ago](https://wordpress.org/support/topic/error-bulk-offload/#post-18225992)
 * Status: resolved