# Troubleshooting & Diagnostics

> Fix common macOS permission issues, browser extension pairing problems, model download errors, activation issues, and send scrubbed diagnostics.

URL: https://refto.one/app/docs/troubleshooting
Markdown: https://refto.one/llms.mdx/troubleshooting

## macOS permissions [#macos-permissions]

Refto only asks for macOS permissions when you use a feature that requires them:

- **Screen Recording:** Required for area/window/screen capture and screen recording from the Notch Shelf or shortcuts. Enable under **System Settings → Privacy & Security → Screen & System Audio Recording**.
- **Accessibility:** Required for certain global shortcuts and window detection. Enable under **System Settings → Privacy & Security → Accessibility**.
- **Files & Folders:** Required when importing from protected folders (Desktop, Documents, Downloads, external volumes). If macOS denied access earlier, re-enable it under **System Settings → Privacy & Security → Files & Folders**.

After changing a Screen Recording permission in macOS, quit and reopen Refto for macOS to apply it.

## Browser extension cannot connect [#browser-extension-cannot-connect]

1. Make sure **Refto.app** is running on the same Mac.
2. Check **Settings → Browser Extension → Connected Browsers**:
   - If your browser was previously declined, click **Allow again** so Refto can re-prompt on the next save.
   - If the token is out of sync, click **Rotate key** and save again—the extension will re-pair automatically.
3. Verify the local API is enabled under **Settings → Agent → Local API** (it is enabled by default for the browser extension).
4. In Safari, confirm **Save to Refto** is checked under **Safari → Settings → Extensions** and has permission for the website you are visiting.

## Local AI model downloads [#local-ai-model-downloads]

- Refto downloads model packs directly to your Mac's local cache (`~/Library/Application Support/Refto`).
- If you use a system proxy or VPN that fails to connect, Refto automatically retries and falls back to a direct connection.
- Make sure your startup volume has enough free disk space—Refto pauses background jobs automatically when free space drops below `max(2 GB, 2%)` to protect your Mac.

## Activation & system clock errors [#activation--system-clock-errors]

- **"Clock is wrong":** Refto detected that the Mac's clock moved backwards. Turn on **Set time and date automatically** in **System Settings → General → Date & Time**, connect to the internet once, and reopen Refto.
- **No seats left on code:** Sign in to [refto.one/account/licences](/account/licences) and remove an old or unused Mac to free up a seat.
- **Lost licence code:** Sign in to [refto.one/account/licences](/account/licences) with the email used at checkout—all codes live in your account.

## Repairing a damaged database [#repairing-a-damaged-database]

If your Mac lost power mid-write or a volume disconnected unexpectedly:

1. Open **Settings → Library** and follow the repair prompt.
2. Refto automatically restores from the latest verified daily backup in `<library>/backup/` (saving a copy of the broken database without deleting it).
3. If automatic backups were turned off, Refto can rebuild the index from the item files inside your `.reflib` folder.

## Sending in-app feedback & scrubbed diagnostics [#sending-in-app-feedback--scrubbed-diagnostics]

Open **Help → Send Feedback** inside Refto to report a bug or send a suggestion.

If you choose to attach diagnostics, Refto automatically **scrubs your private content** before anything leaves your Mac:

- Saved URLs are reduced to the site hostname only (paths and queries removed).
- Your filenames are reduced to the file extension only.
- Item titles, notes, and quoted text are redacted.

You can also email us directly at [hi@refto.one](mailto:hi@refto.one).
