Search and access problems

Someone finds nothing or too much, queries are refused, or an MCP client or service account cannot get in.

Someone finds nothing, or misses a repository

Synaxis answers each person only from what their own linked accounts can read, so start with the person, then the repository.

  1. The person. In Users and roles, look at their Linked identities. With no linked account for a connection, that connection returns nothing to them; ask them to select Link in Me.
  2. A failed refresh. An identity with an error has an empty access until a refresh succeeds (Synaxis fails closed). Ask them to link the account again, or select Refresh my access now in Me.
  3. Upstream permission. They see a repository only if they can read it on GitHub or Azure DevOps. A permission granted upstream arrives with the next refresh (at most 15 minutes while they are active).
  4. The repository. In Repositories, check it is in and indexed (Indexing and source problems).
  5. The client. In CodeWrightAI, results from the project the person has open are left out of server answers on purpose, since the desktop indexes that project itself.

Someone still sees a repository they lost access to

Access is refreshed at sign-in, every 15 minutes while the person is active, and on GitHub membership and team webhooks. Azure DevOps sends no membership events, so its changes wait for the 15-minute refresh. For an urgent case, select Purge identities for the person in Users and roles: their identities, tokens and access are removed at once.

Queries are refused

Answer Cause Fix
license-required (403) No valid license: setup mode Install the license
license-expired (403) The license expired more than 14 days ago Install the renewal
budget-exhausted (429) The query budget is spent and set to refuse Raise the limit, or choose Keep answering queries (a query costs a fraction of a cent) on Budgets and usage
429 with Retry-After The caller's rate limit: "query calls" (120 a minute by default), "administration calls" (600), "sign-in and status calls" from one address (300), or "webhook deliveries" from one address (1,200) Wait the seconds Retry-After gives, or raise Api:QueriesPerMinute, Api:AdminPerMinute, Api:PublicPerMinute or Api:WebhooksPerMinute. If everyone is refused sign-in at once behind a proxy, name the proxy in Api:TrustedProxies
unauthenticated (401) No token, or it expired or was revoked Sign in again (synaxis login), or rotate the service account's token
access-denied (403) The token lacks a scope (query, events, write, admin) or the person lacks a role; the detail says which Sign in again asking for the scope, or give the role in Users and roles
not-indexed (409) The repositories the query named are not indexed yet Wait for indexing; see Indexing and source problems

Answers look out of date

Every answer says, for each repository it draws on, the commit it was indexed at and when. Compare it with Freshness on Repositories, and see Stale indexes.

An MCP client cannot sign in

  • The client must reach <public URL>/mcp and the OAuth metadata under <public URL>/.well-known/.
  • Dynamic client registration is off. Add the client under Auth:Clients with its client id and exact redirect URIs, then restart.

A service account finds nothing

A service account reads exactly the repositories it was granted. Check its grants (create a new account with the right Repositories it may read, or synaxis service-accounts create … --grant repo:<repo>), that it has the query scope, and that its token has not expired or been revoked (Service accounts in Users and roles).

See also