Troubleshooting¶
This guide collects the most common issues reported for the NotebookLM Enterprise clients (CLI and Python SDK) and outlines quick checks to resolve them.
Authentication errors¶
- Confirm that
GOOGLE_APPLICATION_CREDENTIALSpoints to the correct service-account JSON file. - If you rely on the gcloud CLI, refresh Application Default Credentials with
gcloud auth application-default login. - Verify that the notebook region and the project number used for authentication match the resources you are operating against.
403 or 404 responses from the API¶
- Run
nblm-cli doctorto double-check the--project-numberand--locationvalues. - Ensure the NotebookLM Enterprise API is enabled for the target project in Cloud Console.
Upload timeouts¶
- The CLI uses a default timeout of a few minutes. Increase it with
--timeout-secondsand re-run the command. - For the Python SDK, pass a higher
timeoutvalue toclient.upload_sourceand enable the retry policy. - Consider compressing or splitting very large files before uploading them.
When you need more help¶
- Launch commands with
--debugto capture verbose logs. - When filing a GitHub Issue, include the command that failed, environment details, and sanitized log snippets (omit sensitive data).
- For contribution guidelines, refer to CONTRIBUTING.md.