> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Schedule Target Error • AI Agent SDK

> ScheduleTargetError: Raised when a scheduled/agent-initiated send has an unroutable target.

# ScheduleTargetError

> Defined in the [**protocols**](../modules/protocols) module.

<Badge color="blue">AI Agent</Badge>

Raised when a scheduled/agent-initiated send has an unroutable target.

Carries the structured :class:`DeliveryValidation` reason/hint so the
scheduler/CLI can fail fast at *creation* time with an actionable message
(`channel 'telegramm' is not configured. Configured: telegram, slack.`)
rather than accepting a target that is only discovered dead at fire time.

## Constructor

<ParamField query="reason" type="str" required={true}>
  No description available.
</ParamField>

<ParamField query="hint" type="str" required={false} default="''">
  No description available.
</ParamField>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/gateway/protocols.py#L2345">
  `praisonaiagents/gateway/protocols.py` at line 2345
</Card>
