I keep getting Authentication Failed on the API
-
I have the credentials in the URL correctly but it will continue to fail authentication. I will not post them obviously but is there a problem with the API currently? I tried creating new credentials Also I have used this before so I am sure it is not a problem with the credentials.
I somehow managed to get Chrome to show the data. Firefox will not and the code i have written also return authentication failed. This is a bug on your end. Please fix it ASAP.
-
Hey Carmelo,
It looks like you are encountering a bit of a different issue. It sounds like you are receiving the error when you try to connect with Google Analytics rather than when you try to make an API call. I'm really sorry about that.
Google is currently having some authentication issues on their end. The issue seems to be clearing up and we are monitoring the issue as it resolved. If you are still encountering the issue, please contact our Help Team here: http://moz.com/help/contact for further assistance.
Chiaryn
-
Hi having same issue, just signed up for chessmazeinternational and getting same error back from analytics ?
Remote-authentication.failure
can you assist?
-
Colum,
You should not be regenerating your secret key so often, it's not doing you any favors and is just making it more difficult to help you.
The issue you are having is with how you are generating your expires and signature. I tested the call you posted in the forum that was giving you a 401 and the signature and expires did not line up. I'm not going to put your information here for your privacy, but the problem is definitely with your code and not with your API key or the API itself.
I hope that makes sense.
Thanks,
Joel. -
I tried the sample code, worked, tried mine, broke, changed back to sample code, broke. I also generated a new key (ill try that in 30 minutes) in case it was just not updating in the DB, in terms of waiting 30 minutes, I waited for 48 hours and still did not work.
-
Hey Colum,
That forum you are looking at is a bit old and I believe we have resolved the authentication issue, so it isn't an overarching problem. I also was able to grab the sample code on your account and get data back when I ran the code in my browser, so I would recommend trying to run a call again. If you regenerated your credential and still received the error, it may be that the new credentials hadn't updated yet in our database, since it can take up to 30 minutes for the database to recognize the new credentials.
I would suggest trying both the sample code on your account and a regular call to see if either are still giving you the error message. If you are no longer getting the error message on the sample call, but you are still getting it on the other call, it may be a formatting issue. I'm definitely seeing data for the sample call now, so it shouldn't be any issue with the actual credentials.
I hope this helps. Please let me know if you are still seeing any issues.
-
Did not know that was there. there seems to be others with the same problem so definitely a bug: https://seomoz.zendesk.com/entries/21886401-Another-401-Unauthorized
-
Good morning!
While I don't know the answer, maybe I can help! Have you tried posing this over at the API Forum? https://seomoz.zendesk.com/categories/6328-SEOmoz-APIs-and-Extras. That is usually the best place for API issues and questions. If you leave this question open too, we can go at this from two angles.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Why does it keep displaying br tags and claiming 404 errors on like 4 of my URL's for all my Wordpress sites?
Is anyone else having the same issue? These errors don't actually exist and i think it has something to do with wordpress - how can i fix this?
Moz Pro | | MillerPR0 -
My account recently got deactivated due to billing issues. I reactivated my account, but all of my campaigns are gone. Is there a way I can get back my campaigns without having to redo all of them??
My account recently got deactivated due to billing issues. I reactivated my account, but all of my campaigns are gone. Is there a way I can get back my campaigns without having to redo all of them??
Moz Pro | | DorianDDR10 -
How do I get a link in my blog bio signature on my Youmoz posts?
I've done several Youmoz posts and only recently noticed for some reason that other authors have included author links and links to their websites in their bio section at the end. I edited mine with a full URL but it only shows up as text. No editor there when you edit your profile so no way of adding a link. Anyone know how this is done?
Moz Pro | | DanDeceuster0 -
Not getting numbers on Exact and Broad match
Is there something wrong in Seomoz keyword analysis tool.I'm not getting the Exact and Broad match search volume. EDIT: It's been resolved.No need to answer this question
Moz Pro | | JohnChena0 -
API callback parameter
I'm using the free API, and would like to use jQuery to fetch the JSON data outputted by the API. I need to make a JSON-P request, and for this I need to be able to pass some form of callback parameter in the url. I'd like to know if this feature is available, and if so what parameter I need to specify in my request. Of course I could just CURL to the API, but that's really a fallback for if I can't get the data using JS. Thanks
Moz Pro | | jgt19850 -
How do I get back my archived campaigns??
Hi there, Can anyone help! I archived a campaign a month ago and now I want it back - can anyone help? How do I get back my archived campaign? Or do I need to start again?? Thanks Gareth
Moz Pro | | GAZ090 -
Newbie - help me get started, please :)
Hi Guy's, I am super excited to be here and looking fwd to getting to know you all. As the title suggests I am a complete newbie to the world of SEO I am very keen to learn, I just need pointing in the right direction. My website is live! Now I need to make it super populated, my site is an e-commerce website selling natural / organic beauty products for men women & children. I would like to make it one of the best out there and I am not worried about putting the hours in to achieve that goal. So my question to you guys is this.... where do I start?
Moz Pro | | dan1el0 -
SEOmoz API - Links and Anchor Text Calls
Hi, I'm testing out the SEOmoz API - however I'm stuggling to understand the use of the Cols parameter within the "anchor-text" method. I've looped through increasing numbers of "Cols" for a standard query and there just seems to be no logical pattern.
Moz Pro | | AlexThomas
** - Could someone please enlighten me as to how this works?** E.g. of results for query: http://lsapi.seomoz.com/linkscape/anchor-text/www.seomoz.org/?Scope=term_to_page&Sort=domains_linking_page&Cols=1 1Array ( [0] => Array ( [aturid] => 86128451138 ) [1] => Array ( [aturid] => 86128451144 ) [2] => Array ( [aturid] => 86128451131 ) ) 2Array ( [0] => Array ( [atut] => seomoz ) [1] => Array ( [atut] => seomoz.org ) [2] => Array ( [atut] => seo ) ) 3Array ( [0] => Array ( [aturid] => 86128451138 [atut] => seomoz ) [1] => Array ( [aturid] => 86128451144 [atut] => seomoz.org ) [2] => Array ( [aturid] => 86128451131 [atut] => seo ) ) 4Array ( [0] => Array ( [atui] => 38845159274 ) [1] => Array ( [atui] => 38845159274 ) [2] => Array ( [atui] => 38845159274 ) ) 5Array ( [0] => Array ( [atui] => 38845159274 [aturid] => 86128451138 ) [1] => Array ( [atui] => 38845159274 [aturid] => 86128451144 ) [2] => Array ( [atui] => 38845159274 [aturid] => 86128451131 ) ) 6Array ( [0] => Array ( [atui] => 38845159274 [atut] => seomoz ) [1] => Array ( [atui] => 38845159274 [atut] => seomoz.org ) [2] => Array ( [atui] => 38845159274 [atut] => seo ) ) 7Array ( [0] => Array ( [atui] => 38845159274 [aturid] => 86128451138 [atut] => seomoz ) [1] => Array ( [atui] => 38845159274 [aturid] => 86128451144 [atut] => seomoz.org ) [2] => Array ( [atui] => 38845159274 [aturid] => 86128451131 [atut] => seo ) ) 8Array ( [0] => Array ( [atuiu] => 1 ) [1] => Array ( [atuiu] => 1 ) [2] => Array ( [atuiu] => 0 ) ) 9Array ( [0] => Array ( [atuiu] => 1 [aturid] => 86128451138 ) [1] => Array ( [atuiu] => 1 [aturid] => 86128451144 ) [2] => Array ( [atuiu] => 0 [aturid] => 86128451131 ) ) 10Array ( [0] => Array ( [atuiu] => 1 [atut] => seomoz ) [1] => Array ( [atuiu] => 1 [atut] => seomoz.org ) [2] => Array ( [atuiu] => 0 [atut] => seo ) ) Links API: Similar confusion here for:
"TargetCols"
"SourceCols"
"LinkCols" The description here http://apiwiki.seomoz.org/w/page/13991141/Links API - is a bit vague It appears that the links API spits out everything anyway - that one's less of an issue. So... could anyone explain how the Anchor-text API parameter Cols works?? Cheers!0