Handle VENUZ API errors — when to retry and why it failed
API v1 is being retired. API v2 was published on 2026-11-09. v1 stops answering on 2026-12-07 (2026-12-21 if your agency asks for the extension), earlier only if no key uses it and announced at least 7 days before (Versioning); the
Sunsetheader of each v1 response is the date that applies to your key. Migrate from v1 to v2.
Every error of the VENUZ API, over HTTP and over MCP, has the same shape. Two fields decide what your agent does next:
retryable:truemeans the SAME request may succeed later. Wait for theRetry-Afterheader (over MCP,details.retry_after_seconds), then send it again; for a write, with the SAMEIdempotency-Key.falsemeans retrying the same request gives the same answer: do whatfixsays first.details.reason: why it failed, a stable value to branch on.resource_not_found,account_busyand every 403 always carry one; other codes carry one whenfixmentions it.
{
"error": "account_busy",
"message": "The account is busy serving other work right now. Nothing was sent.",
"fix": "Wait for the number of seconds in the Retry-After header, then retry. …",
"retryable": true,
"docs_url": "https://docs.venuz.ai/errors/#account_busy",
"request_id": "req_0123456789abcdef01234567",
"details": { "reason": "of_rate_limited" }
}
Step 1: Branch on the code
Branch on error, never on message: the sentence can change, the code does not.
Step 2: Retry only when retryable is true
If retryable is true, wait the seconds in Retry-After and retry once; do not retry in a loop. account_busy with of_rate_limited is OnlyFans' own wait; with account_queue_full, the account's queue in VENUZ.
Step 3: Otherwise, fix the request first
If retryable is false, read details.reason and fix, change what they say, then send a new request. A resource_not_found with not_found is the same answer for an item that does not exist and for one this key cannot see, on purpose: VENUZ never tells you that an id belongs to another agency.
Every code and reason
| Code | HTTP | retryable | details.reason |
|---|---|---|---|
account_busy | 429 | true | account_queue_full, of_rate_limited |
account_disconnected | 409 | false | — |
account_not_allowed | 403 | false | the cause the request hit, or the code itself |
account_transport_unsupported | 409 | false | — |
agency_inactive | 403 | false | the cause the request hit, or the code itself |
all_accounts_required | 403 | false | the cause the request hit, or the code itself |
api_halted | 503 | true | — |
api_key_expired | 401 | false | — |
api_key_revoked | 401 | false | — |
api_key_suspended | 403 | false | the cause the request hit, or the code itself |
api_not_enabled | 403 | false | the cause the request hit, or the code itself |
browser_write_blocked | 403 | false | the cause the request hit, or the code itself |
bulk_read_limited | 429 | true | — |
calypso_not_ready | 409 | false | — |
calypso_unavailable | 503 | true | — |
change_already_undone | 409 | false | — |
change_not_undoable | 409 | false | — |
change_superseded | 409 | false | — |
export_storage_unavailable | 503 | true | — |
feature_disabled | 403 | false | the cause the request hit, or the code itself |
idempotency_in_progress | 409 | true | — |
idempotency_key_required | 400 | false | — |
idempotency_key_reused | 409 | false | — |
idempotency_outcome_unknown | 409 | false | — |
insufficient_scope | 403 | false | key_missing_scope, creator_missing_permission |
internal_error | 500 | false | — |
invalid_api_key | 401 | false | — |
invalid_request | 400 | false | see the code |
ip_not_allowed | 403 | false | the cause the request hit, or the code itself |
limits_unavailable | 503 | true | — |
media_too_large | 409 | false | — |
media_variant_unavailable | 404 | false | — |
not_found | 404 | false | — |
not_implemented | 501 | false | — |
oauth_token_not_accepted | 401 | false | — |
of_rejected | 409 | false | — |
of_unavailable | 503 | true | — |
preview_invalid | 409 | false | — |
preview_required | 400 | false | — |
rank_not_allowed | 403 | false | the cause the request hit, or the code itself |
rate_limited | 429 | true | — |
resource_not_found | 404 | false | not_found, not_synced_yet, drm_protected, no_venuz_card, not_on_onlyfans, not_a_fan_of_account |
state_conflict | 409 | false | see the code |
stored_data_unavailable | 503 | true | — |
upload_failed | 409 | false | see the code |
usage_unavailable | 503 | true | — |
vault_fan_not_linked | 409 | false | — |
version_retired | 404 | false | — |
webhook_limit_reached | 409 | false | — |
webhook_not_found | 404 | false | — |
webhook_url_rejected | 400 | false | see the code |
withdrawal_cap_exceeded | 409 | false | — |
withdrawal_cap_not_set | 409 | false | — |
write_store_unavailable | 503 | true | — |
writes_not_enabled | 403 | false | the cause the request hit, or the code itself |
| Code | details.reason | Meaning |
|---|---|---|
account_busy | account_queue_full | The account's queue in VENUZ is serving other work (every key of the agency and VENUZ itself share it). |
account_busy | of_rate_limited | OnlyFans itself asked to slow down on this account; Retry-After is the wait OnlyFans asked for. |
insufficient_scope | key_missing_scope | The key does not have the permission (details.missing_scopes). |
insufficient_scope | creator_missing_permission | The key has the permission but the person who created it cannot do this in VENUZ today (details.withheld_by_creator is true). |
resource_not_found | not_found | There is no such item, or this key cannot see it (the same answer on purpose, so ids cannot be probed). |
resource_not_found | not_synced_yet | The item exists on OnlyFans but VENUZ has not read it yet: this answer is retryable, so send the same request again after Retry-After. |
resource_not_found | drm_protected | The item exists but OnlyFans protects it with DRM, so there is no file to download. |
resource_not_found | no_venuz_card | The fan has paid this account but has no card in VENUZ yet: details.fix says what works for this fan. |
resource_not_found | not_on_onlyfans | OnlyFans has no user with this id. |
resource_not_found | not_a_fan_of_account | The user exists on OnlyFans but is not a fan of this account. |
The meaning and fix of each code: errors.
VENUZ is independent software for agencies. It is not affiliated with, endorsed or sponsored by OnlyFans. OnlyFans is a trademark of its owner.