> The index of all pages is at https://docs.afffast.com/llms.txt.

# link_destination_not_allowed

The destination is not on a domain that the program allows.

HTTP status: **422**. Error type: `invalid_request_error`.

The destination is not on a domain that the program allows.

## Example

```json
{
  "error": {
    "type": "invalid_request_error",
    "code": "link_destination_not_allowed",
    "message": "The destination is not on a domain that the program allows.",
    "param": "destination",
    "doc_url": "https://docs.afffast.com/errors/link-destination-not-allowed",
    "request_id": "req_3kQ9x7WmZpL2vNd8TfYb4A"
  }
}
```

## Causes

- The host of the destination is not on a domain that the program allows.
- The program has no allowed domain.

## How to fix

- Use a page on the domain of the advertiser. The message lists the allowed domains.
- Read the program with `GET /v1/programs/{id}` to see its domains.
