# host_restricted

Source: https://botpassword.com/docs/outcomes/host_restricted

The destination address is not allowed. The host resolved to an address BotPassword never sends a credential to, such as loopback, a private network or link-local,…

**Containment.** MCP sends it with `isError: true`.

## What it means

The host resolved to an address BotPassword never sends a credential to, such as loopback, a private network or link-local, even when the grant names the host.

## What the agent should do

Do not retry with this host. Use a public https host, or tell the person.

## What the person should do

Credentials are sent only to public addresses. Use a public endpoint for the API.

## Which intents return it

- [`run_with`](/docs/intents/run_with)
- [`http_request`](/docs/intents/http_request)

## How it looks

```json
{
  "structuredContent": {
    "outcome": "host_restricted"
  },
  "isError": true
}
```

Intent-specific fields come alongside it when the intent has them.

## Related outcomes

- [`containment_unsupported`](/docs/outcomes/containment_unsupported): BotPassword cannot contain this request
- [`value_reflected`](/docs/outcomes/value_reflected): A credential's value came back
- [`value_too_short`](/docs/outcomes/value_too_short): Too short for sealed delivery
- [All outcomes](/docs/outcomes) and [Typed outcomes and errors](/docs/typed-outcomes)
