Skip to content
Oclavex is in private preview, open to existing MonetizeIt users. New users who would like to evaluate Oclavex before the public launch can request access at info@revenusion.com.

Error codes

Every API failure returns an RFC 9457 application/problem+json body with two stable extensions: a numeric code and a dotted codeName. Three refusals carry neither: an access token that is missing or doesn’t validate gets a plain 401, a token without the scope the endpoint needs gets a plain 403, and a request body that fails model binding gets the validation problem at the end of this page.

{
"type": "/docs/reference/error-codes/#license.forbidden_by_policy",
"status": 403,
"title": "Forbidden by policy",
"detail": "Activation is blocked by the entitlement's activation policy.",
"code": 2011,
"codeName": "license.forbidden_by_policy"
}

The type of a coded error is this page with the code name as the anchor, so generic RFC 9457 tooling can tell the problems apart and a reader can follow the link to the row that explains it. It is a relative reference: it resolves against the host that answered. The explanation of this occurrence is in detail. An unexpected failure (a 500) carries a fixed title and detail and a correlation member, never the text of the exception: quote the correlation id when you ask support about it.

Branch on code or codeName, never on detail or title — those are human-facing prose and may change; the codes are contract. New codes may be added over time (an additive, backward-compatible change), so treat unknown codes as a generic failure of the given HTTP status.

When an activation is refused because something it needed was missing, the problem also carries a requires member, so your application can act without reading the message:

requires What to do
sign_in Sign the user in and activate again, or let the .NET SDK do it.
verified_email Activate again with the user’s email address; they confirm it from the link they receive.
assigned_user The code was issued to another user. Sign in as that user, or ask your software provider for a code of your own.
code_recipient The code was sent to an email address, and the signed-in user’s verified address is another one. Sign in with the account for the code’s address, or ask your software provider for a code of your own. The problem never names the address.
organization_member The license is limited to one organization the signed-in user isn’t a member of.
verified_user Your software provider hasn’t verified this user yet.
hardware_key Activate with a YubiKey, through the hardware-key add-on.
hardware_key_touch Activate with a YubiKey set up to ask for a touch.

When the user is what’s missing, a caller with no signed-in user sees sign_in or verified_email, with status 401, code license.authentication_required and a WWW-Authenticate header: Bearer when no token was sent, or Bearer error="insufficient_user_authentication" (RFC 9470) when the token has no user behind it. assigned_user, code_recipient, organization_member and verified_user go to a signed-in caller, and hardware_key and hardware_key_touch to any caller, all with status 403. An unknown, expired or used activation code is refused before anything else, as before, and carries no requires.

Codes are globally unique and grouped in ranges: general platform errors are 1000–1999, licensing 2000–2999, account/directory 3000–3999, webhooks 4000–4999, configuration and onboarding 5000–5999, metering 6000–6999, sign-in and API clients 7000–7999, privacy 8000–8999, usage data 9000–9999, the Stripe connector 10000–10499, hardware keys 11000–11999. No code is issued in the 6000 range yet.

Cross-cutting errors any endpoint can return.

