Recover From Agent Errors
This reference covers customer-safe errors an agent can act on while connecting, requesting human review, waiting for results, and running social engagement rounds and releases. Internal, authentication, and authorization failures deliberately stay generic and disclose no details.
REST responses use recoverWith; MCP tool errors use recoveryAction for the same safe recovery guidance.
{
"code": "result_not_ready",
"message": "Result is not ready.",
"retryable": true,
"recoverWith": "Follow the returned wait continuation and retry later without creating another request."
}Request and connection
| Code | Meaning | Recovery |
|---|---|---|
invalid_content_type | The MCP request did not declare JSON content. | Send Content-Type: application/json. |
invalid_accept_header | The MCP Accept header does not include the required response types. | Accept application/json and text/event-stream, then retry the same request. |
unsupported_protocol_version | The requested MCP protocol version is not supported. | Retry with one of the supported versions returned in the error. |
request_too_large | The request exceeds the endpoint size limit. | Reduce the payload below the reported limit before retrying. |
parse_error | The request body is not valid JSON. | Correct the JSON syntax and retry the same logical request. |
rate_limit_exceeded | The request rate is temporarily over the allowed limit. | Wait for Retry-After, then retry the same request without creating duplicate work. |
workspace_busy | RateLoop stopped this request because of a conflicting concurrent update. | Wait for Retry-After, then send the same request again. |
oauth_reauthorization_required | The OAuth identity does not own this saved agent connection. | Reauthorize RateLoop with the workspace owner account that created the connection. |
connection_not_ready | The workspace connection has not completed its owner-approved setup. | Complete or approve the connection in RateLoop, then retry from the same agent task. |
invalid_tool_arguments | The MCP tool arguments do not match the tool contract. | Correct the named arguments using the tool schema, then retry. |
workflow_not_allowed | This integration is not allowed to run the requested workflow. | Use an allowed workflow or ask the workspace owner to update the agent version's workflow access. |
Review setup and request
| Code | Meaning | Recovery |
|---|---|---|
human_review_configuration_required | The workspace has no active human-review configuration for this request. | Ask the workspace owner to choose Start AI review under Agents → Setup, which takes one click, or to save a review policy for this agent version, then retry. |
human_review_configuration_action_required | The saved review configuration needs an owner action before it can run. | Ask the workspace owner to complete the configuration action shown in RateLoop, then retry. |
invalid_review_opportunity | The proposed review opportunity is incomplete or invalid. | Correct the fields named by the error and evaluate the opportunity again. |
review_opportunity_conflict | The opportunity key already identifies different review inputs. | Reuse the original inputs for that key or evaluate the changed work as a new opportunity. |
review_opportunity_not_found | The review opportunity is unknown to this workspace. | Use the opportunity ID returned by evaluation, or evaluate the work again if none was saved. |
source_payload_commitment_mismatch | The source payload no longer matches the bytes evaluated for review. | Submit the exact evaluated source bytes or create a new review opportunity for the changed source. |
suggestion_payload_commitment_mismatch | The suggestion payload no longer matches the bytes evaluated for review. | Submit the exact evaluated suggestion bytes or create a new review opportunity for the changed suggestion. |
review_question_conflict | The review question differs from the question frozen for this opportunity. | Use the frozen question or evaluate the changed question as a new opportunity. |
approval_required | A workspace owner or admin must approve this review request. | Wait for the owner or admin decision in RateLoop; submit only after approval and do not bypass it. |
review_not_requested | No review request exists for this opportunity yet. | Request the required review once, then wait using the returned opportunity state. |
automatic_grant_inactive | Automatic review authority is no longer active for this opportunity. | Ask a workspace owner or admin to renew the grant or handle the request through approval. |
workspace_stopped | The workspace stop control is blocking new review activity. | Wait for a workspace manager to release the stop and re-grant the agent before retrying. |
data_classification_not_admitted | The Alpha accepts only public, synthetic or safely redacted material; restricted and regulated data are refused. | Send only such material, classified internal or confidential at most. If the agent's setup is restricted or regulated, ask the owner to choose Internal or Confidential under Agents → Setup. |
private_routing_configuration_required | The selected private review option has no complete reviewer routing. | Ask a workspace owner or admin to finish the exact private reviewer routing, then retry. |
sign_off_signers_unavailable | Too few designated signers can sign off this output, so nothing was requested or approved. | Do not use the output. Ask a workspace owner or admin to renew a signer's or deputy's designation, then retry. |
sign_off_signers_changed | Who may hold the sign-off seats changed while they were being created, so nothing was requested or approved. | Do not use the output. Request the review again; the signers eligible now are seated. |
lane_not_implemented | The selected review option is not available in this release. | Choose an available review option; do not retry the unavailable option unchanged. |
Wait and result
| Code | Meaning | Recovery |
|---|---|---|
invalid_wait_cursor | The wait continuation cursor is invalid. | Use the most recent cursor returned for this operation, or omit it to restart polling. |
invalid_wait_timeout | The requested wait duration or polling interval is outside the allowed range. | Use the range named by the error and retry the same wait. |
review_wait_limit_reached | This connection already has the most review waits it may hold open at once. | Wait a few seconds or until another wait returns, then retry the same wait with its cursor. |
wait_cancelled | The caller cancelled the wait before it completed. | Resume waiting for the same opportunity or operation; do not create another request. |
result_not_ready | The review has no terminal result yet. | Follow the returned wait continuation and retry later without creating another request. |
sign_off_receipt_not_found | This review is not a sign-off, so it has no sign-off receipt. | Use the review result instead. A sign-off receipt exists only when the review setup is a sign-off. |
Social engagement and releases
| Code | Meaning | Recovery |
|---|---|---|
invalid_social_action | The social action is not canonical version 1 or 2 bytes, or breaks one of its rules; the error names the problem. | Fix the named problem, write the action with the SDK's serializer, and send it again. |
invalid_social_source | The social source is not canonical social-source bytes; the error names the problem. | Fix the named problem, write the source with the SDK's serializer, and send the draft again. |
invalid_social_round | The round or pre-check request is malformed. | Correct the field the error names, then send the request again. |
social_round_too_large | A round holds at most 25 drafts. | Send 25 drafts, then the rest as another round with a new roundId. |
social_round_conflict | This roundId was already used for other drafts. | Use a new roundId for a new round. Resend a round unchanged only to read its stored result. |
social_round_busy | Another submission of this round is still running. | Wait a few seconds, then send the same round again with the same roundId; it returns the stored result. |
social_round_not_found | This agent has no round with this roundId. | Use the roundId of a round this agent submitted, or submit the round first. |
invalid_repetition_probe | A repetition check takes 1 to 25 drafts, each a canonical social action with an optional canonical source. | Correct the field the error names, then check again. |
repetition_probe_rate_limited | This connection ran more than 30 repetition checks in a minute. | Wait the seconds the error names, then check again. |
invalid_engagement_feedback | The feedback window is invalid: from and to are optional UTC times, from before to, at most 90 days apart. | Correct from or to, or omit both for the last 30 days. |
social_precheck_not_qualified | requireAi was set, but Rating AI's pre-check is not qualified for this agent yet. | Pre-check without requireAi: the rules still apply, and Rating AI joins once it qualifies. |
social_precheck_quota_exhausted | This workspace has fewer Rating AI pre-checks left today (UTC) than these drafts need; there are at most 100 a day. | Pre-check at most as many drafts as the error says are left, or wait for the next UTC day. The rules apply in the round either way. |
social_precheck_not_found | This agent has no pre-check with this ID, or it is older than 30 days. | Pre-check the draft again with rateloop_precheck_social_actions and use the new precheckId. |
invalid_release_plan | A plan takes 1 to 25 items, each { opportunityId, output }, and each approval once. | Correct the item the error names, then plan again. |
release_busy | Another release request, plan or record of this agent is in progress. | Wait a few seconds, then send the same request again. |
release_opportunity_not_found | This agent has no review opportunity with this ID. | Use the opportunityId of a draft this agent had signed off; after a signer's edit, the revision's own ID. |
release_not_authorized | This opportunity has no approving named sign-off, so nothing may be released. | Do not act. Release only drafts whose verified sign-off approved them. |
release_output_mismatch | These bytes are not the output the signer approved. | Send the exact approved bytes, unchanged; after a signer's edit, the revision's bytes. |
release_approval_expired | The sign-off is older than the owner's policy allows for releasing. | Do not act on it. Drop the action, or propose it again for a new sign-off. |
release_post_too_old | The post is older than the owner's policy allows for engaging on this platform. | Do not act on this post; drop the action. |
release_action_disabled | The owner's policy allows no releases of this action kind on this platform. | Do not act; drop the action. Only the owner can change the policy. |
release_lane_unsupported | The owner's Who posts setting for this platform cannot do this action, or has a person post its releases by hand. | Do not act; drop the action. For a release posted by hand, tell the owner it waits under Ready to post. |
release_refollow_blocked | This agent unfollowed this creator on this platform, so it may not follow them again. | Do not follow this creator again; drop this action. |
releases_paused | A pause after a reported incident covers this release; scope names the platform and action kinds it stops. | Do not act. Wait until the owner resumes releases in RateLoop, then ask again. |
release_already_recorded | This approval was already released and recorded, or this release already has a different record. | Do not act again. On a retry, send the exact record that was stored. |
release_unrecorded | An earlier slot of this approval expired or was revoked without a record. | Record that release as posted, failed or not_used with rateloop_record_release, then ask again. |
release_not_found | This agent has no release with this ID. | Use the releaseId a granted request or a plan returned. |
release_not_granted | This release is planned or cancelled, not a granted slot, so nothing can be recorded for it yet. | Request it with rateloop_request_release when its planned time comes (plan it again if it was cancelled), act inside the granted slot, then record it. |
release_not_posted | Only a release recorded as posted can be checked or get outcomes. | Record the release as posted first; if it was not posted, skip the check. |
invalid_release_record | The release record is malformed: an unknown event, a missing failure reason, or an invalid permalink, time or text. | Correct the field the error names. A permalink is an https address on the action's own platform. |
invalid_release_incident | The incident's kind or scope is invalid; most incidents pause at least their whole platform. | Send a listed kind and a scope that covers at least what the error names, or no scope to pause every release. |
invalid_release_outcome | The outcome record is malformed. | Correct the field the error names, and send null for anything you could not see. |
release_outcome_recorded | This checkpoint's outcome of the release is already recorded with other values. | Record each checkpoint once. On a retry, send the exact stored values. |
release_outcome_out_of_window | The observation time is outside the hours after the post in which this checkpoint is recorded. | Record the checkpoint within the hours the error names; once they have passed, skip it. |
release_pause_not_found | No active pause of this agent has this ID; it may already have been resumed. | Reload the agent's social releases and resume a pause that is still listed. |
invalid_release_resume | The resume request names no valid pause. | Send the pauseId of an active pause, or no pauseId to resume every pause of the agent. |
invalid_social_proof | The proof link request is malformed. | Send JSON with only the fields this request takes, then retry. |
social_proof_output_unavailable | This release's approved text is no longer stored, so it cannot get a proof link or appeal pack entry. | Do not retry; this release can no longer get a proof link. |
social_proof_origin_forbidden | The proof request did not come from RateLoop's own proof page. | Open the proof link in a browser; its page sends this request. |
Retry safely
For retryable wait or rate-limit errors, continue the same request or operation. Never create another review or request merely because a result is pending.