Skip to main content
Find your symptom below. Most problems in a new setup are one of the first three.

Setup

The installed openai package is too old, or your code is running in a different environment from the one you installed into. Install the versions from Build with the API (pip show openai or npm ls openai shows what is installed) and restart long-running processes.
The API key is missing, wrong, or revoked, or it is an OpenAI key. Orca needs an Orca key, sent as Authorization: Bearer .... Look for stray whitespace or quotes in the environment variable.
The base URL must be https://api.orcapods.ai/v1. Do not add /agents; the client adds it. Orca’s own extensions are the exception: they live at https://api.orcapods.ai without /v1, such as /api/providers.A 404 on one specific resource means it does not exist, was deleted, or belongs to another account.
Check that the URL is https://api.orcapods.ai/v1, spelled exactly, with https://.
“This action requires the admin role”. Setting provider keys, writing vaults and credentials, buying credit, and changing the plan need an admin. Ask an admin of your organization, or have them change your role. See organizations and roles.
“Your plan runs N sessions at once”: your organization already has as many sessions with a running turn as your plan allows. Send the message again when one ends, or upgrade. “Rate limit reached. Retry after N seconds.” means too many requests in a minute for your plan, from your organization or from one key or person; wait that long, as the Retry-After header says. See limits per plan. The free model, turns a day and Free sandboxes have their own 429s, under Free plan and limits.“Too many event streams open: 32 at once per key or person. Close one and retry.” (or “64 at once per organization”): close streams you no longer read. See how many streams. “Too many uploads at once: 2 per organization. Retry when one finishes.”: wait for an upload to finish, then send the next.
“Out of Orca credit: add credit, then continue the session”. Your balance is under your plan’s minimum balance, so paid work is paused: turns on Orca credit models or with a managed sandbox are refused, and a running sandbox goes to sleep with its files kept. Add credit, or use a model on your own key in a session without a sandbox. On Free, the free model keeps working; a 429 insufficient_quota with a param such as free_plan is under Free plan and limits.
“The server is receiving too many uploads right now. Retry in a few seconds.” Orca is receiving many uploads at once, from all organizations. Nothing is wrong with your file: retry after the Retry-After seconds.
“Too many sign-ins are waiting for approval. Try again in a minute.” Run orca login again after a minute.
An uploaded file can be at most 512 MiB. Split it, or compress it. Remember that a session stages files of at most 16 MiB; see size limits.
“Orca could not read your credit balance. Try again in a moment.” Orca could not read your balance for a moment, so it did not start paid work. Your credit is not the problem: retry after the Retry-After seconds. A turn already running ends with internal_error and the same message, and a web search fails with balance_unavailable; send the message again.

Models

Read turn.error. Common causes: a model the provider no longer offers, or a credit running out: usage_limit_exceeded with param orca_credit (your Orca credit) or provider_quota (your own provider account is out of quota). A model on your own key never falls back to Orca credit. Top up that side, or switch the session to a model on the other side with POST /api/sessions/{session_id}/model. See models and provider keys.
A model name must say who pays: orca/openrouter/<OpenRouter id> for Orca credit, or <provider>/<id> with your own key. A bare name such as gpt-5 is refused, and so is a model on your own key when no key for that provider is stored, and a model its provider does not list. Without that provider’s key, the message names the key to add and, when OpenRouter offers the model, its orca/openrouter/ name for Orca credit. With the key saved, “This is OpenRouter’s name for the model” means the provider doesn’t list that id: use the orca/openrouter/ or openrouter/ form it suggests, or the provider’s own id. GET /api/models lists every name you can use. See models and provider keys.
The provider’s model list could not be read, so the model was saved without being checked. Check the name against GET /api/models; a wrong name fails when a turn runs.
A turn is running, or waiting for your function results. Switch once it ends.
Some settings are not available with every provider. GET /api/providers lists each provider’s unsupported_agent_fields. The param field of the error names the setting.

Free plan and limits

Each entry is a refusal or a turn end from the Free plan or the limits per plan, with its way forward. The free model’s entries apply on every plan, since Pro and Max run it too. The numbers in the messages are your plan’s, on the pricing page.
“Orca’s free model is not part of this plan. Switch this session to another model, or run it on your own OpenRouter key.” On any plan, the session’s model is the free model and your plan has no free-model share. The turn did not start and nothing was charged. Switch the session to another model, or run the model on your own OpenRouter key as openrouter/<OpenRouter id>.
“On Free, this agent’s model runs on credit.” The agent’s model is an Orca credit model other than the free model, and your balance is under the minimum. This is common after copying a kit, since kits name models that run on credit.Switch this session to the free model: Switch to the free model in the dashboard, or POST /api/sessions/{session_id}/model with {"model": "orca/openrouter/cohere/north-mini-code:free"} (see switch who pays). Or add your own provider key in Settings, Providers, or add credit or upgrade.
The message names the limit that refused. Nothing was charged.
  • “Your organization has used today’s N free-model calls. They reset at 00:00 UTC. Add your own OpenRouter key, or add credit to use another model.” Your organization used its daily share of the free model.
  • “You have used today’s N free-model calls. They reset at 00:00 UTC. Add your own OpenRouter key, or add credit to use another model.” You used your own daily share, counted across the organizations you work in.
  • “A free-model turn sets aside N calls, and M of today’s are left. They reset at 00:00 UTC. Add your own OpenRouter key, or add credit to use another model.” Neither share is used up, but fewer calls are left than a turn sets aside when it starts, counting the calls that turns already running hold.
