> ISPO SDK documentation. [HTML](https://ispo.ai/docs/types/core.AgentScheduledRunErrorCode.html) · [Documentation index](https://ispo.ai/docs/llms.txt)

# Type Alias AgentScheduledRunErrorCode

```typescript
AgentScheduledRunErrorCode:
    | "not-signed-in"
    | "project-context-not-billable"
    | "not-configured"
    | "invalid-request"
    | "quota-exceeded"
    | "run-not-cancellable"
    | "run-not-committable"
    | "run-not-discardable"
    | "subscription-required"
    | "run-not-found"
    | "payload-too-large"
    | "offline"
    | "failed"
```

Stable, id-free failure categories for a scheduled-run call — mirrors the host service union. `not-signed-in` when no ISPO Cloud session; the worker's typed quota/cancellability codes pass through; `offline` for an unreachable API. A missing hosted-runs grant is NOT one of these — it rejects the call (raising the host ASK-FIRST consent), it does not resolve `{ ok: false }`.
