---
title: Troubleshooting
description: Fixes for common Fidel errors in the CLI, the GitHub Action and pull request checks, listed by the exact error message.
---

# Troubleshooting

Each heading is the error message Fidel shows. Search this page for the text you see.

## This repo is not linked to Fidel

```text
This repo is not linked to Fidel. A team member needs to run `npx usefidel link` in this repo.
```

Run `npx usefidel link` from the repository root, signed in as a member of the team that owns the project.

## Repo is not connected to Fidel

```text
Repo "<owner/repo>" is not connected to Fidel. Connect it at app.usefidel.com → Settings → Repositories, or run `npx usefidel link`.
```

Run `npx usefidel link` from the repository root.

## GitHub OIDC token not available

```text
GitHub OIDC token not available. Make sure your workflow has `permissions: id-token: write`.
```

Add `id-token: write` under `permissions` in `.github/workflows/fidel.yml`. See [GitHub Action reference](/docs/github-action/#permissions).

## Config file not found

```text
Config file not found: <path>
```

Run `npx usefidel init` to create `fidel.config.json`, or set the action's `config-path` input to where the file is.

## fidel.config.json has no checks

Add a non-empty `designSystemChecks` array, a non-empty `checks` array, or both. See [Configuration](/docs/configuration/).

## Not signed in

```text
Not signed in. Run `npx usefidel login` first.
```

Run `npx usefidel login`. The same fix applies to "Your session has expired" and "Your credentials are incomplete".

## Could not detect GitHub repo

```text
Could not detect GitHub repo. Make sure you are in a git repo with a GitHub remote.
```

Run the command from inside the repository, and check `git remote get-url origin` points to GitHub.

## fidel init needs an interactive terminal

`init` can't run in CI or in a non-interactive agent shell. Run it yourself in a terminal. In CI nothing needs to run: the workflow and the GitHub App handle each pull request.

## No Figma account is connected

```text
No Figma account is connected for the user who linked this repo.
```

The person who linked the repository runs `npx usefidel connect-figma`. Design system checks still run without Figma; only Figma checks are skipped.

## Linked user not found

```text
Linked user not found. They may need to re-link the repo with `npx usefidel link`.
```

A current team member runs `npx usefidel link` in the repository.

## Variable looks like a credential

```text
fidel.config.json references $X, which Fidel will not expand: it looks like a credential
```

Remove the variable from the `url`. Use `{pr}`, `{branch}` or `{sha}` for preview URLs. See [Variables in url](/docs/configuration/#variables-in-url).

## Design-system validation requires a Pro plan

Design system checks on pull requests are on Pro and above. See [pricing](/pricing). The pull request is not failed; the check is skipped.

## Monthly validation limit reached

The check is skipped until your plan's monthly allowance resets, or until you upgrade. See [pricing](/pricing).

## No active subscription

The check is skipped. Check your billing in the web app.

## The page is behind a login

Fidel can't check a page that needs a login or password. Point the `url` at a publicly reachable preview.

## The page can't be reached

The `url` must be reachable from the internet. Check the preview deployment finished before the check ran.

## Figma access denied

The connected Figma account needs View or Edit access to the file. Share the file with that account, or connect a different one with `npx usefidel connect-figma`.

## project_not_found

The `projectId` in `fidel.config.json` doesn't belong to your team. Copy the id from the project's address in the web app (`/projects/<id>`).

## Upgrade to usefidel/fidel-action@v3

Change the `uses:` line in your workflow to `usefidel/fidel-action@v3`.

## No check ran on my pull request

A pull request that changes only `fidel.config.json` does not start a check. Include a frontend file, or set your own [`triggers`](/docs/configuration/#triggers). Also check the GitHub App is installed on the repository.
