ToolSura Blog
ArticlesAboutContact
Search

Stay in the loop

Join thousands of developers getting weekly insights into modern web development, AI tools, and productivity.

© 2026 ToolSura Blog
AboutContactPrivacy PolicyTerms of ServiceRSS

    Table of Contents

    403. "You do not own this site, or the inspected URL is not part of this property"401. when using `-apikey`HTTP 429 / 5xx. throttlingSitemap fetch fails (404 / timeout)"no URLs given"Empty / zero resultsUnexpected argument "-something"wrong: ./gsc-indexer -creds sa.json "url" -color alwaysright: ./gsc-indexer -creds sa.json -color always "url"Permissions / scope5-point diagnostic checklistSources
    HomeToolsura BlogArticle

    Troubleshooting gsc-indexer: 403, 401, and other errors

    A

    Abhay Khant

    Jan 1, 1970 • 3 min read

    Troubleshooting gsc-indexer: 403, 401, and other errors
    gsc-indexer troubleshooting panel with 403 Forbidden and 401 Unauthorized errors beside a magnifying glass over a pulse line

    A lookup table of every error you can actually hit, and the fix for each.

    403. "You do not own this site, or the inspected URL is not part of this property"

    The most common error. Three causes, in order of likelihood:

    1. The service account isn't added to the property. Go to GSC → Settings → Users and permissions, and add the SA's client_email as a Full user. See service-account setup.
    2. Added as Restricted, not Full. Restricted users can't inspect URLs. Remove and re-add as Full.
    3. URL host doesn't match the property. https://toolsura.com/ and https://www.toolsura.com/ are different properties. Inspect the URL exactly as it appears in the property prefix.

    401. when using -apikey

    The GSC URL Inspection API requires OAuth, not an API key. API keys return 401. Use -creds with your sa.json instead. (An API key is accepted by the flag parser but will always 401 at the API.)

    HTTP 429 / 5xx. throttling

    Google is rate-limiting you. The tool already retries with backoff, but if it persists, raise -delay (e.g. -delay 10s). See throttling guide.

    Sitemap fetch fails (404 / timeout)

    • 404. the sitemap URL is wrong; open it in a browser to confirm.
    • timeout. the host is slow or down; the fetch has a 30s limit.

    "no URLs given"

    You started the tool without any URL, batch file, or piped input. Provide one:

    ./gsc-indexer -creds sa.json "https://www.toolsura.com/"
    

    Empty / zero results

    • Piping but forgot the pipe? cat urls.txt | ./gsc-indexer …. without the pipe, stdin is your keyboard and the run finds nothing.
    • Batch file path wrong or empty.

    Unexpected argument "-something"

    A flag placed after a URL gets treated as a URL (Go stops parsing flags at the first non-flag). Put all flags before URLs:

    ## wrong:  ./gsc-indexer -creds sa.json "url" -color always
    ## right:  ./gsc-indexer -creds sa.json -color always "url"
    

    Permissions / scope

    The tool requests the webmasters.readonly OAuth scope. Even so, the service account still needs Full property access in GSC. scope alone isn't enough to inspect.

    5-point diagnostic checklist

    • Cloud project exists and Search Console API is enabled
    • sa.json present and readable
    • SA email added to the property as Full
    • Property prefix exactly matches the inspected URL (www, https)
    • Using -creds, not -apikey

    If all five check out and it still fails, re-run with -dry-run to isolate whether the problem is URL expansion or the API call.

    Sources

    • Google Search Console
    • Google Search APIs overview
    • Service account OAuth (Google Identity)
    • About service accounts (Google Cloud IAM)
    • Verify site ownership
    • Indexing API (JobPosting/BroadcastEvent only)
    • Request indexing / inspect a URL

    Frequently Asked Questions

    developer-tools
    cli-tools
    search
    website-analysis
    A

    About Abhay Khant

    A passionate tech enthusiast and professional developer specializing in AI, automation, and modern web development. Sharing insights and guides to help others build better software faster.

    View full profile →

    Join the Newsletter

    Get articles like this delivered to your inbox every Thursday.

    What to read next

    Stop Windows from Installing Apps Without Permission
    Jan 1, 197010 min read

    Stop Windows from Installing Apps Without Permission

    LG and Dell monitors silently push apps via Windows Update. Learn how to stop Windows from installing apps without permission and detect what's on your PC.

    AAbhay Khant
    Indexing many URLs: batch files, stdin, and sitemaps
    Jan 1, 19702 min read

    Indexing many URLs: batch files, stdin, and sitemaps

    Submit URLs to Google in bulk with gsc-indexer: batch files, stdin pipes, and sitemap expansion into every <loc> (capped at 50,000 URLs).

    AAbhay Khant
    Big runs without getting throttled: -delay, -q, and -dry-run
    Jan 1, 19702 min read

    Big runs without getting throttled: -delay, -q, and -dry-run

    Run gsc-indexer over thousands of URLs without Google throttling you: raise -delay, use -q for clean progress, and survive 429/5xx backoff.

    AAbhay Khant