code, a session’s failure.code, or a setup run’s failure_code. Messages can change; codes don’t. HTTP errors are flat objects with required code and message fields and optional details. Every code is listed in Errors.
Sign-in and the console
| Symptom | Cause | Fix |
|---|---|---|
| Sign-in is limited to approved accounts. | Your account isn’t approved for access. | Sign in with an approved account. |
| Verify your email address with your provider, then sign in again. | Your identity provider hasn’t verified your email address. | Verify it with the provider, then sign in again. |
| That sign-in link is no longer valid. | The sign-in attempt can no longer be completed. | Start again from the sign-in page. |
API keys and authentication
| Code or symptom | Cause | Fix |
|---|---|---|
401 unauthorized | The Authorization header is missing or malformed, or the key expired, was revoked, or is inactive. | Send Authorization: Bearer $RECURSION_API_KEY. Check the key’s status under API keys. |
401 right after exporting a key | The key was exported in a different shell, or copied with extra characters. | Export it in the shell that runs your code, then check it starts with rma_. |
400 invalid_request mentioning x-organization-id | A tenant-scoped key sent no x-organization-id. | Add x-organization-id: default or an organization id, or use an organization-scoped key. See API keys. |
404 not_found on every request | x-organization-id names an organization you can’t reach. | Use default, or remove the header for an organization-scoped key. |
| A key stopped working without being revoked | It expired. | Check its status, then create a new key. |
503 service_unavailable before anything ran | The key couldn’t be checked right now. | Retry shortly. |
Organizations and roles
| Code or symptom | Cause | Fix |
|---|---|---|
403 forbidden on create, update, or delete | Your organization role is read-only. | See Organizations and roles. Use an account or key with the developer or admin role. |
403 forbidden when testing an environment’s setup | Testing setup needs create and update permission, because it provisions compute. | See Organizations and roles. Use an account or key with the developer or admin role. |
Test connection is missing on an app’s row, an MCP server’s test says Testing requires create access., or probeMcpServerV2 returns 403 forbidden | Testing a connection or an MCP server needs create permission, which the Organization user role doesn’t have. For some apps, the connection must also be Active before Test connection appears. | Use an account or key with the developer or admin role. If the app isn’t Active, finish setup or reconnect it. |
Billing
| Symptom | Cause | Fix |
|---|---|---|
| Billing isn’t visible | Your tenant role isn’t billing, admin, owner, or primary owner. | Use an account with one of those roles. |
| ”The card was declined. Replace it in Stripe, then try again.” | The bank declined the charge. | Click Replace card below the message, choose another card on Stripe, then come back and buy again. |
Starting a session or sending a message returns 403 session_start_not_admitted with details.reason: "out_of_credit" | Your tenant has used the credits it bought. New sessions and messages that start a turn are refused. Interrupts still work. | Buy credits, then start the session or send the message again. |
A session is idle with stop_reason: budget_reached | The session reached its budget. It paused before its next model request and keeps its sandbox. | Raise the budget: click Raise to … and continue under the last event, or send PUT /managed-agents/v1/sessions/{sessionId}/budget with a higher maxCostUsd. A session bound to a Slack thread continues on your next reply there. |
Sending a message returns 403 session_start_not_admitted with details.reason: "budget_reached" | The session is at the limit that bound it, details.budget_usd: its budget, or its agent’s cap when that is lower. | Under the agent’s cap, raise the budget; the session continues on its own. At the cap, a raise works only toward a move to an agent version with a higher cap: move the session, then raise its budget, as the error message says. See Set a budget. A session bound to a Slack thread continues on your next reply there. |
A session is idle with stop_reason: out_of_credit | Your tenant ran out of credit while the session was running. It paused before its next model request. Requests already in flight for the tenant complete and are charged, so the balance can end slightly below zero. | Buy credits. It continues on its own within about a minute if it paused in the last 72 hours; otherwise send it a message. A session bound to a Slack thread continues on your next reply there. |
A session is idle with stop_reason: tenant_suspended | Your account was suspended while the session was running. The session paused and keeps its data. | Contact support to restore the account, then send a message to continue. |
Testing setup returns 403 setup_run_not_admitted with details.reason: "out_of_credit" | Your tenant has used its credits, so no setup run was recorded. | Buy credits, then test setup again. |
Starting work or testing setup returns 403 session_start_not_admitted or 403 setup_run_not_admitted with details.reason: "tenant_suspended" | Your account is suspended. New work is refused and running sessions pause with stop_reason: tenant_suspended; your data is kept. Buying credits does not restore it. | Contact support. |
Testing setup returns 503 setup_run_admission_unavailable | The credit check was unavailable, so no setup run was recorded. | Retry with the same Idempotency-Key. |
Environments and setup
| Code or symptom | Cause | Fix |
|---|---|---|
422 environment_not_verified on session start | The setup script has never passed, failed, changed since it passed, or is still being tested. details.next_action names the call to make. | Follow the next action to test setup or wait for an active run. If it names listEnvironmentTemplates, follow the published setup recovery steps. |
Setup test fails with phase: setup | The script exited with an error or timed out. | Follow setup visibility. For custom Bash, read failed_line, failed_command, exit_code, hint, and stderr_tail. Fix the script and test again. |
Setup test fails with setup_template_required | The saved setup differs from the current published template. | Follow the published setup recovery steps to test a replacement and repoint its agents and automations. |
| Setup test fails in another phase | A temporary problem preparing compute. | Retry once before changing the script. |
429 setup_run_limit | Your organization has too many setup runs in flight. | Wait for one in details.in_flight, or cancel it. |
409 setup_run_in_progress | A setup test is already running for this environment. | Wait for details.setup_run_id, or cancel it. |
428 precondition_required on an environment update | You changed a stored network policy, or turned on privileged access, without expected_access. | Read the environment and send its current access settings. |
| Package installs fail in setup or in the session | The environment has no internet access. | Allow the needed destinations, or set Internet access to Enabled, then test again. |
Integrations
For apps such as Zendesk and Salesforce, a first console grant with every tool selected follows the connection’s list, so added tools can reach running sessions. A narrowed grant keeps its saved selection even if you later select every tool. GitHub and Slack console grants always keep a saved selection.| Symptom or code | Cause | Fix |
|---|---|---|
| An already connected app is disabled in Add integration | The app can’t be set up for your organization now, or offers no tools. It stays listed because you already have a connection to it. | Use the existing connection, or pick another app. |
| Add integration is missing | Your role can view integrations but not add them. | Ask someone with the developer or admin role. |
| Slack · custom app or its setup controls are missing | Customer-owned Slack app setup and reconnection require an organization admin. | Ask an organization admin to configure or reconnect the app. |
| ”The vendor sign-in was closed before it finished. Nothing was connected.” | You left the app’s sign-in page. | Click Finish setup on the row. |
| ”the vendor sign-in could not be confirmed” | The sign-in link or its code expired, or was already used. | Click Finish setup on the row, and finish the sign-in within a few minutes. |
| The row shows Setup needed | Nobody finished signing in to the app. | Click Finish setup on the row. |
| The row shows Revoked, or the agent says the app must be reconnected | The app no longer accepts the sign-in. | Reconnect the app. For a custom Slack app whose scopes changed, choose Update bot scopes instead. |
| The row shows Credentials rejected (custom Slack app) | Slack rejected the Client ID, Client Secret, or app-level token; the app may have been deleted. | Disconnect the row and set up the custom app again, then replace the Events, Interactivity and slash command request URLs in Slack, grant the new connection to agents again, and select its new event source in each automation’s Slack trigger. |
| Reconnect first in the agent’s Add integration access | The connection is suspended or revoked. | Reconnect it on Integrations. |
| Finish setup first in the agent’s Add integration access | A customer-owned Slack app’s setup is unfinished. | Click Finish setup on its Integrations row, then grant it to the agent. |
| Select tools first in the agent’s Add integration access | A pending connection has no selected tools yet. | Select its tools on Integrations, then grant it to the agent. |
| Edit tools warns that stored tools are no longer read-only or no longer in the catalog | A tool disappeared or became write-capable after you selected it. Agents that inherit the connection’s list, or whose saved subset includes it, cannot use the integration. | Remove the tool, or reselect a reclassified tool to approve its new access level, then click Save tools. |
| The agent says a tool isn’t available | The tool isn’t on the connection’s allowed list, the agent’s saved tool selection excludes it, or the connection isn’t granted to the agent. | Enable the tool on Integrations. For apps such as Zendesk and Salesforce, an agent that inherits the list can get it on its next call in some running sessions; if it doesn’t, start a new session. For a saved tool list, including GitHub and Slack console grants, select the tool in the agent’s access, save a new version, and move the session to it or start a new session. |
| Test connection reports “the provider could not mint a token for this connection” | The app refused a fresh sign-in, or couldn’t be reached. | Run Test connection again. If the row shows Revoked, reconnect. |
| Test connection reports that the app “refused a read with the connected account” | The sign-in worked, but the account can’t read in the app, for example a Confluence guest or restricted account, or a Microsoft Excel token consented only for User.Read. | Give the connected account read access in the app, or add a new connection with a suitable account and grant that instead. For Microsoft Excel, a token’s permissions are fixed when it is issued: reconnect with a token that grants file access such as Files.ReadWrite, which keeps the connection and its agent grants. |
| Test connection reports no usable credential for the app | The app’s stored sign-in no longer works. | Reconnect the app. |
| Test connection reports that the check’s read was rate limited, or the service couldn’t be reached | A temporary limit or outage. | Run Test connection again shortly. |
| Status stops receiving automatic test results after reconnection or token replacement | That change clears the previous verification. Automatic daily checks resume only after a passing manual test, for connections selected for those checks. A failed automatic check does not disconnect an active connection. | Run Test connection and review the latest result in Status. |
| A revoked app’s tools can’t be changed | The connection is no longer active. | Reconnect it first. |
400 invalid_request on builtInIntegrations | The agent’s integration grant is invalid. | Read message and the grant rules. |
404 not_found on builtInIntegrations or connection_id | The connection doesn’t exist, was disconnected, or belongs to another organization. | List connections and use a current id. |
403 forbidden | Your role can’t make this change. | See Organizations and roles. |
| The catalog doesn’t load | The catalog is temporarily unavailable. | Click Retry. |
| Add integration shows no catalog apps, only directly connected services | The app catalog isn’t enabled for your organization or couldn’t be reached. | Contact support. |
503 integrations_unconfigured | The integration service couldn’t be reached. | Retry later. If it continues, contact support. |
| ”This organization has to approve the app before it can be connected.” | A GitHub organization requires an owner to approve new apps. | After an owner approves, start the connection again. |
”This install link is no longer valid.” (400 on state) | The state was already used, is older than 15 minutes, or belongs to another person. | Start the connection again. |
400 invalid_request on nativeIntegrations or integrationPermission | A connection is listed twice, a required level is missing or isn’t one the service offers, or it differs from the level fixed at connect time. | Use one of the provider’s permissions presets from listIntegrationProvidersV2 (for the Slack bot, trigger_thread or workspace_tools; for Slack · User, user_tools). If the level was fixed when connecting, create a new connection with the level you need. Slack · User has no other level, so change its selected tools instead. |
400 invalid_request on integrationResources | Resources for a service other than GitHub, or more than 500 repositories. | Leave resources out, or name fewer repositories. |
400 invalid_request: “repository … is owned by …, but this connection is for …” | A GitHub repository in resources or integrationResources belongs to a different owner than the connection’s account. | Name repositories of the connection’s own account, or use the connection for that owner. |
| A session doesn’t offer tools from an app such as Workday, Zendesk, or Salesforce | The environment setting blocks the tool calls. | Check Integration network behavior; adjust Internet access, run setup again if the environment has a setup script, and start a new session. |
429 github_rate_limited or 503 github_unavailable listing repositories | GitHub is limiting requests or unavailable. | Retry later. |
| Slack bot tools are missing in a session | The Slack bot connection isn’t granted on the agent or through an accessible vault, trigger_thread was granted but the session didn’t start from that Slack installation’s thread, or a custom app’s bot token lacks a required scope. | Grant workspace_tools for manual, scheduled, or other event-triggered sessions. Use trigger_thread for a Slack-origin session. For a custom app, add the missing bot scope in Slack, choose Update bot scopes on its connection, and authorize again in the same workspace. |
| Slack cannot verify a custom app’s Events API request URL after authorization | The Signing Secret entered during setup may be wrong, so Recursion rejects Slack’s signed URL challenge. | Check the Signing Secret in Slack. If it differs, disconnect the connection, set up the custom app again with the correct value, authorize it, and replace the Events, Interactivity and slash command request URLs in Slack. |
A session has an integration_token_mint_failed warning | Recursion couldn’t get a token for the agent’s grant from the connected app. The message names the repository or account and the reason, such as a repository that isn’t in the GitHub App installation. | Fix what the message names. If you add the repository to the GitHub App installation and Reconnect the connection, the GitHub tools work again on their next use, and git and gh start working in the running session if its sandbox was set up for that grant when it was created: Recursion checks the grant again at a sandbox command once about 20 minutes have passed since GitHub refused it, and also at other times while the session keeps working, and git and gh work at a command up to about 15 minutes after the check that finds it fixed. If you remove the repository from the agent’s grant instead, that creates a new agent version: move the session to it, or start a new session. Either way, git works only for the repositories the resulting grant covers. If GitHub was unavailable where Recursion adds the GitHub token outside the sandbox, the session keeps running, but its sandbox commands wait for GitHub (up to about 80 minutes for the first boot). The first command then fails with sandbox_provision_timeout. After that, the sandbox is started again only by a sandbox command, and only after a wait that grows with each failed try, up to 30 minutes. A command inside the wait fails at once, even if GitHub has recovered, and its error names when the wait ends. The first command after the wait tries again: while GitHub stays down it fails with credential_resolution_failed and another wait begins. Failed commands aren’t run again, so once GitHub recovers, ask the agent to run the command again after the wait ends. See GitHub access. |
git or gh is unauthenticated in a session | The agent has no GitHub grant, the repository is outside the grant’s repository selection, or, when the sandbox holds the token itself, the token expired during a long-running command (with a placeholder, a long command keeps working across token refreshes while Recursion keeps refreshing the token). Or the sandbox holds no GitHub credential: the deployment restricts sandbox GitHub access to the MCP tools, or, in a deployment that delivers GitHub credentials through a placeholder, the session has more than one GitHub connection, the environment’s network policy admits no GitHub host, the environment’s compute can’t receive the token outside the sandbox, the grant was added after the sandbox was created, the session reviews a pull request in an environment with no network policy (such a review normally fails to start; one that starts because of a vault credential gets no GitHub credential in the sandbox), or the session is part of an evaluation run working in a copy of the evaluated session’s workspace. In an environment with privileged Docker, authenticated git inside a nested Docker container fails, because the container’s requests don’t pass through where Recursion adds the token. | Grant GitHub on the agent with the repository in scope and start a new session; when the sandbox holds the token, run a long clone or LFS transfer as its own command. Run authenticated git in the sandbox itself, not inside a nested container. With several GitHub connections, grant the session only one, or ask the agent to use the GitHub tools, which work with every connection. If the policy blocks GitHub, allow github.com and api.github.com and start a new session. Otherwise, if the grant itself works, ask the agent to use the GitHub tools; if the session shows an integration_token_mint_failed warning, the GitHub tools fail too, so see the row above. See Use git and gh in the sandbox. |
gh release upload, or a login to ghcr.io or npm.pkg.github.com, fails to authenticate | Only requests to github.com and api.github.com carry the GitHub token; other GitHub hosts receive a placeholder. | Use the GitHub tools where they cover the task. For GitHub Packages for npm, add a vault credential. See Use git and gh in the sandbox. |
git can’t reach github.com | The policy does not allow the GitHub hosts and no grant reaches the sandbox to add them; an exact host deny prevents addition; or the sandbox predates the grant. | For No access or a sole deny *, change the policy to Enabled or a limited policy that permits the GitHub hosts; a grant alone cannot open those policies. Otherwise, allow the GitHub hosts or use a grant that reaches the sandbox, unless an exact host deny prevents addition. Then start a new session. See Integration network behavior. |
Files and automations
| Symptom or code | Cause | Fix |
|---|---|---|
413 payload_too_large on public REST uploadFileV2 | The file part is over 30 MiB, or its multipart request exceeds the framing allowance. | Upload at most 30 MiB through the API, or use the console for a larger file. See Files. |
413 file_quota_exceeded on upload | Your organization’s files are at their storage quota. | Set expiries on uploads so they stop counting once they expire. See Files. |
| The agent can’t find an attached file | It was attached mid-turn. | It’s in place on the next tool call and visible from the next turn. |
| A deliverable isn’t on the session’s Files tab | The agent saved it outside the deliverables folder. | Ask for it by name as a deliverable. See Deliverables and artifacts. |
| An automation never starts a run | It’s paused, its trigger is off, or its event source is paused. | Resume the automation and the source. See Automations. |
A webhook delivery to a custom source returns 401 unauthorized | The signature didn’t match the source’s signing secret. | Sign the exact body bytes with the source’s signing secret. See Send a custom webhook delivery. |
An automation run is failed | The session couldn’t start. | Read the run’s error, fix the named field or resource, and run it again. |
| An automation paused itself, or resuming it is refused | Its environment was deleted, or it names an agent that no longer exists. | Point the automation at a live agent and environment, then resume it. See Automations. |
MCP servers and credentials
| Code or symptom | Cause | Fix |
|---|---|---|
A session has an mcp_tool_name_too_long warning, or one tool from a server is missing while the rest load | The tool’s <server>__<tool> name is over 119 bytes, so the session leaves it out. | Shorten the tool or server name, then start a new session. See MCP servers. |
| MCP tools are missing from a session | The server couldn’t be reached, its handshake failed, it refused the token, or no granted credential matched its URL. | Probe the server and fix the URL, server, token, or vault grant, then start a new session. A running session lists a server’s tools again only when you move it to another agent version. See MCP servers. |
| An environment-variable secret shows up in the transcript | The agent printed it. Any command in the sandbox can read these secrets. | Rotate the secret. Prefer an MCP credential, which never enters the sandbox. See Security. |
Session fails with credential_resolution_failed | A granted credential couldn’t be opened, or was deleted. | Check the session’s vaults and credential_refs. |
Sessions
| Code or symptom | Cause | Fix |
|---|---|---|
Session stays queued | The agent is at its maxConcurrentSessions cap. Child sessions don’t count. | Wait for a root session to finish, hard stop one you don’t need, or raise the cap. See Usage and cost. |
Session stays provisioning | Compute is being prepared. | Read the session, not just its events. After 5 minutes it fails with sandbox_provision_timeout; resume it or start again. |
No events yet, but the session is running | The event stream is written separately and can lag the session record. | Trust status and execution_state from getSession. |
Session failed | See failure.code, failure.category, and failure.retryable. | transient: send a follow-up to resume. caller_error: fix the configuration first. internal: report the session_id. See Session failure codes. |
422 sandbox_provider_disabled | The request names a runtime this deployment doesn’t offer for new work. | Use the Full VM runtime (runs). |
Session is idle with end_turn but the work is incomplete | The agent stopped on its own. end_turn doesn’t mean correct. | Send a follow-up message with what’s missing. |
409 idempotency_conflict | You reused an Idempotency-Key with a different request. | Use a new key for a new request. |
Event stream returns 503 service_unavailable | The service is at event-stream capacity. | Close streams you no longer need, then retry with backoff. |
| Event stream disconnects | Networks drop long connections. | Reconnect with Last-Event-ID or after_event_id set to the last event you received. See Events. |
| A follow-up after a hard stop starts from a clean workspace | Hard stop stops the sandbox the session owns, and a follow-up starts in a new one. | Use Interrupt instead when you want to keep the sandbox. |
Fine-tuning
| Code or symptom | Cause | Fix |
|---|---|---|
400 invalid_request on every fine-tuning call | Fine-tuning is not enabled for the organization. | Ask for it to be enabled. |
400 invalid_request on create or rename naming a field | The body has an unknown field or setting, an explicit null for name, settings, or a setting, a datasetVersion the dataset does not have, an sftSteps above 0 on automationbench-public-600, a steps above 0 or an sftSteps of 0 on a dataset of your own, a version of your own dataset with no train rows or no train row with an assistant turn, an evaluatorAgentId that is not an agent of your organization or is platform-managed, an evaluatorAgentId when evaluations are not enabled for your organization, on a supervised job (sftSteps above 0) an evaluatorAgentId or an RL rollout setting other than its default (see the sftSteps setting), a value of the wrong type, or is not valid JSON; details.field names the field when known. | Use an agent of your organization that is not platform-managed, or omit evaluatorAgentId when evaluations are not enabled (and, on a supervised job, omit evaluatorAgentId and the RL rollout settings) or a ready version of the dataset that has train rows with an assistant turn, on a dataset of your own set sftSteps above 0 (steps then defaults to 0; an explicit steps must be 0), and omit sftSteps on the built-in dataset; omit any other setting to take its default. |
400 on create naming a setting | The setting is outside its bound, or on a supervised job (sftSteps above 0) it is an RL rollout setting other than its default (groupSize, evalAttempts, trainSet, evalSet, rolloutTimeoutMinutes, maxOutputTokensPerTurn, maxInFlightRollouts). | Use a value inside the bounds, or omit the RL rollout setting on a supervised job, in the reference. |
Job is running but nothing moves | progress.lastEventAt, the last event the worker reported, is long past and progress.phase is setup or later. Three rules time an attempt, each from its own timestamps, so time the job waits on the platform between them never counts: (1) on a dataset of your own, copying its rows to the training compute may take 15 minutes plus a second a row from the first attempt, retries included, or the job fails with “The dataset copy exceeded its time budget.”; (2) from when progress.phase becomes installing (after the copy), the worker has 15 minutes plus the stall limit to report its first event, and a worker that cannot be started within the first 15 minutes fails the job with “The training worker could not be started.”; (3) from its last event, the worker may report nothing for the stall limit, 15 minutes past the longer of sampleTimeoutMinutes and 30 minutes (45 minutes at the default). A run past rule 2 or 3, or whose compute stops answering for the stall limit, restarts by itself from its latest checkpoint, and a resume event gives the reason. While progress.phase is queued, provisioning or installing, an old progress.lastEventAt is expected: the job waits for a compute slot, creates its compute (on a dataset of your own, copies its rows there) or installs the worker, and a restarted job’s value is the previous attempt’s. | Read the timeline (listFineTuningJobEvents) for the last event. Do not cancel: the restart is automatic. If the job ends failed instead, resume it. |
Job failed with “The training run reached its N-hour limit.” (167-hour 59-minute by default), “The training compute stopped.”, “The training compute stopped answering for N minutes.”, “The training run reported no progress for N minutes.”, or a reason ending “The run made no progress for N minutes.” (for example “The run failed while sampling rollouts. The run made no progress for N minutes.”) | Three attempts in a row ended without a newer checkpoint, often because checkpointEvery is longer than an attempt. | Resume once the cause has passed. If every attempt hit its time limit without a newer checkpoint, start a new job with a smaller checkpointEvery. |
Job failed after one attempt with “contextLength … is over the … tokens the training provider supports”, “The training provider offers no trainable variant of …”, “maxOutputTokensPerTurn … is over the run’s …-token context”, “overlongPenaltyThresholdTokens … must be below …”, “The training provider refused the run’s settings: …” or “The training provider no longer offers …” | The training provider cannot train what the job asks for, so the job fails at once instead of retrying. | Resuming asks again and fails the same way. Start a new job with a contextLength within the window the reason names (or 0), a maxOutputTokensPerTurn and overlongPenaltyThresholdTokens under that window, or a loraRank the provider trains. |
Job failed with “The training worker was killed (exit code 137), most likely for running out of memory.” or “The training worker ended without an exit code; its compute was most likely killed for running out of memory.” | For an RL job, rollouts that keep growing their conversation filled the compute’s memory. The worker ends the rollout with the longest history when memory nears the limit, so this is the case where that was not enough. For a supervised job (a dataset of your own), the dataset’s rows and the examples of a step filled the memory; it has no rollouts. The attempt restarts by itself from its latest checkpoint, and the job fails when the third attempt in a row ends without a newer checkpoint. | Resuming continues with the same settings, so it can run out of memory again at the same step. For an RL job, start a new job with maxOutputTokensPerTurn set (it bounds each response; a rollout’s total history is still bounded by contextLength), a lower contextLength, or more vcpus. For a supervised job, start a new job with a lower contextLength or more vcpus; maxOutputTokensPerTurn does not apply. |
Job failed with “More than 50% of the rollouts failed” | More than half of the rollouts of a step or held-out check failed in three rounds in a row (one for a baseline), which fails that attempt. The attempt restarts by itself, and the job fails when the third attempt in a row ends without a newer checkpoint. | Read the last rollout error at the end of failure.reason. If it names a timeout, raise that timeout in a new job; if it says the run’s memory was reached, start a new job with maxOutputTokensPerTurn set, a lower contextLength, or more vcpus (a resume keeps the same settings); otherwise resume the job once the cause has passed. |
Job failed with “groups whose every rollout failed were dropped” | Some tasks failed in every rollout, so the run ran out of tasks to train on. The message carries no rollout error. | List the failed rollouts of the last steps with listFineTuningJobRollouts and split=train, step=<step>, status=failed (or listFineTuningJobRolloutGroups with split, step, status=failed) for their error, then resume the job. |
| Job in the provisioning phase for a long time | The platform has no capacity for its compute yet; the job asks again every few minutes and starts when capacity frees. | Wait, or cancel the job. |
Job failed with “The training run stopped responding.”, “The training compute could not be started.”, “The training worker could not be started.”, or a result that was missing or invalid | The attempt could not run or ended without a usable result, which fails the job at once. | Resume the job: it keeps its checkpoints. |
Job failed with “The dataset copy exceeded its time budget.” | Copying the rows of your dataset version to the training compute ran past rule 1 under “Job is running but nothing moves”. | Resume the job: the copy runs again. |
summary.evalReward.finalNote is set | Some attempts of the final held-out check failed and were left out of final. | Compare final with base knowing it covers fewer attempts, or run a baseline again. |
billedCostStatus stays pending | Usage is priced hours after a run, and a day is priced once its UTC day ends. | Read estimatedCostUsd meanwhile; check again later. |
billedCostStatus is unavailable | The cost cannot be determined; billedCostReason says why. | Use the cost/total_usd metric as the estimate. A run that trained on a model variant without a known training rate has none (cost/training_rate_unknown). |
| A resumed job’s metrics or rollouts changed | A new attempt deletes and rewrites them, just before its compute is created, from the step it resumed at. | When attempt changes, wait until progress.phase has left queued, then read them again from the step it resumed at (the resume event’s step, or 0) and replace what you hold. |
Rate limits and server errors
| Code | Cause | Fix |
|---|---|---|
429 rate_limit_exceeded | A request allowance is exhausted or the service is briefly at capacity. | Follow the 429 retry timing when the operation permits replay. |
503 | A dependency is temporarily unavailable, or a keyed request could not reserve its idempotency key. | Read code and details.retryable. Retry only when the operation’s strategy in Endpoints permits it. idempotency_unavailable did not run the request, so resend the same key and request bytes. |
504 gateway_timeout | The request took too long and may have run. | Retry a keyed mutation only with the same key and request bytes. Read the resource before deciding whether to repeat any other write. |
500 internal_error | An unexpected failure. | Retry reads once. For a write, follow the operation’s strategy in Endpoints. If it persists, report the request id. |
What to include in a support request
| Field | Why |
|---|---|
code | Selects the recovery path. Do not match message. |
details.field | When present, names the request field, query parameter, or header at fault. |
details | When present, holds code-specific state, measured values, limits, and next actions. |
details.retryable | When present, advises whether the failure is transient. It does not override the operation’s retry strategy. |
details.requestId, or the x-request-id header | Lets support find the request. |
session_id | Identifies the full session tree and its events. |
failure.code and failure.phase | Say which stage of a session failed. |
setup_run_id | Identifies a setup test and its log. |
recursion-organization-id response header | Confirms which organization the request ran in. |
Next steps
Errors
Every error and failure code with retry guidance.
Limits
Every limit you can hit.
Event types and states
Decode statuses, stop reasons, and results.
API conventions
Retries, idempotency, and paging.