| 400 | VALIDATION_ERROR | The body isn’t valid JSON, a field is missing or has the wrong type, or a required parameter is missing. |
| 401 | UNAUTHORIZED | No session was sent (“Unauthorized - please sign in”). |
| 401 | SESSION_EXPIRED | The session expired. Copy a fresh Cookie header. See Authentication. |
| 402 | PAYMENT_REQUIRED / INSUFFICIENT_CREDITS | The workspace doesn’t have enough credits for this action. When it has used its free credits, the response has reason: "free_credits_spent", nextStep: "choose_plan" and the message “You have used your free credits. Choose a plan to keep going.” When a new workspace’s free setup with Sam reached its limit, the same response also has setupAllowanceSpent: true and Sam’s message “I’ve done all the setup I can for free. Press Start sending to go live, and I’ll carry on from here.” See Credits and Free setup and free credits. |
| 402 | TRIAL_REQUIRED | The workspace has no plan or usable credits (“Choose a plan to use your agents.”). An owner or admin chooses a plan. |
| 403 | FORBIDDEN | You aren’t a member of the workspace, your role can’t do this, or the request came from another website (“Cross-origin request blocked”). |
| 403 | GUEST_SIGNUP_REQUIRED | Anonymous browsing cannot run this action. Sign up or sign in first; new workspaces start with a free setup with Sam. |
| 403 | — | {"error":"Browser origin denied."}: a browser on another site called the API. |
| 404 | NOT_FOUND | The item doesn’t exist, or isn’t in that workspace. |
| 409 | CONFLICT (or a specific code) | The change clashes with the current state, for example a name that’s already taken. |
| 409 | TRIALS_REPLACED | POST /api/workspaces/{workspaceId}/billing/start-trial no longer starts trials: “Free trials have been replaced by free credits. Choose a plan.” |
| 429 | RATE_LIMIT_EXCEEDED | Too many requests. Wait for the time in Retry-After. |
| 429 | BUDGET_EXCEEDED | The AI usage budget for this period is used up. |
| 500 | INTERNAL_ERROR | Something went wrong on Connie’s side. Try again; if it keeps happening, contact support. |
| 503 | DATABASE_UNAVAILABLE / AI_PROVIDER_UNAVAILABLE | A service is temporarily unavailable. Retry after Retry-After if present. |