CoopAI

Troubleshooting

Common issues and fixes for CoopAI extension, admin portal, and integrations.

Last updated: 2026-07-10

Extension

ProblemFix
Not signed inSettings → AccountContinue with Google, Continue with email, or Sign in with SSO
401 unauthorizedSign out and sign in again; reset password at forgot-password
SSO requiredYour org requires SAML — extension: Sign in with SSO (enter org name); admin portal: Organization name + Continue with SSO on /login
Chat returns emptySet Workspace owner/repo/branch; open a file for context; confirm Enable live LLM chat under Model & chat
No model picker in settingsExpected in production — models are Coop-assigned; see Model assignments
/trace or /blast disabledOpen a file in the editor first
Repo-wide /owner failsSet owner + repo in Settings → Workspace
No integration contextAsk admin to connect tools in admin portal

Verify production

CheckSuccess looks like
APIapi.coop-ai.dev/health returns OK
Model & chatFour assigned models, no provider picker
AutocompleteGhost text on type → Tab accepts
/editPatch notification with Apply / Undo
Quick actionStructured answer with repo/integration context
Plain chatGrounded reply in composer

Autocomplete

ProblemFix
No ghost textConfirm sidebar Autocomplete On or Enable inline autocomplete in Model & chat; sign in under Settings → Account
Manual trigger does nothingEnable autocomplete first; use Ctrl+Shift+\ (Cmd+Shift+\ on macOS)
Competing suggestions with CopilotTurn Coop autocomplete off, or leave it on — Coop automatically disables Copilot inline when enabled
Slow or dropped completionsIncrease requestTimeoutMs (default 1500); check API latency; self-hosted API needs MISTRAL_API_KEY for Codestral FIM
401 on completionsSign in again under Settings → Account; automation API keys do not replace user sign-in
Graph context not appliedDeep-Index the repo in admin portal; set coopAI.autocomplete.useGraphContext to true; set Workspace owner/repo/branch
FIM not usedEnsure coopAI.autocomplete.useFim is true; operator sets MISTRAL_API_KEY on API server for Codestral
Workspace kept autocomplete offCoop clears workspace false overrides on activate; set coopAI.autocomplete.enabled in User settings

Full guide: Inline autocomplete.

Admin portal

ProblemFix
Cannot sign inUse email/password or Google from signup or invite — not an automation API key
email_not_verifiedGoogle sign-in requires a verified Google email — verify in your Google account, then retry
rate_limitedToo many sign-in or password-reset attempts — wait ~15 minutes, then retry
SSO requiredYour org enforces SAML — admin portal: Organization name + Continue with SSO on /login
SAML sign-in failedSee SAML SSO troubleshooting
Invite link expiredAsk admin to resend invite from Users
503 on ConnectCoop operator must configure OAuth apps on API server
403 admin requiredUser needs org owner/admin role
Integration shows Connected but search emptyConfigure scope → Save → Test

Integrations

ProblemFix
Redirect URI mismatchOperator: callback URL must match vendor console exactly
Slack channel picker emptyReinstall Slack app with bot scopes; Disconnect + Connect
Google insufficient scopesRevoke at Google account permissions; re-Connect
GitHub callback failsVerify GitHub App setup URL matches API host
Jira empty resultsSet Jira site URL; check project scope

Billing

ProblemFix
Checkout link invalidStart fresh from Pricing
Welcome page stuck provisioningWait 1–2 minutes; check email; contact support
No welcome emailCheck spam; sign in at admin portal login with checkout email

Self-hosted

ProblemFix
Health check failsVerify DATABASE_URL, restart API container
LLM 502 errorsCheck provider API keys in .env.backend
Webhooks not firingVerify webhook URL and secret in GitHub settings
SAML SP URLs emptyCoop operator: fix server configuration — Enterprise deployment — SAML SSO

Enterprise SSO

ProblemFix
SSO requiredExtension: Sign in with SSO (enter org name); admin portal: Organization name + Continue with SSO on /login
sso_not_configuredAdmin: Settings → Single sign-on → save IdP config with Enable SSO checked
saml_validation_failedCheck IdP cert expiry, Entity ID / ACS URL match, server clock skew
sso_required_activeTurn off Require SSO before disabling SAML
SP URLs empty in adminCoop operator: fix server configuration — Enterprise deployment — SAML SSO
IdP-initiated login failsCoop is SP-initiated only — start from admin Test connection or extension Sign in with SSO
Browser handoff fails (extension)Complete IdP login in browser; see callback errors in Extension settings — Enterprise SSO

Full error code table and known limits: SSO troubleshooting.

Coop operators (self-hosted or support): post-deploy validation steps in Enterprise deployment — SAML SSO.

Still stuck?