# grant_expired

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

The grant has ended. A grant names this credential for this client, but its lifetime is over.

**Refused by policy.** MCP sends it with `isError: true`.

## What it means

A grant names this credential for this client, but its lifetime is over.

## What the agent should do

Call request_access for the credential and the intent. A person must approve it. If they say no, do not ask again: stop and tell them what you cannot do.

For an intent that `request_access` cannot ask for (`cli_login`, `sign_in`, `fill_totp` and the rest): Asking for this from the agent is not built yet. Stop and tell the person, who can grant it with `bpw grant add`.

## What the person should do

Approve the new request, or extend access with `bpw grant add`.

## Which intents return it

*Status: `rotate` is partly built.*

- [`run_with`](/docs/intents/run_with)
- [`http_request`](/docs/intents/http_request)
- [`cli_login`](/docs/intents/cli_login)
- [`sign_in`](/docs/intents/sign_in)
- [`fill_totp`](/docs/intents/fill_totp)
- [`rotate`](/docs/intents/rotate) (partly built)

## How it looks

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

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

## Related outcomes

- [`scope_denied`](/docs/outcomes/scope_denied): Outside what any grant allows
- [`not_rotated`](/docs/outcomes/not_rotated): The rotation ended without a change
- [`disclosure_not_granted`](/docs/outcomes/disclosure_not_granted): The grant allows only sealed delivery
- [`minting_blocked`](/docs/outcomes/minting_blocked): The endpoint creates a credential
- [`budget_exhausted`](/docs/outcomes/budget_exhausted): The grant use budget is spent
- [`rate_limited`](/docs/outcomes/rate_limited): The grant rate limit is spent
- [All outcomes](/docs/outcomes) and [Typed outcomes and errors](/docs/typed-outcomes)
