Title: Admin Ajax Return 400 Status Code
Last modified: October 17, 2021

---

# Admin Ajax Return 400 Status Code

 *  Resolved [myilraj05](https://wordpress.org/support/users/myilraj05/)
 * (@myilraj05)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/admin-ajax-return-400-status-code/)
 * Hello Team,
    I am getting a 400 Status Code for Admin-ajax.php request. Can you
   please help me to fix? Regards, Myilraj G
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fadmin-ajax-return-400-status-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/admin-ajax-return-400-status-code/#post-14978808)
 * [@myilraj05](https://wordpress.org/support/users/myilraj05/) Could you please
   let us know where exactly you get 400 Status Code for Admin-ajax.php request?
 *  Thread Starter [myilraj05](https://wordpress.org/support/users/myilraj05/)
 * (@myilraj05)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/admin-ajax-return-400-status-code/#post-14978937)
 * I have installed the plugin and navigate to the “Table Optimization Page”. But,
   the table is not listed and at the time, when I check the Console, I can see 
   400 Status Code. Attached is the image for your reference.
    [Imge](https://prnt.sc/1wkrhb7)
 * Regards,
    Myilraj G
 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/admin-ajax-return-400-status-code/#post-14982787)
 * [@myilraj05](https://wordpress.org/support/users/myilraj05/)
 * Can you please enable debugging mode, Please add following lines to wp-config.
   php just before where it says: /* That’s all, stop editing! Happy publishing.*/
 * define( ‘WP_DEBUG’, true );
    define( ‘WP_DEBUG_DISPLAY’, false ); define( ‘WP_DEBUG_LOG’,
   true );
 * Then try to reload the page again.
 * A debug.log file should be created inside wp-content folder,which should contain
   error information in it, Please share the file with us.
 *  [Alexander Guskov](https://wordpress.org/support/users/forcesail/)
 * (@forcesail)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/admin-ajax-return-400-status-code/#post-14996925)
 * Hello.
    I have the same problem that comes regular when I don’t clean the cache
   manually (pressing the button) for a few days and it resolves with it.
 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/admin-ajax-return-400-status-code/#post-14998259)
 * [@forcesail](https://wordpress.org/support/users/forcesail/) Yes sometimes you
   have to manually purge the cache if the clear cache trigger gets stuck.
 *  [Alexander Guskov](https://wordpress.org/support/users/forcesail/)
 * (@forcesail)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/admin-ajax-return-400-status-code/#post-15008924)
 * How to understand that it’s necessary to do?
    Now I’m doing it at least once 
   in 3 days. Otherwise I have some (different) problems
 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/admin-ajax-return-400-status-code/#post-15010161)
 * [@forcesail](https://wordpress.org/support/users/forcesail/) The cache folder
   size in wp-content because large in size, so in that case you’ll have to manually
   purge the cache.
 *  [Alexander Guskov](https://wordpress.org/support/users/forcesail/)
 * (@forcesail)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/admin-ajax-return-400-status-code/#post-15010701)
 * Ok. I guessed the same.
 * How it’s possible to fix the getting stuck of the clear cache trigger? and why
   it’s happendes?
 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/admin-ajax-return-400-status-code/#post-15013845)
 * [@forcesail](https://wordpress.org/support/users/forcesail/) Though its unusual
   but sometime WordPress fails to trigger the calls made by the plugin, or could
   also be the conflict with other calls made by other plugins installed.
 * So in this case you’ll have to manually purge the cache.
 *  [Alexander Guskov](https://wordpress.org/support/users/forcesail/)
 * (@forcesail)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/admin-ajax-return-400-status-code/#post-15014535)
 * I have been checked the cron log. Nothing never been missed. All events are processing
   in time.
 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/admin-ajax-return-400-status-code/#post-15017462)
 * [@forcesail](https://wordpress.org/support/users/forcesail/) I’ll check this 
   with our development team for further tests and if its a bug then it will get
   fixed in next release.

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

The topic ‘Admin Ajax Return 400 Status Code’ is closed to new replies.

 * ![](https://ps.w.org/wp-optimize/assets/icon-256x256.png?rev=1552899)
 * [WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance](https://wordpress.org/plugins/wp-optimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-optimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-optimize/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-optimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-optimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-optimize/reviews/)

 * 11 replies
 * 3 participants
 * Last reply from: [Harshad](https://wordpress.org/support/users/bornforphp/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/admin-ajax-return-400-status-code/#post-15017462)
 * Status: resolved