Wait for 00:00 UTC, add your own OpenRouter key and run the model on it, or add credit to use another model.
“Free model capacity is used up for today. It resets at 00:00 UTC. Add your own OpenRouter key, or add credit to use another model.” All organizations together, on every plan, used the free model’s daily capacity, before your own share ran out. A turn already running finishes on the calls it set aside when it started. Rarely, if OpenRouter refuses anyway, a running turn ends failed with usage_limit_exceeded and the same param, its work kept.Wait for 00:00 UTC, add your own OpenRouter key, or add credit to use another model. Every plan shares this capacity, so upgrading does not add to it.
“Orca’s free model is not available right now.” OpenRouter withdrew the free model or started charging for it, so Orca does not run it. You are never charged for it. Orca is told, and the pricing page names the free model once it is replaced.“Orca’s free model is off right now. Switch this session to another model, add your own OpenRouter key, or add credit.” Orca has turned the free model off, on every plan. Saving an agent on it is refused the same way. A turn already running finishes.On any plan: switch the session to another model, add your own OpenRouter key, or add credit to use another model.
“The free model is busy. Try again in a minute, or add your own OpenRouter key.” On every plan, it means one of two things: your organization already has a free-model turn running, since an organization runs one at a time, or the free model is running as many turns at once as Orca allows for all organizations together. Send the message again after the Retry-After seconds, or run the model on your own OpenRouter key.On Free, a turn in a second session while one runs is refused first by the plan’s sessions at once, with “Your plan runs N sessions at once”; see sessions at once.
The turn ends completed with the event orca.free_model.turn_limit: “This turn reached the free model’s N calls. Send a message to continue.” A turn on the free model, its subagents included, makes at most that many model calls. Its work is kept.Send a message, such as “Continue”, to start the next turn. For longer turns, use a model on your own key or on credit.
The turn ends completed with the event orca.turn.time_limit: “This turn reached Free’s N minutes. Send a message to continue.” On Free, every turn has a time limit, on your own key too. Its work is kept.Send a message to continue, or upgrade: Pro and Max have no turn time limit.
“Your plan runs N turns a day. More at 00:00 UTC, or upgrade.” Your organization started its plan’s turns for this UTC day. Retry-After gives the seconds until 00:00 UTC.Wait for 00:00 UTC, or upgrade.
A running turn ends failed with usage_limit_exceeded and param: "included_hours", and a new sandbox start is refused with HTTP 429 insufficient_quota and the same param: Free’s included machine time for this month is used up and the organization has no credit. The sandbox stopped and its workspace is saved, unless it was larger than Free keeps; the message says which.Add credit to continue now: the sandbox runs on at Free’s hourly rate, charged to the second. Or wait for the 1st of the month (UTC), or upgrade. See machine time on Free.
“This session has a new sandbox. The last workspace was larger than the L MiB Free keeps, so it was not saved.” (or “This session has a new sandbox. The last workspace could not be saved.”). When a Free sandbox stops because the included time or your credit ran out, or because the organization is suspended, a workspace larger than Free keeps, or one whose save failed, is not kept. The session gets the event orca.sandbox.discarded at once, and again before the turn of its next message, which starts a new, empty sandbox: the environment’s setup runs again, and the conversation stays. Until then, GET /api/sessions/{session_id}/sandbox reads state none and last_sleep.outcome discarded.A sleep that saves a Free workspace at or above 80% of that size warns first, with the event orca.sandbox.workspace_near_limit (with size_bytes and limit_bytes) and the same message in last_sleep.message: “This workspace is N MiB of the L MiB Free keeps. Over L MiB it is not saved when the sandbox sleeps, and the next message starts an empty sandbox. Delete files in /workspace to stay under it.” L is Free’s snapshot_max_bytes in GET /api/public/plans, in MiB. Delete files in /workspace, or keep what matters as files.
“Free machine time is busy right now. Try again in a few minutes, or upgrade.” Only a few Free sandboxes run at once across all of Orca, and they are all running. Start or wake the sandbox again after the Retry-After seconds, use a session without a sandbox, or upgrade.
“Your organization keeps N sessions, the most it can on Free. Delete one to start another.” Your organization keeps as many sessions as its plan allows. Delete sessions you no longer need (orca sessions delete <id>, or client.beta.agents.sessions.delete(session_id)), or upgrade. Deleting a session deletes its artifacts.The same code on a new API key means the organization has as many active keys as its plan allows: revoke one under Settings, API keys.
“The network is off in Free sandboxes until you add credit. Agents can still run code, but can’t install packages or reach the internet.”On Free, a sandbox has no network until your organization has credit, bought or granted. A command that fails for lack of network, such as pip install or curl, keeps the system’s own error, and its output ends with one more line:
The session also gets the event orca.network.off when the sandbox starts, and orca billing wallet shows the same line. Add credit, or write to us on Discord; sandboxes started after that follow the session’s environment. Until then, give the agent what it needs as files.A sandbox already running without the network gets it after its next sleep: once your organization has credit, it goes to sleep at once if no turn is running, or when the running turn ends, and GET /api/sessions/{session_id}/sandbox reads last_sleep.reason network_on, with “The sandbox slept so that its next start has the network, now that your organization has credit.” Its next message wakes it with the network. Until then, the wallet’s network field counts such sandboxes and says “Your organization has credit, so the network is on. Sandboxes that started before then get it after their next sleep.”
“Orca credit runs only Orca’s free model at no charge. Run other free models on your own OpenRouter key.” Use the free model, orca/openrouter/cohere/north-mini-code:free, or run the other model on your own OpenRouter key as openrouter/<OpenRouter id>. See which models Free can use.
“Work for this organization is suspended. Ask on Discord: https://discord.gg/btTYzdzvqq” Orca suspended paid work, the free model and the included machine time for this organization. Starting or waking a sandbox and uploading a file are refused with this 403. A running turn ends with usage_limit_exceeded and param: "orca_suspended", and its sandbox goes to sleep: GET /api/sessions/{session_id}/sandbox reads last_sleep.reason suspended, with the same message. Ask in #help on Orca’s Discord.

