undefined
Skip to content
Moz logo Menu open Menu close
  • Products
    • Moz Pro
    • Moz Pro Home
    • Moz Local
    • Moz Local Home
    • STAT
    • Moz API
    • Moz API Home
    • Compare SEO Products
    • Moz Data
  • Free SEO Tools
    • Domain Analysis
    • Keyword Explorer
    • Link Explorer
    • Competitive Research
    • MozBar
    • More Free SEO Tools
  • Learn SEO
    • Beginner's Guide to SEO
    • SEO Learning Center
    • Moz Academy
    • SEO Q&A
    • Webinars, Whitepapers, & Guides
  • Blog
  • Why Moz
    • Agency Solutions
    • Enterprise Solutions
    • Small Business Solutions
    • Case Studies
    • The Moz Story
    • New Releases
  • Log in
  • Log out
  • Products
    • Moz Pro

      Your all-in-one suite of SEO essentials.

    • Moz Local

      Raise your local SEO visibility with complete local SEO management.

    • STAT

      SERP tracking and analytics for enterprise SEO experts.

    • Moz API

      Power your SEO with our index of over 44 trillion links.

    • Compare SEO Products

      See which Moz SEO solution best meets your business needs.

    • Moz Data

      Power your SEO strategy & AI models with custom data solutions.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Free SEO Tools
    • Domain Analysis

      Get top competitive SEO metrics like DA, top pages and more.

    • Keyword Explorer

      Find traffic-driving keywords with our 1.25 billion+ keyword index.

    • Link Explorer

      Explore over 40 trillion links for powerful backlink data.

    • Competitive Research

      Uncover valuable insights on your organic search competitors.

    • MozBar

      See top SEO metrics for free as you browse the web.

    • More Free SEO Tools

      Explore all the free SEO tools Moz has to offer.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Learn SEO
    • Beginner's Guide to SEO

      The #1 most popular introduction to SEO, trusted by millions.

    • SEO Learning Center

      Broaden your knowledge with SEO resources for all skill levels.

    • On-Demand Webinars

      Learn modern SEO best practices from industry experts.

    • How-To Guides

      Step-by-step guides to search success from the authority on SEO.

    • Moz Academy

      Upskill and get certified with on-demand courses & certifications.

    • MozCon

      Save on Early Bird tickets and join us in London or New York City

    Unlock flexible pricing & new endpoints
    Moz API

    Unlock flexible pricing & new endpoints

    Find your plan
  • Blog
  • Why Moz
    • Small Business Solutions

      Uncover insights to make smarter marketing decisions in less time.

    • Agency Solutions

      Earn & keep valuable clients with unparalleled data & insights.

    • Enterprise Solutions

      Gain a competitive edge in the ever-changing world of search.

    • The Moz Story

      Moz was the first & remains the most trusted SEO company.

    • Case Studies

      Explore how Moz drives ROI with a proven track record of success.

    • New Releases

      Get the scoop on the latest and greatest from Moz.

    Surface actionable competitive intel
    New Feature

    Surface actionable competitive intel

    Learn More
  • Log in
    • Moz Pro
    • Moz Local
    • Moz Local Dashboard
    • Moz API
    • Moz API Dashboard
    • Moz Academy
  • Avatar
    • Moz Home
    • Notifications
    • Account & Billing
    • Manage Users
    • Community Profile
    • My Q&A
    • My Videos
    • Log Out

The Moz Q&A Forum

  • Forum
  • Questions
  • Users
  • Ask the Community

Welcome to the Q&A Forum

Browse the forum for helpful insights and fresh discussions about all things SEO.

  1. Home
  2. Moz Tools
  3. Moz Pro
  4. I keep getting Authentication Failed on the API

Moz Q&A is closed.

After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

I keep getting Authentication Failed on the API