Code Code name HTTP Meaning
1001 validation.empty 400 A required value was missing or empty.
1002 validation.duplicate 409 The value collides with an existing record.
1003 validation.failed 400 The request failed validation, for example a body that isn’t valid JSON, a query value of the wrong type, or a field over its length limit, such as an activation code longer than 100 characters. errors names each field and what is wrong with it.
1004 request.unsupported 405, 406, 413, 415 The request can’t be served as sent: the method, the media type it sends or asks for, or its size isn’t accepted.
1005 request.page-token-invalid 400 The pageToken doesn’t belong to this list query: it was sent with a different filter or sortOrder, it is damaged, or it comes from an older format. Start the list again without a token.
1010 resource.not_found 404 The resource doesn’t exist.
1011 resource.expired 410 The resource existed but has expired.
1012 resource.limit-exceeded 429 A plan or capacity limit was reached. A device refused because every seat of a license is taken gets license.seat_limit_reached instead.
1020 operation.invalid 400 The operation isn’t valid in the current state.
1021 operation.pending 409 A pending step (e.g. email verification) must complete first.
1022 operation.idempotency-key-reused 422 The Idempotency-Key was already used for a request with a different body. Nothing ran: send a new key for a new operation, or, within 24 hours, repeat the original request exactly to get its result.
1023 operation.idempotency-key-unsupported 400 The operation doesn’t accept an Idempotency-Key, so a retry would run it again. Nothing ran: remove the header, or use an operation that accepts one.
1024 operation.conflict 409 The request conflicts with the current state of the resource, for example a name already in use or an item that something else still refers to.
1030 auth.forbidden 403 The operation isn’t allowed, for example a free try when your plan doesn’t include free tries. A token without the required scope gets this code too.
1031 auth.required 401 The request has no valid access token. Send a bearer token from your API credentials or sign in again.
1040 service.unavailable 503 Temporarily unavailable — retry with backoff. A request that has to look a user or an organization up, such as an activation or the caller’s own licenses, activation codes, plans and usage, answers it while the user directory can’t be reached, and changes nothing.
1041 service.failure 500 Unexpected failure.
1042 service.too-many-requests 429 Rate limit exceeded — honor Retry-After.

Returned by the activation, session and usage endpoints, and by the admin endpoints for products, entitlements, offers and billing events. These can also answer service.unavailable (1040, under General above).

