glean-common-errors
Installation
SKILL.md
Glean Common Errors
Overview
Glean provides enterprise search across connected data sources with AI-powered results. API integrations involve two distinct token types (indexing vs. client) and a custom datasource model for pushing content. Common errors stem from token type mismatches, permission misconfiguration that silently hides documents from search results, and bulk indexing failures caused by duplicate upload IDs or oversized documents. Stale results are a frequent complaint -- Glean indexes asynchronously, so newly pushed documents may take 1-5 minutes to appear in search. This reference covers authentication, indexing pipeline, and search-time issues.
Prerequisites
- A redacted correlation ID, UTC timestamp, endpoint class, and HTTP status; omit headers, real queries, and indexed bodies.
- A scoped read-only diagnostic credential, a named owner for any connector or ACL change, and a known-good synthetic probe.
Instructions
- Classify the symptom by status code and operation before changing configuration.
- Reproduce once with the synthetic probe and capture only status, latency band, and correlation ID.
- Check token scope, rate-limit budget, request shape, connector freshness, and ACL watermark in that order.
- Make one reversible fix at a time; access-scope changes require owner approval and allow/deny probes.
- Escalate a redacted diagnostic bundle if the correlation class persists after rollback.