Troubleshooting
These notes are for running it on your own computer. Pick the message you're seeing.
Login
- Enable the YouTube APIs.
The error includes the exact link. Open it, press Enable, wait a minute, retry.
More detail
Both YouTube Data API v3 and YouTube Analytics API must be enabled.
- Use Personal mode.
Google says "Access blocked: app not verified" or shows an unverified-app warning when the OAuth client is not in Personal mode.
More detail
Create a Personal-mode client (SETUP.md step 1). If you must use an External app, add your account as a test user, or on the warning screen choose Advanced and continue, which is expected for your own tool.
- Sign in with the owner account.
client_user_mismatchmeans a Personal-mode client works only for the Google account that created it. Sign in with that account at the consent screen. - Stop the 7-day expiry.
The Cloud app is in Testing mode. Recreate the client in Personal mode, or press Publish app (SETUP.md, "If you cannot use Personal mode"), then run this.
Mac, Terminal
python3 scripts/setup.py --forceWindows, PowerShell
py scripts/setup.py --forceLinux
python3 scripts/setup.py --force - Save the login again.
"Google no longer accepts the saved login." The token was revoked, expired, or unused for six months. Run this.
Mac, Terminal
python3 scripts/setup.py --forceWindows, PowerShell
py scripts/setup.py --forceLinux
python3 scripts/setup.py --force
More detail
Channel not found / the wrong channel. At the consent screen, choose the account or Brand Account that owns the channel. Run this to choose again.
Mac, Terminal
python3 scripts/setup.py --forceWindows, PowerShell
py scripts/setup.py --forceLinux
python3 scripts/setup.py --forceSearch
- Wait for the quota reset.
It resets at midnight Pacific. Searches cost about 102 units, so about 98 a day.
More detail
Use
--dry-run, cache hits are free (results are cached 24 hours), and preferaudit.pyandanalytics.py(cheap calls). - Skip hidden subscriber counts.
Some channels hide them. Ratios that need subscribers are skipped for those channels.
- Retry autocomplete later.
The suggestions endpoint is public but unofficial; Google can rate-limit it.
More detail
Wait a few minutes, use fewer expansions (
scout.pywithout--all), or retry later. Results are cached for 24 hours.
Setup
- Connect to YouTube.
Run this. Tools that say NO SETUP never need it.
Mac, Terminal
python3 scripts/setup.pyWindows, PowerShell
py scripts/setup.pyLinux
python3 scripts/setup.py - Run it in your own terminal.
The assistant says it can't run commands or reach the network. That happens in a chat-only app or a sandbox without network.
More detail
Run the command on your computer and paste the output (docs/COMPATIBILITY.md).
- Check the private file.
Setup says no keychain was usable and used a private file. Check where things are with this command. It never prints values.
Mac, Terminal
python3 scripts/setup.py --statusWindows, PowerShell
py scripts/setup.py --statusLinux
python3 scripts/setup.py --statusMore detail
Expected on servers, sandboxes and Linux without
secret-tool(installlibsecret-toolsand have a desktop keyring running) or without an unlocked session. The file is readable only by your account but not encrypted. - Open the printed link.
The wizard page doesn't open. Copy the link it printed into a browser on the same computer.
More detail
It only works on 127.0.0.1 and only with its one-time token, so a link from an earlier run will say "forbidden". Over SSH or in a sandbox use this.
Mac, Terminal
python3 scripts/setup.py --cliWindows, PowerShell
py scripts/setup.py --cliLinux
python3 scripts/setup.py --cli - Re-paste the volume key.
Volume provider says "401", "invalid key" or "payment required". Re-run this and re-paste.
Mac, Terminal
python3 scripts/setup.py --volumeWindows, PowerShell
py scripts/setup.py --volumeLinux
python3 scripts/setup.py --volumeMore detail
DataForSEO needs the generated API password from its API Access page, not your account password, and a funded balance for real data. Keywords Everywhere needs credits. Keyword Tool needs a Pro plan with API access.
A volume run stopped with "estimated cost over limit". That is the guard. Look at the cost line, then raise
--max-usdor add--yesif you agree.
Writes
- Turn write access on.
"Write access is not enabled." Run this and sign in again.
Mac, Terminal
python3 scripts/setup.py --enable-writesWindows, PowerShell
py scripts/setup.py --enable-writesLinux
python3 scripts/setup.py --enable-writesMore detail
writeback.py applyalso refuses unless you run it in a real terminal yourself; your assistant can't confirm changes for you. - List what changed.
A write-back changed something you did not want. This lists what was changed.
Mac, Terminal
python3 scripts/writeback.py historyWindows, PowerShell
py scripts/writeback.py historyLinux
python3 scripts/writeback.py history - Restore one video.
This restores the saved original title, description and tags of that video.
Mac, Terminal
python3 scripts/writeback.py revert VIDEO_IDWindows, PowerShell
py scripts/writeback.py revert VIDEO_IDLinux
python3 scripts/writeback.py revert VIDEO_ID - Use py on Windows.
In PowerShell use
py. Install Python from python.org or the Microsoft Store, and choose Add python.exe to PATH.More detail
Paths in docs use
~; on Windows that is your user folder, and your saved login lives in Windows Credential Manager (or, as a fallback,%USERPROFILE%\.config\untiedlabs-keywords). - Start over.
These revoke and delete the tokens. The status command shows what is still stored. Then delete the settings folder (
~/.config/untiedlabs-keywordson Mac and Linux,%USERPROFILE%\.config\untiedlabs-keywordson Windows) and the pack folder.Mac, Terminal
python3 scripts/auth.py logoutWindows, PowerShell
py scripts/auth.py logoutLinux
python3 scripts/auth.py logoutMac, Terminal
python3 scripts/auth.py logout --writesWindows, PowerShell
py scripts/auth.py logout --writesLinux
python3 scripts/auth.py logout --writesMac, Terminal
python3 scripts/setup.py --statusWindows, PowerShell
py scripts/setup.py --statusLinux
python3 scripts/setup.py --status