WordPress.org

Ready to get started?Download WordPress

Forums

API Key for stats. It won't accept the key (21 posts)

  1. haveyouseenuslately
    Member
    Posted 5 years ago #

    I had been previously been using one API key for multiple self-hosted blogs. But for some unknown reason the stats plugin stopped working on one of them, so I tried to create a new WP user and add that API key, but it's still not taking it. It sends me in an endless loop:

    1: Enter API key.
    2a: The API key "******" belongs to the WordPress.com account of "SOMEUSERNAME". If this is not your account, please re-enter your API key.
    2b: Add new blog to my account

    2a sends me back to 1.
    2b gives an error:

    Error from last API Key attempt:

    Missing API Key

    Which prompts to enter API key... back to 1.

    What is the recommended way to use API keys? Can you use one key across multiple sites? Or should you get 1 key per site, and therefore create multiple WP.com users (one per blog)?

    Thanks for your help.

    P.S. I've tried deactivating and reactivating the stats plugin several times now.

  2. net500cg
    Member
    Posted 5 years ago #

    Would SOMEONE >>> !!!! <<<< here at Word Press address this issue!! ?? PLEASE!

    I have been using Word Press for over 3 years now and I have numerous blogs - both Free and self-hosted. I have used API Keys all over them. I've never had a problem until tonight. I have the full access to the API Key that is connected with themindsigner.wordpress.com and want to use it on the mindsinger.com/mindsinger but it WILL NOT work.

    I've done everything suggested to get the API to work. I am in a continuous loop of enter - wrong - reenter. This is ridiculous !! I already have several WordPress.com accounts and API's. I don't want, nor need, a new WP account to get an API. And in one of the 'loops' I am taken to the site of the themindsinger.wordpress.com to procure the necessary API. When extracted and used, it doesn't work either.

    I see there are at least 20 requests on this very subject - some from 5 months ago, others like this one 5 days ago, that have gone UNanswered!! Come on folks! Most of us are not here just because we have nothing else to do. We depend on you all being prompt in returning real, working solutions to the problems we have posted. So, please - HELP!

    Answer this problem. There are a lot of us who need the help.

    les
    NET500.CG
    net500cg@gmail.com

  3. kugelblitz
    Member
    Posted 5 years ago #

    Same here. I get the error "WordPress.com Stats needs attention: please enter an API key or disable the plugin."
    The Key is all right and works with Akismet.

  4. kugelblitz
    Member
    Posted 5 years ago #

    I disable the Plugin now and use Statspress works fine and easy to install

  5. Dave
    Member
    Posted 5 years ago #

    Anyone fixed this issue?

    Noticed it a while ago and don't reallly want to spend hours trying things.

  6. designsimply
    Member
    Posted 5 years ago #

    @haveyouseenuslately, you should be able to use the same API key on several different blogs but you can't setup the same blog on more than one wordpress.com account at a time.

    Have you tried these instructions?
    http://faq.wordpress.com/2008/06/18/how-do-i-change-the-api-key-used-for-wordpresscom-stats/

  7. dirlink
    Member
    Posted 5 years ago #

    Same problem.
    A newly registered account at wordpress.com, then I've used my newly created API Key with the plugin, as requested. Once the API key is submitted, it says:

    The API key "********" belongs to the WordPress.com account of "dirlink". If this is not your account, please re-enter your API key.

    Under that statement, it says: (cannot be possible, it's a new account!)

    According to the WordPress.com database, this API key is already associated with at least one self-hosted blog. You can add this as a new blog on your WordPress.com account or replace an existing blog and inherit its stats history.

    Anyways, it also says:

    Add new blog to my account
    Do this if this blog is new or has never been associated with your API key. This blog will be added to your WordPress.com account.

    And I click the button: Add to WordPress.com Account!

    And for some strange reason it just shows:

    WordPress.com Stats
    Error from last API Key attempt:
    Missing API Key

    The WordPress.com Stats Plugin is not working because it needs to be linked to a WordPress.com account.

    Enter your WordPress.com API key to link this blog to your WordPress.com account. Be sure to use your own API key! Using any other key will lock you out of your stats. (Get your key here.)

    API Key:

    Which brings me back to step 1!!! And the error comes all over again.
    I've also tried to edit the plugin, as it says:
    // You can hardcode a WP.com API key here.

    With no luck, same error.

    Please Help.
    It's not working.

  8. scottelee
    Member
    Posted 5 years ago #

    @designsimply

    Thank you! The tutorial you linked to worked PERFECTLY!

    I switched my admins and reloaded the plugin, then dropped in the new API key, and BINGO! Piece of cake.

    Thnk you thank you thank you!

  9. artesea
    Member
    Posted 5 years ago #

    Snap, going around in circles. I even created a brand new WordPress.com account which has no blogs assosiated with it, but still I get the same message

    The API key "xxxxxxxxxxx" belongs to the WordPress.com account of "artesea". If this is not your account, please re-enter your API key.

    According to the WordPress.com database, this API key is already associated with at least one self-hosted blog. You can add this as a new blog on your WordPress.com account or replace an existing blog and inherit its stats history.

    Add new blog to my account

    Do this if this blog is new or has never been associated with your API key. This blog will be added to your WordPress.com account.

    Then when pressing the Add to WordPress.com account, it tells me

    Error from last API Key attempt:

    Missing API Key

    What I can't believe is that there has yet to be an offical reply from ANYONE at Automatic/Wordpress yet these posts go back months :(

  10. rpophessagr
    Member
    Posted 5 years ago #

    having the same problem as artesea. VERY aggravating. help? anyone? Please!

  11. mishathegoat
    Member
    Posted 5 years ago #

    Wow. I wish the staff will at least say "Hey, I don't don't know what's wrong but we'll look into it." I'm having the exact same issue as the original poster.

  12. iridiax
    Member
    Posted 5 years ago #

    Have you tried the replace existing blog option?

  13. mishathegoat
    Member
    Posted 5 years ago #

    I think I changed the permissions of my plugin directory and its sub-directories and it ended up working.. Hopefully this will help someone..

  14. crazyelfy
    Member
    Posted 5 years ago #

    I'm having the same problem too. Oh man... I hope there's a solution to this. I actually thought the leave blog button meant log out or something.

  15. Stephanie Leary
    Member
    Posted 5 years ago #

    Replacing the existing blog is a crap shoot. I've done it in the past when this error popped up and had no issues whatsoever. The last time, however, my old stats disappeared and I started over from zero. One of my clients also did the replacement option, and her self-hosted stats are now showing up under her (unused) wordpress.com account.

    (I have another thread on this same problem.)

  16. Stephanie Leary
    Member
    Posted 5 years ago #

    I just upgraded another blog. (I know, I'm a sucker for punishment.) Again, this one had been using the stats plugin for some time. Again, it lost the API key on upgrade. This time, though, the blog wasn't listed as one I could replace. I chose to add it to the wordpress.com account instead. I was taken right back to the Stats plugin config screen with the error message "Missing API key." Entered it again, went around in the same circle.

    Long and short of it? While previous versions of the Stats plugin have been iffy, this latest one has broken on every single blog I've upgraded it on.

  17. Stephanie Leary
    Member
    Posted 5 years ago #

    ... and it just broke on yet another blog. 1.3.4 wouldn't show a graph, and 1.3.5 takes me round and round in the Missing API Key loop.

    Come on, Automattic, fix this damn thing.

  18. tjfisher
    Member
    Posted 5 years ago #

    I fall into the same loop! Over and over and over again! Wish there was a fix for this!

  19. Stephanie Leary
    Member
    Posted 5 years ago #

    There's a workaround in this thread.

  20. billyr
    Member
    Posted 5 years ago #

    I have a workaround right here.

    First you have to enter your API Key.
    You'll get an error message, as you know.
    But this time you have an alternative choice: a button to press, stating that your site is new for the Stats system.
    You have to press this button. Surprisingly, you'll recover all your old statistics.
    It worked for me. I've got a two-monts gap in the statistics, but I recovered the functionality of a nice stats plugin.

    Carlos Reynoso, Anthropologist
    http://carlosreynoso.com.ar

  21. 00happy
    Member
    Posted 4 years ago #

    First you have to enter your API Key.
    You'll get an error message, as you know.
    But this time you have an alternative choice: a button to press, stating that your site is new for the Stats system.
    You have to press this button. Surprisingly, you'll recover all your old statistics.
    It worked for me. I've got a two-monts gap in the statistics, but I recovered the functionality of a nice stats plugin.

    Thanks, that worked! :)

Topic Closed

This topic has been closed to new replies.

About this Topic