Run a health check first
Before diving into specific errors, runnotewise doctor to check whether your config, API key, output directory, and cache database are all healthy:
OK, WARN, or FAIL. Fix any FAIL items before proceeding.
Check the session log
Many errors include more detail in the structured session log. Tail the latest log after a failed run:Common issues
Transcript unavailable
Transcript unavailable
Video unavailable or private
Video unavailable or private
IP block error
IP block error
Error message:Cause: YouTube has temporarily throttled or blocked requests from your IP address. This typically happens after many rapid requests in a short time, or when running NoteWise from a cloud/datacenter IP that YouTube treats as suspicious.Fix:
- Wait 15–30 minutes and try again.
- Reduce the request rate in
~/.notewise/config.env: - Switch to a different network or use a residential IP.
- For large batch runs, lower
MAX_CONCURRENT_VIDEOSto reduce parallel load:
API key or authentication error
API key or authentication error
Error message:Cause: The API key for the selected LLM provider is missing, invalid, or has been revoked. This can also happen if you are using a model your account does not have access to.Fix:
- Run
notewise doctorto check whether the expected API key environment variable is set. - Run
notewise configto see the current masked configuration and verify the right key is present. - Re-run the setup wizard to update your key:
- Verify the key is valid by testing it directly with the provider’s API or dashboard.
- If using a non-default model, confirm your account has access to that model tier.
Rate limit (429)
Rate limit (429)
Error message:Cause: Your LLM provider is returning HTTP 429 (Too Many Requests). This can happen when processing many videos in parallel with a provider that has strict per-minute or per-day quotas.Fix:
- Wait a few minutes and retry.
- Lower the concurrency to reduce simultaneous LLM requests:
- Check your provider’s dashboard for quota usage and limits.
- NoteWise retries failed LLM requests automatically (up to 3 times with backoff), so transient 429s are often handled without intervention.
Network timeout
Network timeout
Error message:Cause: A network request to YouTube or your LLM provider timed out. This is usually transient.Fix:
- Retry the command. Timeouts are often resolved by simply running again.
- Check your network connection.
- If the timeout is consistently on LLM requests for long videos, the model may be taking too long to generate a response. Try a faster model:
Output directory permission denied
Output directory permission denied
Error message:Cause: NoteWise does not have write permission to the output directory.Fix:
- Check the permissions on your output directory:
- Grant write access:
- Or specify a different output directory where you have write access:
- When running in Docker, ensure the mounted host directory is writable by uid 1001 (the container’s user). See Running with Docker for details.
Getting more information
If none of the above resolves your issue:-
Tail the session log for the full error detail:
-
Run
notewise info "URL"to check whether the source is accessible before processing. -
Try with
--no-uito get plain output that is easier to redirect and share:
Reporting a bug
If you believe you have found a bug, open an issue on GitHub: https://github.com/whoisjayd/notewise/issues/new/choose Include:- The exact command you ran (with the URL replaced if needed)
- The error message from the terminal
- The relevant lines from
notewise logs --tail 50 - Your Python version (
python --version) and NoteWise version (notewise version) - The model you were using