Skip to content
PWR

Reference

Troubleshooting

Error codes and workflow states you may see in PWR Studio, what each one means and what to do about it.

Errors from PWR carry a human-readable message and a machine-readable code:

{ "detail": "human readable message", "code": "machine_code" }

This page lists the codes and states you are most likely to meet. Where a run was refused, the code also appears on the run under Executions as an execution.refused event.

A queued task never starts

Likely causeWhat to check
The plan's concurrent-run limit or the agent's own concurrency limit is reachedWait for running work to finish, or raise the agent's limit
A daily organization quota is reachedLook for an execution.quota_exceeded event on the run
The task has a tool call with an unknown outcomeThe task shows as blocked; see "Needs reconciliation" below
Dependencies are not completedThe task moved to blocked instead of queued

A run was refused

CodeMeaningWhat to do
provider_not_executableThe agent's provider cannot run work yetChoose an executable provider. See PWR Auto
credential_unavailableThe agent's key is revoked, for another provider, or cannot be readRotate or rebind the credential. BYOK never falls back to a managed key
managed_model_unavailableThe agent has no key and no managed account exists for that providerBind a credential or pick another provider
model_not_activeThe model is deprecated or disabledPick an active model or use PWR Auto
model_not_available_byokThe model is not offered for your own keyPick another model
provider_not_approvedYour model policy does not approve that providerAn owner updates the policy
no_eligible_modelPWR Auto found no model that passes the filtersThe message lists each exclusion: context size, cost cap, capabilities
provider_unavailableThe provider refused recently and no fallback is allowed or reachableWait for the 15-minute cooldown, or allow fallback
workspace_missingThe project has no usable workspace sourceConnect a repository
subscription_inactiveNo active subscriptionAn owner subscribes or fixes the payment
insufficient_creditsBalance is empty or below the run's estimate or capTop up, or lower the cost cap
budget_exhaustedThe monthly hard limit is reachedAn owner raises the budget
concurrency_limitThe plan's concurrent-run limit is reachedWait or change plan

Refused runs are not retried automatically.

Task and board errors

CodeMeaning
illegal_transitionThe task cannot make that move from its current status, or a guard refused it. For example, queueing with an agent whose provider is not executable
illegal_moveNo legal path exists from the card's column to the target column. The response lists allowed targets
task_activeQueued or running tasks cannot be edited
task_terminalCompleted or cancelled tasks cannot be edited
version_conflictSomeone else changed the task. Reload and retry
dependency_errorThe dependency is in another project, cancelled, or would create a cycle
retryTransient contention. Send the request again
task_in_sprintThe task is already in another open sprint
acceptance_criteria_requiredSprint execution needs acceptance criteria on every selected task
agent_required, budget_requiredSprint execution needs an agent and a budget

Workflow states

StateCauseWhat to do
validation_failedYour validation command failed. With validation required, nothing was pushedFix the cause and retry the task, or re-run validation
push_failedCommit or push error, an unreachable remote, a detected secret, or a scope violation on a tests-only taskRead the last error. Remove the secret or out-of-scope change and retry
review_blockedThe reviewer returned block, failed, or produced a verdict that could not be parsedRequest a review again after changes
ci_pendingRequired checks have not reported, or no webhook arrivedRefresh CI from the review page
merge_failedGitHub refused the mergeRead the reason and merge again once fixed
needs_reconciliationA push, pull request creation, merge or tool call has an unknown outcomeSee below

A task whose agent changed nothing ends in awaiting_approval with the message "the agent produced no changes to push". No branch or pull request is created.

Needs reconciliation

PWR records every external write before sending it. If the result is unknown, for example GitHub answered with a server error or the connection dropped after sending, PWR does not retry blindly. An admin opens Settings → Operations, checks on GitHub or in the integration what actually happened, and resolves the operation as succeeded or failed. PWR then applies the consequence, such as adopting the existing pull request or marking the merge complete.

Approval and merge errors

CodeMeaning
head_mismatchNew commits arrived. Reload and review the current commit
merge_in_progressAnother merge of this pull request started less than a minute ago
workflow_conflictThe pull request is closed, or there is none
review_pendingA review is already running
no_review_agentNo reviewer agent is available for the task

The merge is blocked

A blocked merge lists which of the 11 gate checks failed. Common cases:

  • ci fails with no checks. With ci_mode set to required, the gate stays blocked until the repository defines required checks. Add required checks, or set ci_mode to if_configured in the project's workflow policy.
  • branch_protection fails. Your branch protection requires approving reviews on GitHub. PWR approvals cannot satisfy that rule.
  • human_approval or independent_review fails after a push. New commits invalidated them. Review and approve the current commit.
  • repository_authorized fails. The GitHub App was uninstalled or suspended, or the repository was removed from it.
  • no_uncertain_operations fails. Reconcile the open operation first.

GitHub connection errors

CodeMeaning
invalid_state, state_consumed, state_expiredThe install link was for another user or organization, already used, or older than 15 minutes. Start again from PWR Studio
installation_not_ownedYou do not control that GitHub account. A personal account must be yours; for an organization you must be an active admin
installation_claimedAnother PWR organization already holds that installation
installation_staleThe installation predates your install link. Start again
connection_unavailableThe installation is revoked or suspended
github_unavailableGitHub is not configured correctly on the PWR side. Contact us

Jira and issue tracker errors

Code or statusMeaning
pm_credentials_expired / credentials_expiredThe token was refused. Rotate it on the connection
permission_deniedThe account lacks a permission, or the GitHub App lacks the Issues permission
connector_unavailableLinear and Notion cannot be connected yet
Conflict on an issueThe issue and its task both changed. Resolve by keeping local or external

Other codes

CodeMeaning
rate_limitedToo many sign-in attempts or too many open live streams
last_ownerAn organization must keep at least one owner
plan_limit_projects, plan_limit_members, plan_feature_disabledA plan limit applies. See Billing and credits
template_unavailable, template_inputs_invalidSee Workflow templates
source_unavailableCoverage Autopilot needs a workspace source
artifact_restrictedThat artifact's content is limited to developers and above
tool_not_approvedAn admin must approve the integration tool first
billing_disabledBilling is not enabled on this deployment

If you are stuck, contact us with the request id from the error.