Code Code name HTTP Meaning
2001 license.no_active_license 403 No active license backs this request.
2002 license.no_such_entitlement 404 The entitlement doesn’t exist.
2003 license.no_active_session 409 No active session for this operation.
2004 license.not_found 404 The record doesn’t exist: a license key that matches no entitlement at activation, or a product, entitlement, offer, activation code, tag or suite an admin endpoint looked up. The license. prefix names the licensing service, not a license: the title is always “Resource not found” and detail names the record, so an app should not read it as “my customer has no license”. An unknown or used activation code at activation answers resource.not_found (1010) instead, and an expired one resource.expired (1011).
2005 license.invalid_operation 400 The operation isn’t valid for this license’s state.
2006 license.no_permission 403 The request isn’t available for this license: your plan doesn’t include end-user ratings and feedback, a free try can’t change plan or be topped up, or the license takes no credit top-ups.
2007 license.no_such_product 404 The product doesn’t exist.
2008 license.no_such_provider 404 Reserved: registered, but no endpoint returns it yet.
2009 license.validation_error 400 The request body or activation code is invalid.
2010 license.no_credit 400 A limit was reached: the active licenses your plan allows, the devices an activation code allows, the feedback a license may send in a period, or a credit balance that is suspended or can’t cover the requested consumption.
2011 license.forbidden_by_policy 403 Blocked by the entitlement’s activation policy, for example offline activation turned off, a code issued to another user, or a YubiKey required. When something specific was missing, requires names it.
2012 license.operation_pending 409 A conflicting operation is already in flight (for example a concurrent upload). Retry.
2013 license.expired 403 The license or credit balance has expired. A license past its end gives this answer to activation, check-in and renewal alike.
2014 license.spending_disabled 403 The balance holds credits, but its owner has switched extra-credit spending off. Distinct from license.no_credit: nothing needs buying.
2015 license.billing_events_not_included 403 Posting billing events isn’t included in your plan.
2016 license.reserved_scheme 403 A billing event names a reference under a scheme a built-in connector or billing mode owns: stripe while the environment has the Stripe connector registered, or sfdc, oclavex, manual, none, operator. Use your billing system’s own.
2017 license.platform_environment 403 The environment can’t take billing events.
2018 license.billed_elsewhere 409 Another provider bills the entitlement through a live subscription; it can take yours once that one is canceled.
2019 license.provider_owns_end_date 400 A billing provider bills the entitlement or offer as a subscription and decides when it ends, so it takes no subscription policy or time restriction that ends it. Set its billing to managed by vendor to use one.
2020 license.offer_not_orderable 409 The offer takes no orders: a Draft offer isn’t open yet, a Disabled or Archived one no longer is, and a paused one is closed until it is resumed. Publish a Draft offer, or resume a paused one, to take orders from it.
2021 license.metric_not_tracked 404 A consume, or a preview of one, named a metric the entitlement doesn’t track, so nothing could be charged. Check the metric name, or add the metric to the plan behind the entitlement.
2022 license.session_token_rejected 401 The license token a session call presented is no longer accepted: its signing key, audience or lifetime doesn’t validate, or its lease has ended. Activate the license again; the SDK does this once on its own.
2023 license.hardware_keys_not_licensed 403 Hardware keys aren’t included in your plan: requiring one on an entitlement or offer, or activating a license that doesn’t require one with a hardware key. Licenses that already require a key keep activating.
2024 license.usage_metering_not_licensed 403 Your plan doesn’t include usage metering, so a new monitored asset, usage uploads, consumes and pre-allocations are refused and nothing is recorded. Monitored assets and credit balances are kept, and recording resumes once your plan includes usage metering again.
2025 license.unknown_user 403 The caller is signed in, but no user on your environment matches its sign-in, so it has no licenses, activation codes or entitlements of its own, and an activation that needs a user (useInteractiveUser, or a code issued to a user or an organization) is refused. Signing in again doesn’t change this: the user must exist under Customers → Users, and a user added after the refusal can take up to five minutes to be recognized.
2027 license.product_end_of_life 403 Every product the application may use is past its End of life, and the device has never activated the license, so it can’t start now, online or offline. Devices activated before keep activating and renewing. Clear the End of life on the product to let new devices activate again.
2028 license.authentication_required 401 The activation needs a signed-in user or a confirmed email address, and the caller has neither. requires says which (sign_in or verified_email); WWW-Authenticate carries the challenge. An offline request needing one is refused with license.forbidden_by_policy instead, since your operator who uploads it is signed in.
2029 license.version_not_supported 403 The activation names a newer version of the application than the license’s maximum version, online or offline, so nothing was activated and no seat was taken. detail names the version the license covers. A request that names no version isn’t refused this way. Raise the maximum version on the entitlement to let the device activate.
2030 license.user_activation_limit_reached 403 The user already holds as many devices on the entitlement as its maximum activations per user allows, so a new device was refused. Releasing one of the user’s devices, or raising the limit on the entitlement, lets the new one activate. Anonymous and offline activations have no user and are never refused this way; the seat count refuses them with license.seat_limit_reached.
2031 license.try_ended 403 The device already had a free try of this offer and it has ended. Show it as “your free try has ended; sign up to keep going”. The device can try again once the ended try is deleted at the end of the offer’s retention window, or when the offer’s try code changes.
2032 license.stale_version 409 The entitlement was changed since the rowVersion you sent was read, so the edit was refused and nothing changed. Read the entitlement again and make the edit again. A conflict found while saving is license.operation_pending (2012): repeat the same request.
2033 license.token_superseded 401 A newer license token was issued for this session, usually because the token was copied to another device, so renewals, borrows, check-ins and releases refuse the older one. Show it as “this license was renewed on another device”. Activate the license again; the SDK does this once on its own, and the other device’s token is then refused at its next renewal. A license file your support team downloads from an activation in the portal is issued as the device’s current token, so downloading it doesn’t cause this error.
2034 license.device_mismatch 401 The renewal, borrow, check-in or release sent the fingerprint of a device other than the one the license was activated on. Activate the license on this device; the SDK does this once on its own.
2035 license.no_such_customer 404 The order names a customerId that matches no organization in your environment, so nothing was created or changed. Leave customerId empty for an order with no organization yet.
2036 license.seat_limit_reached 409 Every seat of the license is in use on another device or hardware key, so this device was refused. The message says so without naming who holds the seat, and says when a seat frees. On a floating license with a lease, that is when the app on that device closes or the lease runs out. On a floating license without a lease, it is when the app gives the seat back on closing, or when you free the seat. On a node-locked license, it is when the seat is released, or when you free it. On a hardware key, it is when the license on that key is released, or when you free it; with a floating lease, the seat also frees by itself when the lease runs out. A seat borrowed for offline use frees when the borrowing period ends. A user who signed in is also pointed to Devices in their account. A user who activated with a code alone has no account, so the message tells them to contact you instead. Show the message, and let the user try again later.
2037 license.product_not_in_plan 403 The application that asked for a license is allowed only for a product that every plan of the order leaves out, the trial plan’s set included, so the license does not cover that application and the device was refused. The license itself also leaves that product out of products. Include the product in a plan of the order, or assign a plan that includes it, to let the application activate.
2038 license.device_blocked 403 You blocked this device for this license, so it can’t activate the license again. The SDK stops serving the license it stored on the device. Unblock the device to let it activate.
2039 license.already_reviewed 409 This feedback was already reviewed, so it can’t be reviewed again. detail says its current state.
2040 license.live_terms_need_draft_revision 409 The order is live, so its terms (policies, features, products, plan and order details) change through a draft revision, and this request tried to change them on the live order. detail names the draft revision when one is open, or the route that starts one. Start a draft revision with POST .../entitlements/{id}/draft-revision, make the change with the draft’s id, then apply it. Applying a plan (apply-plan, apply-plan-name) never answers this code: on a live order the call makes the draft revision and applies it for you.
2041 license.draft_revision_exists 409 A draft revision is already open on this order, and an order has one at a time. detail names it. Edit that draft, or discard it first with DELETE .../entitlements/{id}/draft-revision.
2042 license.draft_revision_conflict 409 The draft revision and the live order both changed the same term since the draft was started, to different values, so applying would lose one of them. Nothing was written. detail names the terms, and GET .../draft-revision/changes lists them. Discard the draft and start a new one from the live order.
2043 license.apply_takes_away 409 Applying the draft revision takes something away from the customer: fewer seats, a feature turned off or lowered, an earlier end, a stricter rule or a product removed. Nothing was written. detail names the changes. Send the apply request again with acceptReductions: true to confirm them.
2044 license.terms_edited_in_place 409 A draft revision was asked for on an order that isn’t live, or on an offer. Those are edited in place: make the change on the order itself.
2045 license.plan_limit_reached 403 Your Oclavex plan’s limit on entitlements, offers, catalog features or active products is reached, so nothing new was created or published. detail names the limit and the way out, such as deleting an entitlement you no longer need or moving to a larger plan. The Your plan page lists every limit.

