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

# Troubleshooting

> Find the failed setup step and recover with evidence.

Check one boundary at a time: CLI availability, workspace access, provider connection, data arrival, monitor evaluation and delivery.

## CLI and instrumentation

Start with `struct --version` and `struct whoami --json` to confirm the installed CLI and intended workspace. For missing `init` or `telemetry query` commands, check [CLI version requirements](https://docs.struct.ai/reference/cli.md#install). For `workspace_unclaimed`, `workspace_paused` or activation errors, follow [Authentication and recovery](https://docs.struct.ai/reference/cli-auth.md#recovery).

* No telemetry: run `struct telemetry services --since 1h --json`; check the service name, signal, record timestamps, ingest key and exporter configuration in [Instrument with Struct](https://docs.struct.ai/observability/instrumentation.md#if-data-does-not-arrive).
* Connection access: use `struct connections list --json`, then `struct connections show CONNECTION_ID --json` and `struct connections test CONNECTION_ID --json`. Inspect `ok`, `health` and missing permissions.
* Monitor query failure: inspect `query.error` from preview or `queryError` from chart. With JSON output, a successful exit code alone does not prove the query worked.

## Instrumentation and monitor management

> [accordion] Struct didn't review my pull request
>
> Check that the PR is on your **default repository** (GitHub connection settings), is not a
> draft, and was not opened by a bot. Then check the **Rules** in Detect settings for author or
> path filters that exclude it. A PR with the `struct:skip` label is skipped on purpose.

> [accordion] Monitors weren't created after a deploy
>
> Struct only acts on deploys to the environment named in Detect settings, and the name must match
> exactly, including case. If you use GitHub Deployments, confirm the deploy job sets
> `environment:` and the GitHub App has the Deployments permission. If you use GitHub Workflow,
> confirm the repository webhook exists and is subscribed to Workflow runs, and that the chosen
> workflow completed successfully. If you use Other Webhook, confirm the post reached Struct with
> a deployment key. Monitor creation can take up to about an hour while Struct waits for real
> telemetry.

> [accordion] A monitor shows a permission error
>
> Struct needs write access in the provider to create monitors. Open Detect settings and check the
> grant for that provider. The **Action required** view in Detect lists every provider access
> problem.

## Alert triage and collaboration

> [accordion] Struct doesn't respond in Slack
>
> Struct must be invited to the channel and the Slack connection must be active in
> **Connections**. Struct does not respond in shared channels from other workspaces.

> [accordion] Alerts in my channel aren't being investigated
>
> Turn on **Auto-investigate** for that channel on the **Triage** page. If keyword filters are
> set, they decide what runs. Struct also skips messages inside threads and its own messages.

> [accordion] An alert fired but nothing posted to Slack
>
> Check the **Episodes** page. If the alert was graded below the channel's sensitivity floor, it
> was held on purpose. Lower the sensitivity, or reply on a related thread and tell Struct to
> always notify for that monitor.

> [accordion] Struct ignored my request in a thread
>
> Struct acts only on messages from people who are members of the channel. Mention Struct directly
> in the alert's thread and state the change you want.

## Coding agents and fixes

> [accordion] No PR after clicking Create PR
>
> Check that the GitHub App is installed on the target repository with permission to create
> branches and pull requests. Branch protection rules that require signed commits can also block
> it.

> [accordion] The PR's tests fail
>
> Struct runs your post-execution script and iterates when it fails, but it can only catch what
> the script catches. Match the script to your CI on the **Fix** page.

> [accordion] MCP server won't connect
>
> Use `struct mcp url` to check the server URL and `struct mcp install --client codex` (or
> `claude` / `cursor`) to configure your client. The client performs its own OAuth: for Codex run
> `codex mcp login struct`; in Claude Code use `/mcp` to sign in. `struct login` authorizes the
> CLI separately and does not repair the MCP client's login. See [Struct MCP](https://docs.struct.ai/mcp/overview.md).

## Integrations

> [accordion] Datadog returns 403
>
> Datadog checks permissions on the **application key's** role, not the API key. Compare the role
> against the full scope list on the [Datadog](https://docs.struct.ai/integrations/datadog.md) page. A 403 on metrics only
> usually means `timeseries_query` is missing. A 403 while setting up Auto Monitors usually means
> one of the write scopes is missing.

> [accordion] Log queries come back empty
>
> Confirm the credential can read the log group, workspace, or project you expect, and that the
> region is right. Struct only sees what the credential sees.

> [accordion] Struct can't see my repository
>
> Open **Connections → GitHub** and check the repository is enabled for the Struct GitHub App.
> Some organizations require an admin to approve the installation.

Still stuck? Email [help@struct.ai](mailto:help@struct.ai).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.