# Method: projects.locations.integrations.executions.troubleshoot

- [HTTP request](https://docs.cloud.google.com/application-integration/docs/reference/rest/v2/projects.locations.integrations.executions/troubleshoot#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/application-integration/docs/reference/rest/v2/projects.locations.integrations.executions/troubleshoot#body.PATH_PARAMETERS)
- [Request body](https://docs.cloud.google.com/application-integration/docs/reference/rest/v2/projects.locations.integrations.executions/troubleshoot#body.request_body)
- [Response body](https://docs.cloud.google.com/application-integration/docs/reference/rest/v2/projects.locations.integrations.executions/troubleshoot#body.response_body)
  - [JSON representation](https://docs.cloud.google.com/application-integration/docs/reference/rest/v2/projects.locations.integrations.executions/troubleshoot#body.TroubleshootExecutionResponse.SCHEMA_REPRESENTATION)
- [Authorization scopes](https://docs.cloud.google.com/application-integration/docs/reference/rest/v2/projects.locations.integrations.executions/troubleshoot#body.aspect)
- [IAM Permissions](https://docs.cloud.google.com/application-integration/docs/reference/rest/v2/projects.locations.integrations.executions/troubleshoot#body.aspect_1)
- [Try it!](https://docs.cloud.google.com/application-integration/docs/reference/rest/v2/projects.locations.integrations.executions/troubleshoot#try-it)

View detailed explanation of why an integration execution failed, using LLM

### HTTP request

`GET https://integrations.googleapis.com/v2/{name=projects/*/locations/*/integrations/*/executions/*}:troubleshoot`

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `name` | `string` Required. Execution resource name. Format: projects/{gcpProjectId}/locations/{location}/integrations/{integration}/executions/{executionId} |

### Request body

The request body must be empty.

### Response body

Response for troubleshooting an integration execution.

If successful, the response body contains data with the following structure:

| JSON representation |
|---|
| ``` { "executionId": string, "displayMessage": string, "errorMessage": string, "rootCause": string, "detailedExplanation": string } ``` |

| Fields ||
|---|---|
| `executionId` | `string` The execution id of the integration execution to be troubleshooted. |
| `displayMessage` | `string` Display message to be shown to the user. Example - If integration execution succeeded, this field value can be "Integration execution succeeded. No troubleshooting needed.". |
| `errorMessage` | `string` Error message of the integration execution, if the execution failed. |
| `rootCause` | `string` Root cause of the integration execution failure. |
| `detailedExplanation` | `string` Detailed explanation of the root cause of the integration execution failure. |

### Authorization scopes

Requires the following OAuth scope:

- `https://www.googleapis.com/auth/cloud-platform`

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp).

### IAM Permissions

Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource:

- `integrations.executions.get`

For more information, see the [IAM documentation](https://cloud.google.com/iam/docs).