Returned by user and organization endpoints. The organization delete can also answer service.unavailable (1040, under General above), when the orders on a customer could not be looked up.

Code Code name HTTP Meaning
3001 organization.not_found 404 The user or organization doesn’t exist.
3002 organization.duplicate 409 Already exists (e.g. email in use).
3003 organization.invalid_operation 400 Not valid in the current state.
3004 organization.no_permission 403 The caller lacks directory permission.
3005 organization.validation_error 400 The request failed validation.
3006 organization.no_credit 403 The plan allows no further seat or capacity of this kind. Upgrade the plan to add more.
3007 organization.user_erased 409 The user was removed by a data-subject erasure, which is final and cannot be undone.
3008 organization.stale_version 409 The organization (or user) was changed since the rowVersion you sent was read, so the edit was refused and nothing changed. Read it again and make the edit again.
3009 organization.in_use 409 The organization still has groups, or it is still the customer on one or more orders, so it cannot be deleted. detail says which, and names the orders. Remove the groups first, or move those orders to another customer, or delete the orders.

Returned by the webhook subscription and delivery-management endpoints.

Code Code name HTTP Meaning
4001 subscription.tenant_required 400 The request lacks an active environment context.
4002 subscription.client_id_required 400 An OAuth client identity is required.
4003 subscription.tenant_mismatch — Reserved: registered, but no endpoint returns it yet.
4010 subscription.not_found 404 The subscription doesn’t exist.
4020 subscription.invalid_state 409 Not allowed in the subscription’s current state (e.g. test-fire on an inactive subscription).
4021 subscription.invalid_transition 409 The requested state change isn’t allowed.
4022 subscription.not_applicable 400 The action has no meaning for this kind of subscription (e.g. rotating the secret of a capture subscription, which has no receiver).
4030 subscription.invalid_secret 400 The signing secret isn’t a Standard Webhooks secret: whsec_ followed by the base64 of 24 to 64 random bytes.
4031 subscription.invalid_overlap 400 The rotation overlap window is invalid.
4032 subscription.invalid_callback_scope 400 A requested callback scope isn’t allowed.
4037 subscription.callback_scope_not_held 403 A callback scope names a scope the caller doesn’t hold itself, so it can’t hand it to a receiver. This refusal has no numeric code of its own yet (its code reads 1041); branch on codeName.
4033 subscription.invalid_url 400 The receiver URL is not allowed.
4034 subscription.invalid_filter 400 An attribute filter can never match: its field name is empty, its value is null, or no subscribed event type carries the field it names.
4035 subscription.invalid_event_type 400 An event-type pattern is not * or an exact type from the event catalog: family wildcards such as Entitlement.* are not accepted.
4036 subscription.callback_write_scope_unconfirmed 400 The request gives a receiver a write callback scope (one not ending in .read) without acknowledgeWriteCallbackScopes: true. See Calling back.
4050 subscription.not_licensed 403 Webhooks aren’t included in your plan.
4060 replay.invalid_selection 400 A replay needs either envelopeIds or a from/to window — not both and not neither.
4061 replay.too_many_envelopes 400 The selection matches more envelopes than one replay request may carry; narrow the window or replay in batches.
4062 replay.rate_limited 429 The replay would exceed the hourly envelope quota.
4070 testfire.unknown_event_type 400 The requested event type isn’t in the event catalog.
4071 testfire.event_type_not_subscribed 400 The event type doesn’t match any of the subscription’s event-type patterns.
4073 testfire.rate_limited 429 The subscription has used its test-fires for this hour.
4080 delivery.ambiguous_envelope 400 The envelope reached more than one subscription; pass subscriptionId to choose one.
4081 delivery.not_found 404 No delivery of that envelope exists for your environment.
4090 dlq.not_found 404 No dead-lettered delivery with that id exists: it was never dead-lettered, or it was already requeued or dismissed.
4091 dlq.confirmation_required 400 Dismissing a dead-lettered delivery deletes it. Send {"confirm": true} in the body to confirm.

