# Error codes

> Every error code the API and the MCP server return, with its status, cause and fix.

URL: https://renzo-digital.com/docs/error-codes

This catalog is built from the API's own list of error codes, so it always matches the server. Each code has an anchor: link to `/docs/error-codes#<code>`.

How errors look and which ones to retry is on the [Errors](https://renzo-digital.com/docs/concepts/errors) page. **Status "none"** means the code is not an HTTP error: it appears inside an MCP tool result or a market quote.

Branch on `code`. New codes can be added at any time, so handle an unknown code by its HTTP status.

## Requests

Errors any call can return: malformed input, idempotency conflicts, rate limits and outages.

| Code | Status | Cause | Fix |
| --- | --- | --- | --- |
| `bad_request` | 400 | The request could not be read, for example broken JSON. | Send a well-formed request body and query string. |
| `dependency_unavailable` | 503 | A service we depend on, such as email delivery, did not answer. | Retry after a short wait. |
| `idempotency_key_reused` | 409 | This `Idempotency-Key` was already used for a different request. | Use a new key for each distinct request. |
| `idempotent_request_in_progress` | 409 | An earlier request with this `Idempotency-Key` has not finished yet. | Retry the same request with the same key after a moment. |
| `internal_error` | 500 | Something failed on our side. | Retry later. If it keeps failing, contact support with the `correlation_id`. |
| `method_not_allowed` | 405 | This path does not accept the HTTP method you used. | Use the method shown for this path in the API reference. |
| `not_found` | 404 | No resource exists at this path, or it is not visible to you. | Check the path and the ID or slug you sent. |
| `payload_too_large` | 413 | A request with an `Idempotency-Key` has a body over 1 MiB. | Send a smaller body. |
| `rate_limited` | 429 | You sent too many requests in a short time. | Wait for the seconds in the `Retry-After` header, then retry. |
| `service_unavailable` | 503 | The service is briefly unable to answer. | Retry after a short wait. |
| `unsupported_media_type` | 415 | The request body has a content type this endpoint does not read. | Send `Content-Type: application/json` unless the endpoint says otherwise. |
| `validation_failed` | 422 | A parameter or body field is missing, has the wrong type, or is out of range. | Read the `errors` list in the response and correct each named field. |

## Auth

Sign-in, tokens and sessions. See [Authentication](https://renzo-digital.com/docs/authentication).

| Code | Status | Cause | Fix |
| --- | --- | --- | --- |
| `auth_temporarily_unavailable` | 503 | Sign-in is paused for a moment to protect accounts. | Wait for the `Retry-After` seconds, then try again. |
| `customer_account_deactivated` | 403 | Renzo staff deactivated this account. | Contact Renzo support. |
| `customer_account_deleted` | 403 | This account was deleted and its grace period is over. | Sign up again with a new account. |
| `invalid_credentials` | 401 | The email or password of the review account is wrong. | Check both values. Most customers sign in with an emailed code instead. |
| `invalid_state` | 401 | The `state` is unknown, used, expired or for another provider, or a link callback came without the token that started it. | Start the sign-in again. Send a link callback with the same customer token. |
| `invalid_token` | 401 | The access or refresh token is malformed, signed wrongly, or already used. | Sign in again to get a new token pair. |
| `missing_credentials` | 401 | The endpoint needs a customer access token and none was sent. | Send `Authorization: Bearer <access_token>`. |
| `otp_challenge_expired` | 401 | The login challenge is too old. | Ask for a new login code. |
| `otp_challenge_invalid` | 401 | The `challenge_token` is unknown or was already used. | Ask for a new login code. |
| `otp_code_expired` | 401 | The emailed code is past its expiry time. | Ask for a new login code. |
| `otp_code_incorrect` | 401 | The six-digit code does not match the one we emailed. | Check the code in the latest email and try again. |
| `otp_too_many_attempts` | 401 | Too many wrong codes were tried for this challenge, so it is closed. | Ask for a new login code. |
| `provider_not_enabled` | 404 | This sign-in provider is not switched on. | Offer only the providers from `GET /api/v1/auth/social/providers`. |
| `session_revoked` | 401 | The session was ended by a logout, a reused refresh token, or account deletion. | Sign in again. |
| `social_login_failed` | 401 | The provider did not confirm the sign-in, for example a used or wrong `code`. | Start the sign-in again. |
| `social_pending_invalid` | 401 | The `pending_token` is unknown or expired. | Start the sign-in again from the provider button. |
| `token_expired` | 401 | The access token is past its expiry time. | Call `POST /api/v1/auth/refresh` with your refresh token, then retry. |
| `wrong_token_audience` | 401 | The token was issued for another Renzo surface, not the customer API. | Use a token from the customer sign-in endpoints. |

## Account

Profile, username, email change, linked sign-ins and connected apps. See [Account](https://renzo-digital.com/docs/resources/account).

| Code | Status | Cause | Fix |
| --- | --- | --- | --- |
| `connection_not_found` | 404 | No connected app with this ID belongs to your account. | List your connections and use an ID from that list. |
| `customer_not_found` | 404 | The account behind this token no longer exists. | Sign in again. |
| `email_already_registered` | 409 | Another account already uses this email address. | Use a different address, or sign in to the other account. |
| `email_domain_not_allowed` | 422 | New accounts cannot use a disposable email domain. | Use a permanent email address. |
| `email_unchanged` | 409 | The new email address is the same as the current one. | Send a different address. |
| `identity_already_linked` | 409 | Another account of the same provider is already linked to this Renzo account. | Unlink the current one with `DELETE /api/v1/users/me/identities/{provider}` first. |
| `identity_in_use` | 409 | This provider account is linked to another Renzo account. | Sign in to that account, or unlink it there first. |
| `identity_not_found` | 404 | This provider is not linked to your account. | List linked providers with `GET /api/v1/users/me/identities`. |
| `profile_incomplete` | 409 | The account has no username yet, so it cannot write anything. | Set a username with `PATCH /api/v1/users/me`, then retry. |
| `username_invalid` | 422 | The username breaks the length or character rules. | Use the allowed letters, digits and length shown in the field rules. |
| `username_taken` | 409 | Another account already uses this username. | Choose another username. |

## Pagination

Cursor errors. The anchor codes belong to staff tools. See [Pagination](https://renzo-digital.com/docs/concepts/pagination).

| Code | Status | Cause | Fix |
| --- | --- | --- | --- |
| `anchor_not_found` | 404 | No record on this list has the `anchor_id` you sent. | Check the ID, or drop `anchor_id` to start from the top of the list. |
| `anchor_with_cursor` | 400 | `anchor_id` and `cursor` were sent together. | Send `anchor_id` only on the first request, then follow `next_cursor`. |
| `invalid_cursor` | 400 | The `cursor` is damaged, expired, or belongs to a different list or filter. | Pass `next_cursor` back exactly as received, with the same filters, or start over. |

## Articles

Article gating. See [Plans and limits](https://renzo-digital.com/docs/concepts/plans-and-limits#article-gating).

| Code | Status | Cause | Fix |
| --- | --- | --- | --- |
| `article_access_required` | 403 | Your plan does not open this article. | Upgrade to a plan that includes it. |
| `article_archived` | 410 | The article was published once but is now archived. | Remove the link or show that the article is gone. |
| `article_sign_in_required` | 401 | This article is only for signed-in readers. | Sign in, then send the access token with the request. |

## Market data

Symbols, quotes and system watchlists. Codes with status "none" appear in a quote's `error` object, not as an HTTP error. See [Market data](https://renzo-digital.com/docs/resources/market-data).

| Code | Status | Cause | Fix |
| --- | --- | --- | --- |
| `default_watchlist_asset_class_not_allowed` | 422 | The Popular list takes no `asset_class`, or this class has no such list. | Drop `asset_class`, or pick a class the list supports. |
| `default_watchlist_asset_class_required` | 422 | A ranked system list needs an `asset_class`. | Add the `asset_class` query parameter. |
| `market_data_invalid_payload` | none | The market data provider sent data we could not use. | Show the last price, if any, and read again later. |
| `market_data_latest_price_unavailable` | 503 | There is no intraday price for this symbol right now. | Retry later, for example when its market is open. |
| `market_data_mapping_unavailable` | none | This symbol has no market data source yet, so the quote has no price. | Show the symbol without a price. |
| `market_data_no_data` | none | The market data provider has no bars for this symbol. | Show the symbol without a price. |
| `market_data_provider_error` | none | The market data provider answered with an error at the last refresh. | Show the last price, if any, and read again later. |
| `market_data_provider_unavailable` | none | The market data provider was unreachable at the last refresh. | Show the last price, if any, and read again later. |
| `market_data_rate_limited` | none | The market data provider limited our requests at the last refresh. | Show the last price, if any, and read again later. |
| `market_data_stale_cache` | none | The latest stored price is older than expected. | Show the price with its `trading_day` and mark it as delayed. |
| `market_data_timeout` | none | The market data provider did not answer in time at the last refresh. | Show the last price, if any, and read again later. |
| `market_data_too_many_slugs` | 400 | More than 100 slugs were sent in one request. | Split the slugs into requests of 100 or fewer. |
| `replay_not_found` | 404 | Symbol replays exist only in test environments. | Do not call replay routes in production. |
| `symbol_not_found` | 404 | No active symbol has this slug. | Find the slug with `GET /api/v1/symbols`. |

## Watchlists

See [Watchlists](https://renzo-digital.com/docs/resources/watchlists).

| Code | Status | Cause | Fix |
| --- | --- | --- | --- |
| `watchlist_limit_reached` | 409 | Your plan allows no more watchlists. | Delete a watchlist or upgrade your plan. |
| `watchlist_not_found` | 404 | No watchlist with this ID belongs to you. | List your watchlists and use an ID from there. |
| `watchlist_reorder_incomplete` | 422 | The new order does not name every symbol on the list exactly once. | Send all symbol IDs of the watchlist, each once. |
| `watchlist_symbol_not_on_list` | 404 | The symbol is not on this watchlist. | Read the watchlist to see which symbols it holds. |

## Alerts

Price alerts. See [Price alerts](https://renzo-digital.com/docs/resources/price-alerts).

| Code | Status | Cause | Fix |
| --- | --- | --- | --- |
| `price_alert_channel_not_connected` | 422 | The alert asks for a channel, such as Telegram, that your account has not connected. | Connect the channel first, or choose email. |
| `price_alert_limit_reached` | 409 | Your plan allows no more active price alerts. | Delete or pause an alert, or upgrade your plan. |
| `price_alert_not_found` | 404 | No price alert with this ID belongs to you. | List your alerts and use an ID from there. |
| `price_alert_stop_token_invalid` | 400 | The stop link is damaged or was not issued by Renzo. | Open the link from the alert message again, or stop the alert in your account. |
| `price_alert_symbol_not_found` | 404 | No active symbol has this ID. | Find the symbol with `GET /api/v1/symbols`. |

## Calendars

Economic calendar, market holidays, CFD calendars and dividends.

| Code | Status | Cause | Fix |
| --- | --- | --- | --- |
| `cfd_calendars_invalid_range` | 400 | The date range is reversed or longer than allowed. | Send `start` on or before `end`, within the stated maximum length. |
| `dividends_invalid_range` | 400 | The date range is reversed or longer than allowed. | Send `start` on or before `end`, within the stated maximum length. |
| `econ_calendar_feed_not_found` | 404 | No calendar feed has this token. It may have been reset. | Read your feed again to get the current URL. |
| `econ_calendar_indicator_not_found` | 404 | No indicator with this ID has a visible release. | Use an `indicator.id` from a release you listed. |
| `econ_calendar_invalid_range` | 400 | The date range is reversed or longer than allowed. | Send `start` on or before `end`, within the stated maximum length. |
| `econ_calendar_release_not_found` | 404 | No visible release has this ID. | Use an ID from `GET /api/v1/economic-calendar/releases`. |
| `market_holidays_invalid_range` | 400 | The date range is reversed or longer than allowed. | Send `start` on or before `end`, within the stated maximum length. |

## Notifications

Channels, preferences and unsubscribe links. See [Notifications](https://renzo-digital.com/docs/resources/notifications).

| Code | Status | Cause | Fix |
| --- | --- | --- | --- |
| `notification_channel_locked` | 403 | WhatsApp delivery comes with any paid Renzo plan, and the free plan does not include it. | Choose a paid plan on the pricing page, or choose another channel. |
| `notification_channel_not_connectable` | 422 | This channel needs no connection step, for example email. | Skip the connect step for this channel. |
| `notification_channel_unavailable` | 422 | This channel cannot deliver right now in this environment. | Choose another channel. |
| `notification_channel_unknown` | 422 | The channel name is not one Renzo knows. | Use a channel from `GET /api/v1/notifications/channels`. |
| `notification_type_not_found` | 404 | No notification type has this key. | Use a key from `GET /api/v1/notifications/types`. |
| `notification_unsubscribe_token_invalid` | 400 | The unsubscribe link is damaged or was not issued by Renzo. | Open the link from the email again, or change preferences in your account. |

## Billing

Checkout, plan changes and the payment provider. See [Billing](https://renzo-digital.com/docs/resources/billing).

| Code | Status | Cause | Fix |
| --- | --- | --- | --- |
| `billing_payment_declined` | 402 | The card was declined. | Update the card in the billing portal, then retry. |
| `billing_provider_failed` | 502 | The payment provider refused or failed the call. Nothing was saved. | Retry later. |
| `billing_provider_outcome_unknown` | 502 | The payment provider did not answer, so the result is not known. | Send the same request again, with the same `Idempotency-Key`, to finish it. |
| `checkout_in_progress` | 409 | Another checkout request of this account is still running. | Wait a few seconds and retry. |
| `checkout_return_to_invalid` | 422 | `return_to` is not a path on this site. | Send a relative path that starts with one `/`, such as `/en/articles/x`, or omit it. |
| `product_price_not_for_sale` | 409 | This price is retired or cannot be bought. | Pick an active price from `GET /api/v1/products`. |
| `product_price_not_found` | 404 | No price has this ID. | Use a price ID from `GET /api/v1/products`. |
| `subscription_already_active` | 409 | You already have a live subscription, so a new checkout is refused. | Change the price of your subscription instead. |
| `subscription_change_in_progress` | 409 | Another change to this subscription is still running. | Wait a few seconds and retry. |
| `subscription_interval_locked` | 409 | A yearly plan cannot switch to a monthly price mid-term. | Pick a yearly price, or wait until the period ends. |
| `subscription_not_changeable` | 409 | This subscription cannot be changed here, for example a staff grant. | Contact support to change it. |
| `subscription_not_found` | 404 | You have no live subscription. | Start a checkout first. |
| `subscription_price_quote_stale` | 409 | An upgrade needs a recent quote and there is none. | Preview the change again, then confirm it. |

## Referrals

See [Referrals](https://renzo-digital.com/docs/resources/referrals).

| Code | Status | Cause | Fix |
| --- | --- | --- | --- |
| `referral_cannot_refer` | 409 | Only an account with a username can have a referral code. | Set a username, then retry. |
| `referral_code_not_found` | 404 | No active referral code matches, or the referral program is off. | Check the code with the friend who shared it. |
| `referral_not_eligible` | 409 | Only an account that never had a plan can add a referral code. | Nothing to do. This account cannot add a referrer. |
| `referral_own_code` | 409 | You cannot use your own referral code. | Use a friend's code. |
| `referrer_already_set` | 409 | Your account already has a referrer. | Nothing to do. A referrer can be set once. |

## Feedback

See [Feedback](https://renzo-digital.com/docs/resources/feedback).

| Code | Status | Cause | Fix |
| --- | --- | --- | --- |
| `feedback_not_found` | 404 | No feedback item with this ID exists. | List the feedback and use an ID from there. |

## MCP

Tool errors inside an MCP tool result. They have no HTTP status. See [MCP](https://renzo-digital.com/docs/mcp#limits).

| Code | Status | Cause | Fix |
| --- | --- | --- | --- |
| `mcp_account_not_active` | none | The Renzo account has not finished sign-up or is closed. | Finish sign-up on Renzo, then reconnect. |
| `mcp_cursor_refused` | none | The cursor belongs to another tool, user or set of arguments. | Repeat the same arguments with the cursor, or call without a cursor. |
| `mcp_daily_limit_reached` | none | The account used all of today's tool calls. | Try again tomorrow (UTC), or upgrade your plan. |
| `mcp_full_text_limit_reached` | none | The account read all of today's full-text articles through the AI client. | Use summaries for now, or try again tomorrow (UTC). |
| `mcp_range_too_long` | none | The date range asked for is longer than the tool allows. | Ask for a shorter range and call again for the next period. |
| `mcp_rate_limited` | none | The AI client called Renzo tools too often in the last minute. | Wait a minute, then call again. |
| `mcp_scope_missing` | none | The connection did not grant the permission this tool needs. | Reconnect Renzo in the AI client and allow the requested access. |
| `mcp_symbol_ambiguous` | none | Several symbols match the name or ticker given. | Pick one of the listed symbols and call again with it. |
| `mcp_symbol_not_found` | none | No Renzo symbol matches the name or ticker given. | Try the exact ticker, or search articles by the company name. |
| `mcp_unauthenticated` | none | The AI client's access is missing, expired or revoked. | Reconnect Renzo in the AI client. |
