> For the complete documentation index, see [llms.txt](https://docs.mobb.ai/mobb-user-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mobb.ai/mobb-user-docs/common-troubleshooting-scenarios/pr-creation-fails.md).

# Pull Requests - PR creation fails

**Symptoms**

* Clicking **Create a Pull Request** returns an error.
* No PR/MR appears in your repository.

**Likely cause**

The most common root cause is that Mobb has **no active SCM connection** for the target repository — the SCM credential/token has expired, was revoked, or is missing write permission. For on-premises SCMs, the broker connection may be down.

**Resolution**

1. Go to the **Integrations** page and confirm the relevant SCM shows as **Connected**. If not, reconnect it (see [I get an authorization error when connecting to my repository](/mobb-user-docs/common-troubleshooting-scenarios/scm-authorization-error.md)).
2. Make sure the token has permission to create branches and pull/merge requests (for GitLab, the `api` scope and at least a **Developer** role).
3. For on-premises deployments, verify the broker is healthy — see [My broker can't reach the SCM](/mobb-user-docs/common-troubleshooting-scenarios/broker-cannot-reach-scm.md).
4. Retry creating the pull request.

{% hint style="info" %}
Still stuck? Contact <support@mobb.ai>.
{% endhint %}