Returned by the tenant, account, environment, relocation and feature-flag routes.

Code Code name HTTP Meaning
5001 configuration.feature_flag.not_found 404 No feature flag with that name exists.
5002 configuration.account.not_found 404 No account with that id exists.
5003 configuration.tenant.not_found 404 No tenant has that identifier.
5004 configuration.account.slug_taken 409 Another account already uses that slug.
5005 configuration.relocation.not_found 404 No relocation has that id.
5006 configuration.relocation.in_progress 409 A relocation for the tenant is already running. Wait for it to finish.
5007 configuration.relocation.already_home 409 The tenant is already on the primary cell, so there is nothing to move.
5008 configuration.relocation.not_purgeable 409 The relocation has not completed, or its quarantine has not ended, so its source rows stay.
5009 configuration.tenant.quota_reached 403 The administrator email address already holds the most organizations it may hold.
5010 configuration.environment.not_licensed 403 The subscription does not include another non-Production environment. Upgrade it to add one.
5011 configuration.tenant.identifier_unavailable 409 No free endpoint name could be generated. Try again, or choose one.
5012 configuration.rename_request.not_found 404 No endpoint-name request of this tenant has that id.

Returned by the sign-in service’s admin routes (API clients, login providers, MFA and sign-up policy) and by a user’s own list of authorized apps.

