---
title: Troubleshoot Smart Gate
description: "Fix common Smart Gate problems, including pull requests that aren't reviewed, opt-ins Smart Gate refuses, wrap PRs that fail, and gates that don't ramp."
product: general
lang: en
token_estimate: 565
---
# Troubleshoot Smart Gate

> For AI agents: a documentation index is available at [/llms.txt](/llms.txt). Append `.md` to any page URL for markdown, or send `Accept: text/markdown`.

Use this page when Smart Gate doesn't review a pull request, can't wrap one, or doesn't ramp a gate. Most problems show up as a Smart Gate comment on the pull request, and the comment says what to do next.

## Smart Gate doesn't review a pull request

- **Smart Gate is off, or the repository isn't added**: an organization admin turns Smart Gate on and adds repositories in its settings. Go to [Set up Smart Gate](https://docs.statsig.com/smart-gate/set-up).
- **Automatic review is off, or the PR opened before Smart Gate was on**: comment `@statsig gate this` on the PR.
- **The PR is a draft, or comes from a fork or a bot**: Smart Gate skips these.

## Common messages

| Message | What to do |
| --- | --- |
| Smart Gate isn't turned on for this GitHub installation. | Ask a Statsig organization admin to turn on Smart Gate, then reply `@statsig gate this` again. |
| Smart Gate isn't enabled for this repo. | Ask a Statsig organization admin to add the repository in the Smart Gate settings, then reply again. |
| Smart Gate couldn't build the wrap PR. | Nothing in your code changed. Reply `@statsig gate this` to retry. If it keeps failing, contact [Statsig support](https://docs.statsig.com/support-options). |
| Smart Gate didn't add a gate. | Smart Gate couldn't make this change safe to switch off. Follow the guidance in the comment, or [create a gate yourself](https://docs.statsig.com/feature-flags/create). |
| New commits aren't gated. | Reply `@statsig gate this` to rebuild the wrap with your latest commits. |
| Ramp paused | Follow the comment. The most common fix is adding a safeguard alert on the gate page. |

## Problems in the Smart Gate settings

- **Smart Gate settings aren't available here**: connect or inherit the Statsig GitHub App in the project. If that doesn't help, contact your Statsig account team.
- **The settings are view only**: only organization admins can change Smart Gate settings.
- **You can't pick a project for a folder**: inherit the GitHub connection in that project from _Settings > Integrations > Statsig GitHub App_.

