I recently updated one of my Gadgets blog to WordPress 3.0. After updating the blog to latest 3.0 version, I enabled multiple site network option and for that I had to disable all the WordPress plugins. After making my WordPress 3.0 blog WordPress MU compatible blog, I reactivated all the plugins.  To make my WordPress.com stats plugin work, I had to add the WordPress API key again and once I added it, I started getting 400 Bad request Nginx error. Earlier I thought it’s because this plugin is not compatible with WordPress 3.0.

wordpress.com stats 400 bad request 520x77 400 Bad Request Nginx: Wordpress.com Stats Problem [Solved]

400 bad request nginx

After bit of research I realize this 400 bad request error is because of error in putting API key. I have added one extra space after the API key and that’s why it is giving the error. If you face the similar issue, here is workaround for the same:

  • Deactivate WordPress.com stats plugin
  • Activate WordPress.com stats plugin
  • Add WordPress API key (Take care of space or any extra character)
wordpress stats plugin 520x196 400 Bad Request Nginx: Wordpress.com Stats Problem [Solved]

Wordpress.com Stats plugin

Your WordPress.com will not be giving any error after this. Do let us know if this helped you or you still getting the same error?