Code Code name HTTP Meaning
7001 identity.client.not_found 404 No API client with that client_id exists on your environment.
7002 identity.client.invalid_request 400 The client request is invalid: a missing display_name, an unknown client type, consent type or grant type, or client_credentials on a public client. detail names the field.
7003 identity.client.invalid_client_id 400 The client_id isn’t allowed: it must be 3–100 characters of letters, digits, ., _ and -, it can’t be a GUID, and a few names are reserved.
7004 identity.client.duplicate_client_id 409 Another client on your environment already has that client_id. Choose a different one.
7005 identity.client.invalid_redirect_uri 400 A redirect URI isn’t an absolute URI, has a fragment, or doesn’t use https. Only a public client’s loopback address may use http.
7006 identity.client.redirect_uri_required 400 A client that allows the authorization_code grant needs at least one redirect URI.
7007 identity.client.pkce_required 400 A public client that allows the authorization_code grant must require PKCE.
7008 identity.client.public_client_has_no_secret 409 The client is public, so it has no secret to rotate. Only confidential clients have one.
7009 identity.client.scope_not_held 403 You can’t grant a client a scope you don’t hold yourself.
7010 identity.client.scope_portal_only 400 The scope is open only to administrators signed in to the portal, never to an API client. detail says why.
7011 identity.client.scope_reserved 400 The scope is reserved for the platform and can’t be granted to your clients.
7012 identity.client.scope_unavailable 400 The scope belongs to a connector that isn’t available on this platform.
7013 identity.client.not_licensed 403 You have as many API clients as your plan includes. Upgrade your plan to create more.
7014 identity.client.interactive_not_licensed 403 Your plan allows only machine-to-machine clients: confidential, with the client_credentials grant and no redirect URIs.
7015 identity.client.webhooks_not_licensed 403 Your plan doesn’t include outbound webhooks, so a client with webhook scopes can’t be created.
7016 identity.client.active_quota_reached 403 You have as many active API clients as your plan allows. Deactivate another client first, or upgrade your plan.
7017 identity.client.conflict 409 Another request changed the client at the same time. Reload it and try again.
7020 identity.external_provider.unknown 404 No login provider with that name is available on your environment.
7021 identity.external_provider.conflict 409 Another request changed the login provider at the same time. Reload it and try again.
7030 identity.mfa_policy.unknown_policy 400 The MFA policy isn’t one of Off, Team or Everyone.
7031 identity.mfa_policy.platform_only 403 Only a platform administrator can change the MFA policy of the platform’s own environment.
7032 identity.mfa_policy.conflict 409 Another request changed the MFA policy at the same time. Reload it and try again.
7040 identity.self_service_signup.unknown_mode 400 The sign-up mode isn’t one of Closed, Open or LicenseRequired.
7041 identity.self_service_signup.conflict 409 Another request changed the sign-up policy at the same time. Reload it and try again.
7050 identity.user_mfa.user_not_found 404 No user with that id has a sign-in account on your environment, so there is no MFA to reset.
7060 identity.onboarding.user_not_found 404 No user with that email address has a sign-in account on the environment.
7070 identity.authorized_app.not_found 404 You haven’t authorized an app with that id, so there is nothing to revoke.

Returned by the data subject request and processing-activity routes.