Moz Pro
5
8
3.3k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as question
Log in to reply
This topic has been deleted. Only users with question management privileges can see it.
  • ColumK
    ColumK last edited by Mar 14, 2013, 10:16 AM

    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.

    1 Reply Last reply Reply Quote 0
    • ChiarynMiranda
      ChiarynMiranda Staff @cm1chess last edited by Mar 25, 2014, 6:20 PM Mar 25, 2014, 6:20 PM

      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

      1 Reply Last reply Reply Quote 0
      • cm1chess
        cm1chess last edited by Mar 25, 2014, 7:56 AM Mar 25, 2014, 7:56 AM

        Hi having same issue, just signed up for chessmazeinternational and getting same error back from analytics ?

        Remote-authentication.failure

        can you assist?

        ChiarynMiranda 1 Reply Last reply Mar 25, 2014, 6:20 PM Reply Quote 0
        • topic:timeago_earlier,about a year
        • JoelDay
          JoelDay @ColumK last edited by Mar 15, 2013, 6:28 PM Mar 15, 2013, 6:28 PM

          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.

          1 Reply Last reply Reply Quote 0
          • ColumK
            ColumK @ChiarynMiranda last edited by Mar 15, 2013, 2:42 PM Mar 15, 2013, 2:41 PM

            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.

            JoelDay 1 Reply Last reply Mar 15, 2013, 6:28 PM Reply Quote 0
            • ChiarynMiranda
              ChiarynMiranda Staff @ColumK last edited by Mar 15, 2013, 1:40 PM Mar 15, 2013, 1:40 PM

              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.

              ColumK 1 Reply Last reply Mar 15, 2013, 2:41 PM Reply Quote 0
              • ColumK
                ColumK last edited by Mar 15, 2013, 9:36 AM Mar 15, 2013, 9:36 AM

                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

                ChiarynMiranda 1 Reply Last reply Mar 15, 2013, 1:40 PM Reply Quote 0
                • Lindsay
                  Lindsay last edited by Mar 15, 2013, 9:04 AM Mar 15, 2013, 9:03 AM

                  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. 🙂

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  1 out of 8
                  • First post
                    1/8
                    Last post

                  Got a burning SEO question?

                  Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                  Start my free trial


                  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.

                  • See all categories

                  Related Questions

                  • mrezair

                    Unsolved Need Moz SEO Wordpress Plugin With API

                    moz da wordpress seo tools

                    Re: Moz WordPress Plugin? Hi guys,
                    I need some Moz SEO Wordpress Plugins For my website working with Moz API. I've already found Moz DA-PA Checker plugin Moz DA-PA Checker But Need SEO Plugins too. Any Suggestion will be appreciated.

                    Moz Pro | Aug 22, 2024, 2:27 AM | mrezair
                    0
                  • itvisionsinc

                    Competitor getting External Links from search.aol.com

                    Recently, I noticed that one of the competitors I track within my Moz campaign received about 12 new inbound  links. As a result, there DA jumped about 10 points. I reviewed these new external links and was surprised to see that they are all "search.aol.com/aol/search?query= ..." with Link Anchor Text that is good for the industry we compete in. Can anyone tell me why these are being counted as "Inbound Links". It just doesn't seem right. Is this some sort of black hat seo tactic?

                    Moz Pro | Jul 13, 2018, 2:10 PM | itvisionsinc
                    0
                  • Kingalan1

                    MOZ Versus HUBSPOT??? If We Discontinue MOZ Subscription and Get HUBSPOT, Anything Lost?

                    How does Hubspot compare with MOZ? Doe it provide similar features or is the functionality very different? Is Hubspot complementary to MOZ or could it be used as a substitute? If we stopped our MOZ subscription and subscribed to Hubspot would we lose anything? Thanks, Alan

                    Moz Pro | Oct 22, 2016, 6:49 AM | Kingalan1
                    0
                  • theLotter

                    SEOMoz API not working for Scrapebox

                    I want to import SEOMoz data to list of URLs I have using scrapbox. I added in my credentials according to the API but am getting error 401 as the status of all my links. Any idea why and what I should be doing?

                    Moz Pro | Jul 31, 2013, 3:49 AM | theLotter
                    0
                  • PlanesTrainsAutos

                    Adding new categories to my website and getting them ranked

                    Hi, I currently run a website and have added a couple of new categories lately. The website is Planes Trains Automobiles Co UK. For example I want to add "Planes for sale" as a new category. What is the best way to go about this? Will each aircraft added add content therefore ranking? I don't want to approach an SEO company yet as the service would be free for the time being? Thanks

                    Moz Pro | Feb 11, 2013, 2:28 PM | PlanesTrainsAutos
                    0
                  • Whitespark

                    Is there a way to get the domain authority of a subdomain?

                    For example, www.storage-mart.com and us.storage-mart.com both show the same DA in OSE. I believe it's the DA of the root domain. How can I compare the DA of the 'www' and 'us' subdomains?

                    Moz Pro | Jan 24, 2013, 8:05 AM | Whitespark
                    0
                  • YGF

                    How do I get a MozRank?

                    Hi all, Hoping that one of you Guru's might be able to shed a little light for me please. we launched the online arm of our gold bullion business on the 21st of February and I signed up for an account here on the 23rd of Feb. I don't have a MozRank for my site yet and I'd love to get one. The mozbar that I installed shows o linkes from 0 root domains etc. but google webmaster can see links that are inbound to my site. My questions are: Do I have to wait the 45-60 days that I believe it might take SEOmoz to give me a rank- or is there a process that I manually kick off? Is there anything other than google webmaster that I should be looking at to try and make sure that I am on the right track; I'd hate to go 45-60 days in the wrong direction before realising there is an issue. thanks in advance, YGF

                    Moz Pro | Mar 27, 2012, 10:06 PM | YGF
                    0
                  • afmaury

                    How can I reduce the number of links on a page and keep the site easy to navigate?

                    The SEOmoz Site Crawl indicates that we have too many on page links on over 9,970 pages. This is an ecommerce site with a large number of categories. I have a couple of questions regarding this issue: How important is the "too many on page links" factor to SEO? What are some methods of reducing the number of links when there are a large number of categories? We have main categories with dropdown menus currently and have found that they are used to browse and shop the store.

                    Moz Pro | Oct 26, 2011, 6:30 PM | afmaury
                    1

                  Get started with Moz Pro!

                  Unlock the power of advanced SEO tools and data-driven insights.

                  Start my free trial
                  Products
                  • Moz Pro
                  • Moz Local
                  • Moz API
                  • Moz Data
                  • STAT
                  • Product Updates
                  Moz Solutions
                  • SMB Solutions
                  • Agency Solutions
                  • Enterprise Solutions
                  Free SEO Tools
                  • Domain Authority Checker
                  • Link Explorer
                  • Keyword Explorer
                  • Competitive Research
                  • Brand Authority Checker
                  • Local Citation Checker
                  • MozBar Extension
                  • MozCast
                  Resources
                  • Blog
                  • SEO Learning Center
                  • Help Hub
                  • Beginner's Guide to SEO
                  • How-to Guides
                  • Moz Academy
                  • API Docs
                  About Moz
                  • About
                  • Team
                  • Careers
                  • Contact
                  Why Moz
                  • Case Studies
                  • Testimonials
                  Get Involved
                  • Become an Affiliate
                  • MozCon
                  • Webinars
                  • Practical Marketer Series
                  • MozPod
                  Connect with us

                  Contact the Help team

                  Join our newsletter
                  Moz logo
                  © 2021 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                  • Accessibility
                  • Terms of Use
                  • Privacy

                  Looks like your connection to Moz was lost, please wait while we try to reconnect.