Title: Error 400: Bad Request
Last modified: July 17, 2023

---

# Error 400: Bad Request

 *  Resolved [delcano](https://wordpress.org/support/users/delcano/)
 * (@delcano)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/error-400-bad-request-11/)
 * Good day,
 * I have the same 400 error that many have reported. I have updated the plugin 
   to the latest version (v4.1.3) on the latest WordPress version (6.2.2) on PHP
   8.1.
 * I have tried to deactivate other plugins and cache systems to no avail.
 * I can not go to Facebook, so I would really appreciate any advice outside of 
   that walled garden.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-400-bad-request-11%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [delcano](https://wordpress.org/support/users/delcano/)
 * (@delcano)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/error-400-bad-request-11/#post-16900417)
 * I have tracked the issue to the file: `lib/api/fetch/personal/user-media/class-
   get.php, line 230.`
 * Apparently, add_query_arg is adding a space between the protocol and the url 
   of instagram (`https:// graph.instagram...`) for reasons unknown.
 * I have added a dirty hack under it: `$url = strtr($url, ' ', '');` and it worked.
   Now I have an account issue, but that’s on me and my client, so no problem.
    -  This reply was modified 2 years, 12 months ago by [delcano](https://wordpress.org/support/users/delcano/).
 *  Plugin Support [jmatiasmastro](https://wordpress.org/support/users/jmatiasmastro/)
 * (@jmatiasmastro)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/error-400-bad-request-11/#post-16901030)
 * [@delcano](https://wordpress.org/support/users/delcano/)
 * Hello mate, we have sent your ticket to the development team for investigation.
 * Stay tuned for news.
 * Regards.
 *  [ghadaboumeftah](https://wordpress.org/support/users/ghadaboumeftah/)
 * (@ghadaboumeftah)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/error-400-bad-request-11/#post-17110355)
 * I have the same issue can you help. me ?

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

The topic ‘Error 400: Bad Request’ is closed to new replies.

 * ![](https://ps.w.org/insta-gallery/assets/icon-256x256.gif?rev=3301774)
 * [Social Feed Gallery](https://wordpress.org/plugins/insta-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insta-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insta-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/insta-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insta-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insta-gallery/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [ghadaboumeftah](https://wordpress.org/support/users/ghadaboumeftah/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/error-400-bad-request-11/#post-17110355)
 * Status: resolved