Code Code name HTTP Meaning
8001 privacy.request.tenant_required 400 The request names no environment to act on.
8002 privacy.request.subject_required 401 The access token names no user, so the request has no person to act for.
8003 privacy.request.email_required 401 The access token carries no email address for the user.
8010 privacy.request.not_found 404 No data subject request with that id exists on your environment.
8020 privacy.request.invalid_kind 400 The request kind isn’t one of Access, Erasure, Portability or Rectification.
8021 privacy.request.invalid_subject 400 The subject’s email address isn’t valid.
8022 privacy.request.invalid_category 400 includeCategories names a personal-data category that doesn’t exist.
8023 privacy.request.invalid_correction 400 The correction request is incomplete or names nothing to correct.
8024 privacy.request.invalid_status_filter 400 The status filter names a status that doesn’t exist.
8025 privacy.request.reason_required 400 Rejecting a request needs a reason of at most 1024 characters, which the person is told (GDPR Article 12(4)).
8026 privacy.request.subject_mismatch 400 subjectUserId isn’t the id of the account with the subject’s address. Leave it out: the id is looked up from the address.
8030 privacy.request.invalid_transition 409 The request’s current state doesn’t allow this step, for example marking a request corrected twice.
8031 privacy.request.already_open 409 The person already has an open request of this kind, so the open one is shown instead of filing another.
8040 privacy.request.not_exportable 409 The request has no export: only an access or portability request produces one.
8041 privacy.request.export_not_ready 409 The export isn’t ready yet, or its archive is no longer available.
8042 privacy.request.export_mail_unavailable 503 The new export link couldn’t be queued for email, and the previous link no longer works. Resend the link again to issue another.
8050 privacy.request.notice_not_resendable 409 This request has no correction notice to resend. Only a completed rectification whose notice couldn’t be queued can be resent, and only until a resend succeeds.
8051 privacy.request.notice_mail_unavailable 503 The correction notice couldn’t be queued for email again. Resend the notice later.
8060 privacy.request.directory_unavailable 503 The account that goes with the subject’s address couldn’t be looked up, so nothing was filed. Try again in a moment.

Returned by the usage history routes: usage events, metrics, ratings and the audit log.

Code Code name HTTP Meaning
9001 data.invalid_page 400 The pageToken doesn’t belong to this usage-data list query: it was sent with a different filter or sortOrder, it is damaged, or it comes from an older format. Start the list again without a token.
9002 data.invalid_filter 400 The filter expression can’t be read. detail says where it fails.
9003 data.invalid_range 400 The start of the time range isn’t before its end.
9004 data.invalid_severity 400 The severity isn’t one the audit log knows. detail lists the ones it does.
9005 data.entitlement_required 400 The request needs an entitlementId.
9006 data.metric_info_required 400 The metric description is missing, or names no metric.
9007 data.metric_info.not_found 404 No metadata is stored for that metric name.

Returned by the Stripe connector’s routes: connector registration, checkout, the billing portal and subscription links. detail says what was refused.

