# Troubleshooting

## I cannot sign in

- No verification email: check spam, then press **Send the link again** (it appears after you sign up, and when sign-in says "Wrong email or password"). "We could not send the email" means sending failed on our side; try again in a minute.
- Sign-in says "Wrong email or password" right after signing up: you have not opened the verification link yet. Until then sign-in answers as for a wrong password, whatever you type.
- The verification link took you to "Choose your password": you opened it in a different browser or device from the one you signed up in (or someone else signed up with your address). Choose a password there; that verifies the address and signs you in on that device. Opened in the browser you signed up in, the link signs you in directly.
- An invitation said "We did not email it": too many invitations went out recently from you, your organization or to that address. Copy the link from the Members page and send it yourself.
- Forgot the password: **Forgot password?** on the sign-in page. The link works once, for 1 hour. Setting a new password signs you out everywhere.

## The agent gets a 401 or keeps asking me to sign in

- Interactive client: remove the server from the client and add it again, then sign in once. Make sure you complete the consent screen in the browser.
- API key: check that the variable is set in the process that starts the client, that the header is exactly `Authorization: Bearer shk_...`, and that the key was not revoked.
- Using a header and OAuth together: when a client has an `Authorization` header configured it may not fall back to OAuth. Use one or the other.

## `list_libraries` returns nothing

You have not been granted a library. Owners and admins see every library in their organization. Members and agent identities need to be in a group that has a grant. Ask an admin, or see [Teams and access](/docs/teams-and-access). If you just added a library, it also needs to exist in the organization you signed in to.

## A tool says the library is not accessible

The error is `Library not found or not accessible`. Shoko gives it for a library that does not exist, one you may not read, and one being deleted. Run `list_libraries` and use an id or name from it.

## A library is stuck or failed to sync

Open the library in the dashboard and read the last error. The usual causes:

- The token expired or was revoked. Create a new one and replace it.
- The token does not cover the content, such as a Notion integration that pages were never shared with.
- GitHub through the Shoko app: the app was uninstalled or suspended, or the repository was removed from the installation. The library says which. Install the app again and add the repository as a new library, ask an owner to unsuspend it, or add the repository to the installation on GitHub, then press **Sync now**.
- Atlassian: the site address is wrong, or the email is not the account that created the token.
- The organization requires approval for the token and it is still pending.
- There are more libraries than the free plan holds (counted across the free organizations their creator made). See [Sync and limits](/docs/sync-and-limits). A full free plan does not fail a sync; the library shows **Limit reached** instead.
- "Indexing is paused until 00:00 UTC: the free plan indexes up to 150 MB of text a day per person": you have indexed that much today across the free organizations you created (deleted libraries count too). The sync resumes by itself after midnight UTC.
- "Free-plan indexing is paused until 00:00 UTC": the free plans' shared daily capacity is used up, which takes many people indexing on the same day. The sync resumes by itself after midnight UTC.
- A GitHub library says it "was added before GitHub repositories went through the Shoko GitHub App": it was added by URL or with a token, which Shoko no longer uses. What was indexed stays searchable. Delete the library and add the repository from **Add library**, **GitHub**.
- The source returned no documents, so Shoko kept the existing index. Check the token's access.

Fix the cause, then press **Sync now** on the library's page (once an hour per library on the free plan, every 5 minutes on a paid plan; the page shows when). Replacing a token starts a sync by itself, within the same limit. Until a sync succeeds, agents can still search what was indexed before.

## Search does not find something I know is there

- It may be newer than the last sync. Check `last_synced_at`.
- It may have been skipped: binaries, lockfiles, vendored, build and generated files, and documents over 1 MB of text are not indexed. See the source page.
- Try `grep` for exact strings, or `glob` to see whether the path is there. Paths are case-sensitive.
- `semantic` mode can miss exact names. Use `hybrid` (the default) or `keyword`.
- The library may show **Limit reached**: the free plan's size limit (or a paid plan's spending limit) is used up, so new documents and changes that make a document larger are not indexed until there is room. Deletions and other changes are still picked up. See [Sync and limits](/docs/sync-and-limits).

## A tool says it was rate limited

`Rate limit reached. Retry in N s.` Each person or agent gets about 60 tool calls in a burst, then one per second. An organization as a whole gets about 300 calls in a burst, then five per second, and runs at most two `grep` calls at a time (`Too many grep calls are running for your organization`). Wait and retry.

## I cannot add a library

On the free plan, one person can add up to 10 libraries a day (UTC), counting libraries deleted since. The limit resets at 00:00 UTC.

## ChatGPT or Claude does not show the option to add a server

Adding custom MCP servers depends on your plan and on workspace permissions. Ask your workspace admin.

## Still stuck

Email [support@stillshoko.com](mailto:support@stillshoko.com) with the client you use, what you expected, and what happened. Do not include keys or tokens.
