Title: Error: invalid_request oauth_callback
Last modified: August 21, 2016

---

# Error: invalid_request oauth_callback

 *  Resolved [Tarnished Royalty](https://wordpress.org/support/users/tarnished-royalty/)
 * (@tarnished-royalty)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/error-invalid_request-oauth_callback/)
 * After searching the forums and google, it seems that all of the previously asked
   related questions and answers are slightly different from what I am experiencing,
   so hopefully this isn’t a repeat question. None of the answers were able to help
   me so I hope I can find help here. From the authorize page, I click the authorize
   button and get the following google error:
 * Error: invalid_request
 * Request Details
    oauth_callback=http://tarnishedroyalty.com/wordpress/wp-admin/
   index.php?import=blogger&noheader=true&token=&token_secret=
 * I’m using a twenty thirteen child theme, version 3.7.1. Any help is greatly appreciated.
 * [http://wordpress.org/plugins/blogger-importer/](http://wordpress.org/plugins/blogger-importer/)

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

 *  Plugin Author [Workshopshed](https://wordpress.org/support/users/workshopshed/)
 * (@workshopshed)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/error-invalid_request-oauth_callback/#post-4529457)
 * The token and token secret values should be set which is why it’s reporting an
   invalid request.
    What happens is before it shows you the authorise screen it’s
   already made a request to Google to get these tokens. So you need to check the
   connectivity between your site and Google.
 * Try the core control plugin mentioned here
    [http://wordpress.org/support/topic/plugin-blogger-importer-diagnosing-problems](http://wordpress.org/support/topic/plugin-blogger-importer-diagnosing-problems)
 * Are you using the beta3 version?
    [http://wordpress.org/support/topic/beta-testers-wanted-1](http://wordpress.org/support/topic/beta-testers-wanted-1)
 *  Thread Starter [Tarnished Royalty](https://wordpress.org/support/users/tarnished-royalty/)
 * (@tarnished-royalty)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/error-invalid_request-oauth_callback/#post-4529466)
 * I have installed the core control plugin but I don’t know how to use it to check
   connectivity.
 * I just uploaded the beta3 version per your suggestion. Now I get a blank screen
   when I click the blogger importer.
 *  Thread Starter [Tarnished Royalty](https://wordpress.org/support/users/tarnished-royalty/)
 * (@tarnished-royalty)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/error-invalid_request-oauth_callback/#post-4529488)
 * I switched back to version .6 and performed core control. Test transport gave
   me this:
    cURL test transport: An Error has occured: Failed to connect to 103.25.56.112:
   Permission denied
 * PHP Streams: An Error has occured: 13: Permission denied
 * PHP fsockopen(): An Error has occured: 13: Permission denied
 * and Logging Module gave me this error:
    URL: [https://www.google.com/accounts/OAuthGetRequestToken?callback=http%3A%2F%2Ftarnishedroyalty.com%2Fwordpress%2Fwp-admin&oauth_consumer_key=anonymous&oauth_nonce=77cc0931e006dee1386e67117ccf6af1&oauth_signature=LfcgWTTo1qTctaChUEtS5ZSp8Pc%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1390347873&oauth_version=1.0&scope=http%3A%2F%2Fwww.blogger.com%2Ffeeds%2F&xoauth_displayname=WordPress](https://www.google.com/accounts/OAuthGetRequestToken?callback=http%3A%2F%2Ftarnishedroyalty.com%2Fwordpress%2Fwp-admin&oauth_consumer_key=anonymous&oauth_nonce=77cc0931e006dee1386e67117ccf6af1&oauth_signature=LfcgWTTo1qTctaChUEtS5ZSp8Pc%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1390347873&oauth_version=1.0&scope=http%3A%2F%2Fwww.blogger.com%2Ffeeds%2F&xoauth_displayname=WordPress)
 * Method: GET
    Result: error Error Details: http_request failed. Failed to connect
   to 74.125.225.116: Permission denied Time Taken: 0.016826868057251 seconds timeout(
   integer) 5 redirection (integer) 5 httpversion: (string) 1.0 user-agent: (string)
   WordPress/3.7.1; [http://tarnishedroyalty.com](http://tarnishedroyalty.com) reject_unsafe_urls:(
   boolean) false blocking: (boolean) true headers: Array () HTTP Args cookies: 
   array () compress: (boolean) false decompress: (boolean) true sslverify: (boolean)
   false sslcertificates:(string) /home/www/tarnishedroyalty.com/wordpress/wp-includes/
   certificates/ca-bundle.crt stream: (boolean)false filename: NULL limit_response_size:
   NULL HTTP Transports: WP_HTTP_curl Request Time 2014-01-21 23:44:33 -0
 *  Plugin Contributor [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [12 years, 6 months ago](https://wordpress.org/support/topic/error-invalid_request-oauth_callback/#post-4529544)
 * Seems like your site is firewalled or otherwise unable to connect to the outside
   world. An importer can’t work if it cannot connect to the service it’s trying
   to import from.
 *  Plugin Author [Workshopshed](https://wordpress.org/support/users/workshopshed/)
 * (@workshopshed)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/error-invalid_request-oauth_callback/#post-4529572)
 * It’s also possible that OpenSSL is not installed.
 * I’ve fixed a bug with the Beta which meant that it was erroring rather than displaying
   a message when OpenSSL was not enabled.
 * [https://core.trac.wordpress.org/attachment/ticket/4010/blogger-importer.4.zip](https://core.trac.wordpress.org/attachment/ticket/4010/blogger-importer.4.zip)
 * Otto, any ideas how I can get my code into SVN (perhaps as a branch) rather than
   having to keep uploading Zips? I have no permissions at the moment.
 *  Thread Starter [Tarnished Royalty](https://wordpress.org/support/users/tarnished-royalty/)
 * (@tarnished-royalty)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/error-invalid_request-oauth_callback/#post-4529616)
 * Thank you so much for your help, I really appreciate it! I had to allow the blocked
   IP address with my host. Marking as resolved. 🙂
 *  Plugin Contributor [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [12 years, 6 months ago](https://wordpress.org/support/topic/error-invalid_request-oauth_callback/#post-4529694)
 * > It’s also possible that OpenSSL is not installed.
 * I considered that first, but the WP_HTTP_curl transport doesn’t need OpenSSL 
   installed. It uses its own internal handling.
 *  Plugin Author [Workshopshed](https://wordpress.org/support/users/workshopshed/)
 * (@workshopshed)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/error-invalid_request-oauth_callback/#post-4529695)
 * `openssl_sign` is used in `Blogger_OAuthSignatureMethod_RSA_SHA1` so that’s why
   I added a check to ensure that the OpenSSL module was installed into it.
 *  Plugin Contributor [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [12 years, 6 months ago](https://wordpress.org/support/topic/error-invalid_request-oauth_callback/#post-4529698)
 * [@workshopshed](https://wordpress.org/support/users/workshopshed/)
 * That check doesn’t seem necessary, because that code is never used anywhere. 
   The Blogger_OAuthSignatureMethod_RSA_SHA1 is not used by any other code in the
   plugin and can probably just be removed.
 * The Blogger OAuth being used here actually is the Blogger_OAuthSignatureMethod_HMAC_SHA1
   class.

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

The topic ‘Error: invalid_request oauth_callback’ is closed to new replies.

 * ![](https://ps.w.org/blogger-importer/assets/icon.svg?rev=2828582)
 * [Blogger Importer](https://wordpress.org/plugins/blogger-importer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/blogger-importer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/blogger-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/blogger-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/blogger-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/blogger-importer/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/error-invalid_request-oauth_callback/#post-4529698)
 * Status: resolved