Skip to content
VibeAISEO
VibeAISEOGet $100 free

Troubleshooting

Check domain ranking fails: nine symptoms and the fix for each

Start with the status code, not with the code the assistant wrote. Most failures are one of nine things, and eight of them take under a minute to confirm.

A paper collage of a bridge with nine broken sections spanning a misty valley

Symptom to cause to fix

SymptomLikely causeFix
HTTP 401Key missing or wrongCheck the key name in the env variable
HTTP 402Credit has run outTop up USDT (TRC-20) from the account page
ok is false, status 200Bad parameter or unknown actionCompare the action name letter by letter
Blank cell for one domainProtocol or slash in the inputSend the bare domain only
All zeros for a new siteFew or no links indexed yetWait for the monthly refresh
Score differs from Ahrefs or MozDifferent metric and formulaCompare only within one tool
Fewer rows than expectedOne call returns up to 1,000 rowsUse page and per, deep paging stops at 50,000
Browser blocks the requestWrong URL or a mixed-content pageUse https and check the base URL
Cost higher than expectedLoop or paid action on loadRead _credits after each call

Read the response before you read the code

Every response has an ok field. Authenticated ones also carry _credits. Print both and you have solved half the cases.

People often blame the code. It is usually fine. With no new evidence, the assistant rewrites working parts and adds a retry, which is worse. Give it the raw response and the status code instead, and ask for one change.

A 401 means the key is missing or bad, and a 402 means credit ran out. They look alike in a front-end that just says something went wrong.

A post-mortem in three lines

Example, not a real customer: a founder's checker showed blanks for a week. The cause was a trailing slash from a copy-pasted URL column. One cleaning step fixed it, and no code was rewritten.

The five-minute triage order

  1. 1

    Read the status code

    A 401 or 402 ends the search. Everything after that is about the data you sent.

  2. 2

    Print the raw JSON

    Look for ok and, on authenticated calls, _credits. If ok is true, the API did its job.

  3. 3

    Try the same domain in the free box

    The checker on the home page uses the free domain action. If it works there, your tool is changing the input.

  4. 4

    Change one thing

    Ask the assistant for exactly one fix, never a rewrite, and rerun with the same three domains.

A distant gardener observing an empty garden with lush but fruitless green plants

What to check when the tool shows nothing and no error appears

Some failures are quiet. The request succeeds, the status is 200, and the table is empty. That is the hardest kind to debug, because nothing on the screen says stop.

A short list of checks catches most of them before anyone starts rewriting code.

A 200 with an empty result is not a success

An empty list from a successful call usually means the input went in wrong, not that the domains have no links. Picture a checker that sends a domain with a trailing space. The call succeeds, the answer is thin, and the cell looks blank.

Print the domain exactly as it was sent, and put it in the same log line as the response. The difference then shows at a glance.

Count the rows in and the rows out

Before you trust a table, compare how many domains you sent with how many came back. A list of 50 domains that returns 47 rows has three silent gaps, and those gaps point at the inputs to check first.

Build the count into the tool rather than checking it by hand. A one-line warning that says sent 50, received 47 is worth more than a page of reassurance.

Tell the assistant to fail loudly

A tool that catches every error and shows a blank is the usual cause of long debugging sessions. Ask the assistant for a visible message when a field is missing, and for the raw response to appear on the page when that happens.

A loud failure costs you a minute. A quiet one can cost you a week of looking at the wrong code.

Keep three known domains as a fixed test

Choose three domains you already understand: one large, one small and one you know well. Run them after every change. When a result moves for a domain you know, the change is the story.

That habit makes the three-domain test more useful than any new test you could add.

Store those three domains in the prompt as a comment, so the assistant runs the same set every time it edits the tool.

Why rewrites make it worse

Assistants try to be helpful, which means they change many things at once. You then cannot tell which change mattered.

Keep the earlier version in a note or in version history so you can go back. One fix per prompt also gives you a clean record of what worked, which is gold when the same symptom returns a month later.

A paper collage of wooden tracks and gears branching into shadowed failure paths

Retries and failure paths you can read later

Retries in a check domain ranking tool are where costs and confusion grow together. The fix is not to remove them, but to make each attempt visible.

Write the failure path down, so the next person who opens the file can follow it without guessing.

Why a capped retry beats an automatic fix

An automatic fix asks the assistant to rewrite code while the tool is running, and nobody can say later what changed. A capped retry does the same thing each time. Limit it to two tries, then stop and show the error.

The stop is the feature. A tool that gives up loudly is easier to trust than one that quietly keeps trying.

One log line for every attempt

Each attempt should leave one line: the time, the action, the status code and the _credits balance after the call. Say that in the prompt. Twenty identical lines tell you the loop is running, while twenty lines that vary tell you the input is changing.

A log like this also shows a cost problem early, long before the balance page does.

What the tool does when the cap is reached

Pick the behaviour before the first failure. Usually the tool should show the status code, the domain and the time, then stop without a second attempt.

A message like that gives the next person the three facts they need to start, and it saves a round of back and forth with the assistant.

Once the cap is reached, the message should also say how many attempts were made, so the count itself becomes the evidence.

Quick answers

Why does the score look low for a big brand?

Check the exact domain you sent. A subdomain or a regional domain has its own link count. The DR formula is a log of referring domains, so a young or niche domain scores low even if its brand is famous.

Is a 402 a bug in my tool?

No. It means credit ran out. Top up from the account page with USDT on the TRC-20 network, and free actions keep working meanwhile.

Should I add a retry for errors?

Only a small one, twice at most. Unlimited retries on a 401 or 402 just repeat the same failure, and on paid actions they repeat the cost too.

Before you ask the assistant for a fix

  • Write down the status code and the exact message
  • Paste the raw response into the prompt, not your summary of it
  • Ask for one change and name the function it touches
  • Keep the previous version in a note so you can go back
  • Run the same three domains again and compare the row count

When the bill climbs but the output still looks fine

A tool can return correct numbers and still run up a bill. The cost usually comes from how often the code asks, not from what it asks for.

The two patterns below cause most of the surprises in this area.

A paid call that runs on page load

A paid action placed in code that runs when the page opens will fire every time someone visits, reloads or resizes the window. Picture a visitor who refreshes ten times while reading. Ten paid calls happen before anyone presses a button.

Move the paid call behind a button and read _credits after the first press. The free actions can run on load without touching the balance, so keep those where people expect them.

A retry inside a loop multiplies

Picture a loop over 100 rows where each row allows two retries. In the worst case that is 300 calls for one click. Check that the retry counter sits outside the loop, or that the loop stops at the first 401 or 402.

A 402 means the balance is gone. Retrying it cannot bring the balance back, so the only thing a retry adds is noise and a longer wait before the error appears.

Where to go next

If the numbers are right but you want fewer surprises, the guardrail list is the next page. For field names and actions, open the reference.

Spreadsheet users should compare against the Sheets recipe, because its three common slips overlap with rows four and five here.

If you are new to this, one habit does most of the work. Keep a copy of the raw response in a note next to the prompt. When the same symptom returns, you can compare the two responses line by line. Guessing is slower.