external_authentication_required

The task requires access to an external service (GitHub, Slack, Linear, etc.) that hasn't been authorized. Follow the auth_url to grant access.

The external_authentication_required error occurs when a cloud agent task needs access to an external service that the user hasn't authorized, or when the Warp GitHub App doesn't have access to the required repositories.


Details

  • HTTP Status: 401 Unauthorized

  • Retryable: No

  • Task State: FAILED


When does this occur?

This error is returned when:

  • GitHub not connected — Your Warp account is not linked to a GitHub account, but the task's environment includes GitHub repositories

  • Repository inaccessible — The Warp GitHub App is not installed on, or does not have access to, one or more repositories required by the task's environment

  • Account matching failed — A Slack or Linear user who triggered the task cannot be matched to a Warp account


Additional metadata fields

This error includes extra fields beyond the standard response format:

  • provider — The external service name (for example, "github", "slack", "linear")

  • auth_url — A URL to complete the authorization flow (when available)

  • inaccessible_repos — A list of repository names the agent cannot access (when applicable)


Example responses

GitHub user not connected

Repository inaccessible

Account matching failed (Slack/Linear)


How to resolve

GitHub not connected

  1. Follow the auth_url in the response to connect your GitHub account to Warp.

  2. Complete the OAuth authorization flow.

  3. Retry the task.

Repository inaccessible

  1. Follow the auth_url to install or reconfigure the Warp GitHub App.

  2. Ensure the app has access to all repositories listed in inaccessible_repos.

  3. Retry the task.

If you are using a team API key (service account), ensure the Warp GitHub App is installed on the organization that owns the repositories.

Account matching failed

  1. Ensure your Slack or Linear account is associated with the same email as your Warp account.

  2. If using Slack, verify the Warp Slack integration is installed in your workspace.

  3. Contact your team admin if the issue persists.


Last updated

Was this helpful?