Agent skill
glean-common-errors
Diagnose and fix common Glean API errors including indexing failures, search issues, and permission problems. Trigger: "glean error", "glean not indexing", "glean search empty", "debug glean".
Install this agent skill to your Project
npx add-skill https://github.com/jeremylongshore/claude-code-plugins-plus-skills/tree/main/plugins/saas-packs/glean-pack/skills/glean-common-errors
SKILL.md
Glean Common Errors
Error Reference
401 Unauthorized
Cause: Invalid or expired API token. Fix: Regenerate token in Admin > Settings > API Tokens.
403 Forbidden — Wrong Token Type
Cause: Using indexing token for search or vice versa.
Fix: Indexing API uses indexing tokens. Client API uses client tokens with X-Glean-Auth-Type: BEARER.
No Search Results After Indexing
Causes: Documents still processing (1-5 min), permissions blocking, query doesn't match. Fix: Wait 5 minutes. Check permissions allow the searching user. Broaden query.
Bulk Index Upload Errors
| Error | Cause | Solution |
|---|---|---|
uploadId already used |
Duplicate upload | Generate unique ID per run |
document too large |
Body > 100KB | Truncate or split content |
invalid datasource |
Datasource not created | Run adddatasource first |
missing required field |
No id or title |
Ensure all documents have both |
Permission Denied on Documents
Cause: Document permissions restrict visibility.
Fix: Set allowAnonymousAccess: true for public docs or add specific users/groups.
Resources
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
dockerfile-generator
Dockerfile Generator - Auto-activating skill for DevOps Basics. Triggers on: dockerfile generator, dockerfile generator Part of the DevOps Basics skill category.
branch-naming-helper
Branch Naming Helper - Auto-activating skill for DevOps Basics. Triggers on: branch naming helper, branch naming helper Part of the DevOps Basics skill category.
readme-generator
Readme Generator - Auto-activating skill for DevOps Basics. Triggers on: readme generator, readme generator Part of the DevOps Basics skill category.
makefile-generator
Makefile Generator - Auto-activating skill for DevOps Basics. Triggers on: makefile generator, makefile generator Part of the DevOps Basics skill category.
gitignore-generator
Gitignore Generator - Auto-activating skill for DevOps Basics. Triggers on: gitignore generator, gitignore generator Part of the DevOps Basics skill category.
pre-commit-hook-setup
Pre Commit Hook Setup - Auto-activating skill for DevOps Basics. Triggers on: pre commit hook setup, pre commit hook setup Part of the DevOps Basics skill category.
Didn't find tool you were looking for?