> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.divert.ly/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.divert.ly/_mcp/server.

# Troubleshooting

> Fixes for common Divertly problems: domains that won't verify, links that error, wrong targets, and API 401, 403, and 429 errors.

If your problem isn't here, [contact support](https://support.divert.ly), or check [status.divert.ly](https://status.divert.ly) to see whether there's an incident.

## My domain won't verify

* Check the **TXT** record matches what the Verify dialog shows: name `_divertly`, value `divertly-verify=<your domain name>`. A typo, a missing prefix, or a record added to the wrong domain are the usual causes.
* DNS changes can take up to 24–48 hours to propagate. Look the record up with a tool such as `dig TXT _divertly.<your domain>` before clicking **Verify** again.
* Some DNS providers append your domain to the record name automatically. If yours does, enter `_divertly` rather than the full name.
* API errors `E1420` and `E1430` mean the record wasn't found, or didn't match.

See [Bring Your Own Domain](/docs/user-guides/bring-your-own-domain).

## My domain or routes were disabled

Divertly re-verifies domains periodically. If the verification TXT record was removed, the domain, and every route under it, can be disabled. Restore the record, verify the domain again, and re-enable it. You'll get an email when a domain's verification status changes.

## My link returns an error

* **The route has no targets.** A route needs at least one target to resolve.
* **The route or domain is disabled.** Check the **Enabled** switch on both.
* **No target matched and the fallback is `Error`.** See [Target Selection](/docs/concepts/target-selection#when-nothing-matches). Set the fallback to `Resolve` with a default target if you want unmatched visitors sent somewhere.
* **The path is wrong.** The path is part of the link, so `go.example.com/Spring` and `go.example.com/spring` aren't the same. API error `E3410` means no route matched the path.
* **The CNAME isn't in place.** For your own domain, `CNAME` must point to `proxy.divert.ly`.

## Visitors land on the wrong target

* With a match-based strategy, the **first matching target wins**, and match values are regular expressions that match anywhere in the value. A loose pattern like `en` can match more than you expect. See [Target Selection](/docs/concepts/target-selection#match-based-strategies).
* Weights are relative, not percentages. Weights of 90 and 10 and weights of 9 and 1 behave the same.
* Disabled targets never receive traffic.
* Changes apply to the next request, but browsers may cache redirects they've already followed. Try a private window.

## I can't use a routing strategy

Weighted and Random are available on every plan. All the other strategies need a paid plan. See [Target Selection](/docs/concepts/target-selection#availability-by-plan).

## I can't add a path on `dvt.fyi`

Paths on the shared `dvt.fyi` domain are shared by every organization, so the one you want may already be taken. Prefix it with your company name. To avoid the issue completely, use [your own domain](/docs/user-guides/bring-your-own-domain).

## API: `401 Unauthorized`

The credential is missing, malformed, or has expired. Check that you're sending `Authorization: Key <base64(keyId:secret)>`, with the key ID and secret joined by a colon before encoding. See [Authentication](/docs/developers/authentication).

## API: `403 Forbidden`

The credential is valid, but its role doesn't allow the action. For example, a Read Only key can't create routes. Roles are enforced. See [Managing Users](/docs/organization/managing-users#roles).

## API: `429 Too Many Requests`

You've exceeded your rate limit. The key then has a 60-second cooldown, in which every request is refused. Wait at least a minute before retrying. See [Rate Limits & Errors](/docs/developers/rate-limits-errors).

## A domain or target shows a risk alert

A **Pending** or **Flagged** status appears when the risk check is running, hasn't been able to complete, or found something concerning. See [Security & Risk](/docs/concepts/security-risk).

## I lost my API key's secret

Secrets are shown only once and can't be retrieved. Delete the key and create a new one. See [Managing API Keys](/docs/organization/managing-api-keys).