Code Code name HTTP Meaning
10001 stripe.connector.tenant_required 400 The access token names no environment.
10002 stripe.connector.not_found 404 No Stripe connector with that id exists on your environment, or none serves this license session.
10003 stripe.connector.not_licensed 403 Stripe billing isn’t included in your plan.
10004 stripe.connector.invalid_api_key 400 The API key isn’t a Stripe secret or restricted key.
10005 stripe.connector.invalid_overlap 400 The overlap window for the old webhook secret is invalid.
10006 stripe.connector.invalid_policy 400 A connector policy value is invalid.
10007 stripe.connector.invalid_return_host 400 A return host isn’t a valid host name.
10008 stripe.connector.invalid_state 409 The connector’s state doesn’t allow this, for example enabling one that isn’t disabled.
10009 stripe.connector.livemode_mismatch 409 The key’s mode (live or test) doesn’t match the connector’s.
10010 stripe.connector.no_api_key 409 The connector has no API key yet.
10011 stripe.connector.platform_managed 409 The platform’s own connector can’t be deleted; its configuration creates it again on the next start. Disable it instead.
10012 stripe.connector.disabled 503 The connector is disabled.
10013 stripe.connector.probe_failed 424 Reserved: a failed key test answers stripe.refused or stripe.unavailable.
10020 stripe.checkout.billing_details_invalid 400 The billing details weren’t accepted.
10021 stripe.checkout.billing_email_invalid 400 The billing email address wasn’t accepted.
10022 stripe.checkout.entitlement_not_found 404 The entitlement to check out doesn’t exist.
10023 stripe.checkout.subscription_exists 409 The entitlement already has a subscription.
10024 stripe.checkout.add_on_exists 409 The add-on already has its own subscription.
10025 stripe.checkout.billed_elsewhere 409 Another billing provider bills the entitlement.
10026 stripe.checkout.no_customer_organization 409 The entitlement has no customer organization to bill.
10027 stripe.checkout.organization_linked_elsewhere 409 The customer organization is already linked to another Stripe customer.
10028 stripe.checkout.not_billable 403 The entitlement can’t be billed through checkout.
10029 stripe.checkout.operator_managed 403 The vendor manages this plan, so it isn’t bought through checkout.
10034 stripe.checkout.plan_not_sold 400 The plan isn’t sold through checkout.
10035 stripe.checkout.price_not_allowed 400 The price isn’t on the connector’s allow list.
10036 stripe.checkout.price_not_sellable 409 The price can’t be sold for this entitlement.
10037 stripe.checkout.price_unavailable 409 The price isn’t available in Stripe.
10038 stripe.checkout.invalid_return_url 400 A return URL isn’t an allowed https address.
10039 stripe.checkout.return_url_required 400 The checkout needs a return URL, and none is configured.
10030 stripe.portal.entitlement_not_found 404 The entitlement doesn’t exist.
10031 stripe.portal.invalid_flow 400 The billing portal flow isn’t one the connector knows.
10032 stripe.portal.no_customer 409 The customer has no billing account in Stripe yet.
10033 stripe.portal.no_subscription 409 The entitlement has no subscription to manage.
10041 stripe.portal.invalid_return_url 400 The return URL isn’t an allowed https address.
10042 stripe.portal.return_url_required 400 The billing portal needs a return URL, and none is configured.
10040 stripe.billing.entitlement_not_found 404 The entitlement doesn’t exist.
10050 stripe.links.not_found 404 The connector has no link with that id.
10051 stripe.links.already_mapped 409 The subscription is already mapped to an entitlement.
10052 stripe.links.entitlement_not_found 404 The entitlement to map to doesn’t exist.
10053 stripe.links.subscription_not_found 404 The Stripe subscription doesn’t exist.
10054 stripe.links.not_mappable 422 The subscription can’t be mapped to that entitlement.
10055 stripe.links.invalid_due_window 400 The due window isn’t one the links list knows.
10056 stripe.links.invalid_sort 400 The sort isn’t one the links list knows.
10057 stripe.links.invalid_state 400 The state filter isn’t one the links list knows.
10058 stripe.links.too_many_snoozed_ids 400 The request names more snoozed links than one call takes.
10059 stripe.links.map_failed 424 Reserved: a mapping Stripe refused answers stripe.refused or stripe.unavailable.
10060 stripe.organization.link_failed 503 The customer organization couldn’t be linked. Try again later.
10090 stripe.refused 424 Stripe refused the call, for example a revoked or wrong key. detail names Stripe’s error.
10091 stripe.unavailable 503 Stripe couldn’t be reached or didn’t answer in time. Honor Retry-After.

Returned by the hardware-key activation routes, online and offline.

Code Code name HTTP Meaning
11001 hardware_key.attestation_refused 403 The YubiKey’s attestation did not hold, so nothing was activated: it isn’t a genuine YubiKey 5, its firmware is older than 5.7, or it attests a different key than the one the device activates with. detail says which.
11002 hardware_key.proof_refused 403 An online activation’s proof that the device holds the YubiKey’s key did not hold, so nothing was activated: the proof is missing, signed by another key, made for another request, or its nonce has expired. detail says which.

Model-binding failures (malformed JSON, wrong types, missing required fields) return the standard ASP.NET validation problem — a 400 with an errors dictionary keyed by field name:

{
"status": 400,
"title": "One or more validation errors occurred.",
"errors": {
"activationCode": ["The activationCode field is required."]
}
}