Turns

Sending returns before the agent answers. Wait for the turn to end first. See turns and statuses.
Check sessions.retrieve(session_id):
  • requires_action with a function_call: your application has to send the tool result. See function tools.
  • requires_action with environment_connection: your self-hosted executor is not connected.
  • in_progress: the agent is still working. Long tasks in a sandbox can take minutes. Look at the newest items to see what it is doing.
Do not resend the message; that adds it to the running turn or starts a second one. To stop, cancel.
Your wait loop is seeing the previous turn, which is already completed. If the previous turn had ended before you sent the follow-up, remember its ID and wait for a turn with a different ID. (If it was still running, your message joined it, and no new turn appears.) Also skip subagent turns, which have a subagent_id.
idle only means no turn is running. Check the newest turn’s status and error.
The turn keeps running. Read its status, then reconnect if needed. See streaming.

Tools and environments

“Destination is not enabled in the server egress policy” means the server is not on hosted Orca’s allowed list; to ask for another server, post in #help on Orca’s Discord. Otherwise, the URL is not HTTPS, the server is unreachable, or no attached vault has a credential for that exact URL. See MCP tools.
The session has environment: {"type": "none"}. Create a new session with a sandbox. See execution environments.
On hosted Orca, self_hosted environments are coming soon, and network.access: "restricted" is not available. Use openai_hosted with disabled or enabled network access. Do not loosen the policy further than the task needs.
Only with an Orca server you run yourself. workspace_directory must be an absolute path with no symbolic links in it. On macOS /tmp is a symlink; use the real path.
HTTP 429 insufficient_quota means the sandbox could not run a minute: your balance is below the minimum, or on Free the included machine time is used up and the organization has no credit (param included_hours, under Free plan and limits). HTTP 429 rate_limit_exceeded means your plan’s sandboxes at once are running: wait for an idle one to go to sleep, put one to sleep now with orca sessions sleep <id>, or delete a session you no longer need. HTTP 403 storage_quota_exceeded means your organization is at its storage limit: delete files, skills or sessions.

Outputs

  • The agent must write the file under /workspace/outputs (or outputs in your self-hosted workspace).
  • Artifacts are captured only when a turn completes.
  • The agent saying it saved a file does not mean it did. Check the items for the command it ran.
  • Artifacts are deleted with their session.
See files and artifacts.

Reporting a problem

Include the client language and package version, the HTTP status and error code, a sanitized request body, the session and turn IDs, and whether it happens every time. Remove API keys, provider keys, vault contents, private prompts, and sensitive file content before sharing.