Errors
The error envelope, every error code, and whether it is safe to retry.
Errors use standard HTTP status codes and one JSON envelope. Errors are not decisions. A deny is a successful 200 response from Check authorization. Whatever the error, your enforcement point must not run the action.
{
"error": {
"code": "parameter_invalid",
"message": "Request fields are invalid or unsupported.",
"request_id": "3b2f1c9e-0d4a-4c51-9b8e-6a7d2f0e1c44"
}
}| Field | Type | Required | Nullable | Default | Validation and restrictions | Description |
|---|---|---|---|---|---|---|
error | object | Yes | No | Not specified | None specified | Structured failure envelope; this is not an authorization decision. |
error.code | string | Yes (when parent is present) | No | Not specified | None specified | Stable error code to branch on. |
error.message | string | Yes (when parent is present) | No | Not specified | None specified | Human-readable explanation. Never shown values you sent. |
error.request_id | string | Yes (when parent is present) | No | Not specified | None specified | Correlation ID for support. |
Error codes
invalid_request
HTTP 400 · Retry: no
The request could not be read. What to do: Send a well-formed HTTP request.
invalid_json
HTTP 400 · Retry: no
The body is missing or is not valid UTF-8 JSON. What to do: Send a JSON object.
authentication_required
HTTP 401 · Retry: no
No Bearer credential was sent. What to do: Send Authorization: Bearer with a project key or CLI token.
api_key_required
HTTP 401 · Retry: no
This route needs a project API key. What to do: Use the rq_test_ key from the API keys page on your server.
api_key_invalid
HTTP 401 · Retry: no
The API key is invalid, expired or revoked. What to do: Check the key or roll a new one in the dashboard.
access_token_invalid
HTTP 401 · Retry: no
The CLI token is invalid, expired or revoked. What to do: Run reqlo login again.
scope_missing
HTTP 403 · Retry: no
The key can't authorize requests. What to do: Create a new key in the dashboard.
access_token_not_allowed
HTTP 403 · Retry: no
CLI tokens can't use this route. What to do: Use the dashboard or a project API key.
user_session_required
HTTP 403 · Retry: no
Approving or rejecting needs a signed-in person, not a project key. What to do: Run reqlo login and use the CLI token.
access_denied
HTTP 403 · Retry: no
Your role doesn't allow this operation in that environment. What to do: Ask an owner or admin. Publishing and rollback need owner or admin.
approver_not_allowed
HTTP 403 · Retry: no
You aren't an approver for this request. What to do: With a channel, only people listed on it can resolve; without one, owners and admins can.
not_found
HTTP 404 · Retry: no
The route doesn't exist. What to do: Check the method and path.
resource_missing
HTTP 404 · Retry: no
The object doesn't exist in this environment. What to do: Check the ID and that you are using the right key or environment.
method_not_allowed
HTTP 405 · Retry: no
This method isn't supported on this route. What to do: Check the method.
approval_not_pending
HTTP 409 · Retry: no
The approval was already resolved, consumed or expired. What to do: Read the approval again.
upstream_url_invalid
HTTP 422 · Retry: no
The upstream MCP server URL isn't allowed. What to do: Use a public HTTPS URL on port 443, without credentials, query or fragment.
catalog_conflict
HTTP 409 · Retry: no
That name is already registered or archived in this environment. What to do: Choose another name. Archived names can't be reused.
policy_id_taken
HTTP 409 · Retry: no
That policy ID is already used, in this or another environment. What to do: Generate a new ID: POL_ followed by 16 random letters or digits.
policy_version_stale
HTTP 409 · Retry: no
A policy in that version no longer exists, so it can't be restored. What to do: Roll back to a later version, or recreate the policy.
request_too_large
HTTP 413 · Retry: no
The body is larger than 32 KiB. What to do: Send fewer or shorter attributes.
content_type_invalid
HTTP 415 · Retry: no
The body isn't sent as application/json. What to do: Send Content-Type: application/json.
parameter_invalid
HTTP 422 · Retry: no
A field or query parameter is missing, unknown or invalid. What to do: Fix the request. Unknown fields are rejected.
action_unknown
HTTP 422 · Retry: no
The action isn't registered and active in this environment. What to do: Register it under Actions & resources.
attribute_invalid
HTTP 422 · Retry: no
Attributes don't match the registered schemas. What to do: Send exactly the declared attributes with the right types.
policy_invalid
HTTP 422 · Retry: no
Rules or conditions are invalid, or name an approval channel that doesn't exist. What to do: Fix the listed problems; run reqlo policies validate.
rate_limited
HTTP 429 · Retry: yes, with exponential backoff
More than 120 requests in a minute for this key, token or address. What to do: Back off and retry.
service_unavailable
HTTP 503 · Retry: yes, with exponential backoff
A required service is unavailable. This is never a decision. What to do: Do not run the action. Retry with backoff.
Support
When reporting a problem, include the request_id and, for decisions, the decision id. Never send API keys, CLI tokens or real personal data.
Something wrong or unclear? Report an issue with this page.