> ## Documentation Index
> Fetch the complete documentation index at: https://cloud.laravel.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Issues

> Track and debug issues in Laravel Cloud.

## Introduction

Issues detects errors and other signals from your Laravel PHP applications automatically, in real time. With rich context captured for every occurrence and smart insights, your team can resolve problems quickly and confidently. You can also work with your issues directly from your AI agents through our [MCP server](https://cloud.laravel.com/docs/mcp-server.md).

> [!NOTE]
>
> Issues is free during [**beta**](https://cloud.laravel.com/docs/observability.md#beta-features).

## Error tracking

Laravel Cloud currently supports automatic creation of issues by monitoring errors in Laravel PHP applications.

Cloud captures the errors your application reports, with stack traces, context, and the users affected. You can view them in the **Issues** tab under **Monitoring** in any environment.

## Investigate

### Issue list

Each row in the list represents a unique issue in the environment. Choose a preset or custom time range to explore the list and see occurrences and affected users in the chart above it.

You can filter the list by status, search by error class or code, and sort by **ID**, **First seen**, or **Last seen**.

### Issue details

Click an issue to open its details:

<table>
  <colgroup>
    <col width="162" />

    <col width="574" />
  </colgroup>

  <thead>
    <tr>
      <th>Section</th>
      <th>What it shows</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>**Metrics**</td>
      <td>Occurrences and affected users over time.</td>
    </tr>

    <tr>
      <td>**Stack trace**</td>
      <td>The latest occurrence's stack trace. Expand a frame to see the surrounding source code from your repository at the deployed commit.</td>
    </tr>

    <tr>
      <td>**Occurrences**</td>
      <td>Recent occurrences, with the time, user, and source of each. Click one to see its request headers and context.</td>
    </tr>

    <tr>
      <td>**Similar issues**</td>
      <td>Issues with the same class and code that you may [merge](#merging-similar-issues).</td>
    </tr>

    <tr>
      <td>**Environments**</td>
      <td>The issue's status and its first and last occurrence times in each affected environment.</td>
    </tr>
  </tbody>
</table>

## Manage

### Managing status

Each issue has one of four statuses:

| Status | Meaning |
| - | - |
| **Open** | The issue needs attention. |
| **Pending deploy** | A fix is ready. Cloud closes the issue after the environment's next successful deployment. |
| **Closed** | The issue is resolved. Cloud reopens it if it happens again. |
| **Ignored** | Cloud keeps recording occurrences but never reopens the issue. |

Each environment tracks its own status, so closing an issue in `staging` doesn't close it in `production`.

### Merging similar issues

Under **Similar issues**, select the issues you want to combine and click **Merge**. To undo a merge, hover over the merged issues count and click **Unmerge**.

## Configure

### How to enable

You can control error monitoring independently for each application and environment. It's on by default for new applications, and each environment starts capturing errors after its first deployment.

Tracking is off by default for applications created before the feature was available. To opt in, open the environment's **Issues** tab under **Monitoring** and turn on **Enable error monitoring**. The change takes effect on the next deployment.

In your application's **General** settings, you can choose whether new environments capture errors. By default, [preview environments](https://cloud.laravel.com/docs/preview-environments.md#error-monitoring) inherit the tracking setting from their target environment. If you want a different default for previews, you can turn tracking on or off in the automation that creates them.

> [!NOTE]
>
> Cloud error monitoring works alongside [Laravel Nightwatch](https://cloud.laravel.com/docs/environments.md#nightwatch-integration) and other error monitoring tools.

> [accordion] Supported Laravel versions
>
> Error monitoring is supported in Laravel 9.x through 13.x from the following versions onward.
>
> | Laravel | Minimum version |
> | - | - |
> | 13.x | 13.39.0 |
> | 12.x | 12.70.2 |
> | 11.x | 11.57.1 |
> | 10.x | 10.50.4 |
> | 9.x | 9.52.23 |

### What Cloud captures

When error monitoring is enabled, Laravel Cloud captures the errors your application reports.

For Laravel PHP applications, this includes every exception Laravel reports during HTTP requests, queued jobs, Artisan commands, and scheduled tasks. Laravel skips validation errors and `404` responses by default. You can exclude other exceptions from reporting with [`dontReport`](https://laravel.com/docs/errors#ignoring-exceptions-by-type).

Each occurrence includes the exception's class, message, and stack trace. Cloud also records the following details when available.

* The deployment running when the exception occurred
* The authenticated user's ID
* Details of the request, job, or command that raised the exception
* [Context attached to the exception](https://laravel.com/docs/errors#exception-context)
* [Laravel Context](https://laravel.com/docs/context) data

### Capture settings

When error monitoring is on, the environment's **General** settings show the following options. Changes take effect on the next deployment.

* **Capture request payload:** Include the request's input with errors from HTTP requests. This option is off by default. Uploaded files are listed by name, type, and size, but their contents are never sent.
* **Redacted request payload fields:** Use exact field names, including for nested fields. Listing a parent field alone leaves its nested values visible.
* **Redacted headers:** Request headers to redact.
* **Redacted command input fields:** Artisan command arguments and options to redact.

Laravel redacts these values inside your application, before anything is sent to Cloud. Each list starts with defaults for common secrets, such as passwords and the `Authorization` header. You may add to the defaults, but you can't remove them.

#### Default redacted values

| Setting | Defaults |
| - | - |
| Redacted request payload fields | `_token`, `password`, `password_confirmation`, `current_password` |
| Redacted headers | `Authorization`, `Cookie`, `Proxy-Authorization`, `X-CSRF-TOKEN`, `X-XSRF-TOKEN` |
| Redacted command input fields | `token`, `password`, `key`, `secret` |

### Notifications

Cloud notifies you when an issue first appears in an environment and when a resolved issue reopens. Email and Slack both use the environment's **Issues** [notification category](https://cloud.laravel.com/docs/notifications.md#environment).

#### Email notifications

For new environments, Cloud emails every organization member who can view the environment's issues. For environments created before error monitoring was available, or if you join the organization later, turn on the **Issues** category in your [email preferences](https://cloud.laravel.com/docs/notifications.md#email-notifications).

#### Slack notifications

New environments send [issue notifications to Slack](https://cloud.laravel.com/docs/notifications.md#slack-notifications) unless your organization's new environment behavior is **Mute all**. For older environments, turn on the **Issues** category in the environment's Slack settings.

### Permissions

Issues have their own [permissions](https://cloud.laravel.com/docs/rbac.md):

| Action | Required permission |
| - | - |
| View issues | **View environment issues** |
| Change an issue's status | **Edit environment issues** |
| Merge and unmerge issues | **Merge similar issues** |
| Turn error monitoring on or off, and change capture settings | **Edit environments** |
| Change the application's setting for new environments | **Edit applications** |
