Raised before the model call, so an exhausted workspace spends nothing. Recover by pairing a runner or connecting your own AI credential. Workspaces without a trial ledger are never metered and never see this.
These four are the one-time release working as designed. A runner fetches once when it prepares an attempt; a second fetch for the same attempt is refused.
Code
HTTP
Branch key
Means
NO_AGENT_CREDENTIAL
409
no_agent_credential
There is no coding-agent credential to release for this run
AGENT_CREDENTIAL_ALREADY_RELEASED
409
agent_credential_already_released
The credential for this attempt was already handed out
NO_RUN_ENV
409
no_run_env
The run’s project environment could not be fully resolved. It fails rather than starting half configured
RUN_ENV_ALREADY_RELEASED
409
run_env_already_released
The environment for this attempt was already handed out
AGENT_CREDENTIAL_UNREFRESHABLE
401
A stored credential could not be refreshed, usually because it was revoked
A retry gets a fresh attempt, and each attempt gets its own single release, so “already released” never blocks a retry.