Title: Infinite loop XHR request when adding image.
Last modified: April 8, 2022

---

# Infinite loop XHR request when adding image.

 *  Resolved [Antonio144](https://wordpress.org/support/users/antonio144/)
 * (@antonio144)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/infinite-loop-xhr-request-when-adding-image/)
 * When trying to add an image to a video inside a gallery my server gets spammed
   with the following request:
 *     ```
       fetch("https://site.com/wp-admin/admin-ajax.php?_fs_blog_admin=true", {
         "headers": {
           "accept": "*/*",
           "accept-language": "en-US,en;q=0.9,hr;q=0.8",
           "content-type": "application/x-www-form-urlencoded; charset=UTF-8",
           "sec-fetch-dest": "empty",
           "sec-fetch-mode": "cors",
           "sec-fetch-site": "same-origin",
           "sec-gpc": "1",
           "x-requested-with": "XMLHttpRequest"
         },
         "referrer": "https://site.com/wp-admin/admin.php?page=Total_Soft_Gallery_Video%3FTS_VGallery_Nonce%3De2d4d561fd",
         "referrerPolicy": "strict-origin-when-cross-origin",
         "body": "action=TotalSoftGallery_Page_Post&page=https%3A%2F%2Fsite.com%2Fwp-content%2Fuploads%2F2021%2F08%2Fj_RYJ4zG61E-HD.jpg",
         "method": "POST",
         "mode": "cors",
         "credentials": "include"
       });
       ```
   
 * Plugin version: 1.7.0
    Wordpress version: 5.9.3
 * I’m unable to create new galleries, videos nor update existing ones.

Viewing 1 replies (of 1 total)

 *  Plugin Author [totalsoft](https://wordpress.org/support/users/totalsoft/)
 * (@totalsoft)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/infinite-loop-xhr-request-when-adding-image/#post-15546622)
 * Hello, dear Antonio144.
 * Thank you for using Video Gallery.
 * Sorry for the late reply. Our team did the testing and did not see the problem.
 * Please take a screenshot and show us the problem. Oh please can you see if the
   problem is with another plugin.?
 * We are waiting for your reply so that we can solve the problem in a short time.
 * Have a good day!

Viewing 1 replies (of 1 total)

The topic ‘Infinite loop XHR request when adding image.’ is closed to new replies.

 * ![](https://ps.w.org/gallery-videos/assets/icon-128x128.png?rev=2857063)
 * [Video Gallery - YouTube Gallery, Vimeo, Video Portfolio, Image Portfolio and Image Gallery](https://wordpress.org/plugins/gallery-videos/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gallery-videos/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gallery-videos/)
 * [Active Topics](https://wordpress.org/support/plugin/gallery-videos/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gallery-videos/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gallery-videos/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [totalsoft](https://wordpress.org/support/users/totalsoft/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/infinite-loop-xhr-request-when-adding-image/#post-15546622)
 * Status: resolved