Edgeweir
Reference

Error codes

The API error format, generic codes, all 245 API error codes and the configuration revision reason codes.

Error response

Error body of /api/v1:

{
  "defined": false,
  "code": "SITE_NOT_FOUND",
  "status": 404,
  "message": "site not found",
  "data": {}
}
FieldDescription
codeStable error code
statusHTTP status, the same as the response's
messageEnglish text for clients that do not know the code; the wording is not stable
dataMessage parameters, keys in the data column below; {} without parameters
definedAlways false
SurfaceFormat
/api/v1/*The object above
/rpc/*The object above inside a json field: { "json": { … } }
/api/auth/*better-auth's { code, message }; refusals by the login allow list and the demo account are { "code": "LOGIN_IP_NOT_ALLOWED" | "DEMO_READ_ONLY", "message" }; rate limiting answers 429 without a code (NODE_ENV=production)
Unmatched /api/*, /rpc/*, /downloads/*, /install.sh, /healthz, /node-channel404, { "error": "not found" }

The console shows the error_<lower-case code> message (apps/console/messages/zh-CN.json, en.json) with {parameter} replaced from data; for an unknown code it shows message.

Generic codes

Codes of oRPC and the HTTP layer, not in the API error code table.

CodeStatusMessageCondition
BAD_REQUEST400Invalid inputInput validation failed; data.issues holds the zod issues (path, message, …); the console names the field of the first issue
UNAUTHORIZED401Please sign inNo session or x-api-key, an invalid or revoked key, or a disabled service account
CSRF_TOKEN_MISMATCH403—/rpc without the x-csrf-token: orpc header
PAYLOAD_TOO_LARGE413—Request body over the limit: 1 MiB without valid credentials, 16 MiB with them, 64 KiB on /api/auth
INTERNAL_SERVER_ERROR500Server errorAn unhandled server error; the console logs rpc error

The sign-in and account endpoints of /api/auth also return better-auth codes, which the console maps as follows:

CodeMessage
INVALID_EMAIL_OR_PASSWORDWrong email or password
INVALID_PASSWORDIncorrect password
PASSWORD_TOO_SHORT, PASSWORD_TOO_LONGPassword must be at least 12 characters; Password must be at most 128 characters
SESSION_EXPIREDSession expired, sign in again
SESSION_NOT_FRESHSign in again before changing this
INVALID_CODE, INVALID_BACKUP_CODEInvalid code
INVALID_TWO_FACTOR_COOKIEVerification expired, sign in again
TOO_MANY_ATTEMPTS_REQUEST_NEW_CODE, ACCOUNT_TEMPORARILY_LOCKEDToo many requests; try again later
PREVIOUSLY_REGISTEREDThis device already has a passkey for this account
AUTHENTICATION_FAILED, PASSKEY_NOT_FOUND, CHALLENGE_NOT_FOUND, FAILED_TO_VERIFY_REGISTRATIONPasskey verification failed

API error codes

Defined in packages/contract/src/errors.ts; thrown by fail(code, message, data) with the status from the definition. Access codes (ACCESS_KEY_READ_ONLY, SCOPE_REQUIRED, SERVICE_ACCOUNT_FORBIDDEN, DEMO_READ_ONLY): API overview.

Authentication, keys and setup

CodeStatusdataMessageCondition
ACCESS_KEY_NOT_FOUND404—Access key not foundThe AccessKey to change or revoke does not exist
ACCESS_KEY_READ_ONLY403—This access key is read onlyA read-only AccessKey calls a procedure other than GET ones and rules.validate
ACCESS_KEY_REVOKED409—This access key is revokedChanging a revoked AccessKey
ACCESS_KEY_SESSION_REQUIRED403—Sign in to create or change an access keyaccessKeys.create or accessKeys.update called with x-api-key; they need the signed-in session
DEMO_READ_ONLY403—The demo account is read onlyThe demo account calls a write procedure, or changes the account through /api/auth
LOGIN_IP_NOT_ALLOWED403—This IP is not on the login allow listThe client IP of a session request or an /api/auth sign-in request is outside the login allow list (AccessKeys are not limited)
LOGIN_ALLOW_LIST_EXCLUDES_CURRENT_IP400ipThe list excludes your current IP {ip}; saving would lock you outThe saved login allow list leaves out the caller's current IP
DEMO_EMAIL_TAKEN409—The operator account uses the demo emailTurning on the demo account while the operator's account uses its e-mail
SCOPE_REQUIRED403scopeMissing scope: {scope}The service account lacks the scope the procedure needs; an MCP token without edgeweir:write calls a change
SERVICE_ACCOUNT_FORBIDDEN403—Service accounts cannot call thisA service account calls a procedure outside its allowed list
SERVICE_ACCOUNT_NOT_FOUND404—Service account not foundThe service account does not exist
SERVICE_ACCOUNT_KEY_NOT_FOUND404—Key not foundThe service account key to revoke does not exist or belongs to another account
SERVICE_ACCOUNT_NAME_TAKEN409nameA service account named {name} existsThe service account name is taken
MCP_DISABLED404—MCP is switched offAn authorization request is answered while MCP is off; /mcp and the OAuth endpoints answer 404 then
MCP_PROCEDURE_FORBIDDEN403—Not available to MCP clientsAn MCP client calls a procedure of keys, service accounts, MCP settings, the login allow list, the demo account or setup
OAUTH_REQUEST_INVALID400—The authorization request is invalid or has expiredThe consent page's request has a bad or expired signature, or its client no longer exists
OAUTH_SESSION_REQUIRED403—Sign in to answer an authorization requestmcp.consentRequest or mcp.consent is called with an AccessKey, a service account or an MCP token
OAUTH_APP_NOT_FOUND404—No such connected appThe MCP client to revoke has no grant
IDEMPOTENCY_KEY_INVALID400—Invalid Idempotency-KeyIdempotency-Key is not 1–255 printable ASCII characters
IDEMPOTENCY_KEY_MISMATCH422—This Idempotency-Key was used for another requestThe same Idempotency-Key with another method, path or body
IDEMPOTENCY_IN_PROGRESS409—A request with this Idempotency-Key is still in progressThe first request with the same Idempotency-Key is still running
IDEMPOTENCY_KEY_UNSUPPORTED400—This request returns a credential once and does not take an Idempotency-KeyIdempotency-Key on a procedure that returns a credential once
SETUP_DONE403—Setup has already been completedsystem.setup after setup has completed
SETUP_IN_PROGRESS409—Setup is in progress; try again shortlyAnother system.setup request is running
SETUP_TOKEN_INVALID403—Invalid setup tokenWrong setup token in system.setup; audited as system.setup_rejected
API_KEY_RATE_LIMITED429retryAfterSecondsToo many requests with this access key; try again in {retryAfterSeconds} sThe AccessKey exceeded its requests per minute

Alerts

CodeStatusdataMessageCondition
ALERT_CHANNEL_NOT_FOUND404—Alert channel not foundThe alert channel does not exist
ALERT_CHANNEL_LIMIT409—Alert channel limit reached32 alert channels exist already
ALERT_SEND_FAILED502—Notification delivery failedA test send failed (the webhook, mail server or SMS provider failed or was unreachable)
ALERT_SMTP_NOT_CONFIGURED412—SMTP is not configuredAn e-mail channel is tested or used without saved SMTP settings
ALERT_RATE_LIMITED429retryAtSend limit reachedAn SMS channel used up its sends of the hour or day; data.retryAt is when the next send fits
ALERT_SMS_REJECTED502codeSMS provider refused: {code}The SMS provider refused the message; data.code is the provider's error code
ALERT_SUBSCRIPTION_NOT_FOUND404—Alert subscription not foundThe alert subscription does not exist
SMTP_PASSWORD_REQUIRED400—Enter a new password when changing the SMTP server or accountThe SMTP server or user name changes without a new password
SMTP_CA_INVALID400—The CA bundle must contain PEM certificates onlyThe SMTP CA certificates are not PEM

DNS

CodeStatusdataMessageCondition
DNS_ZONE_MISMATCH400—CNAME domain is outside the DNS zoneThe DNS name is outside the bound zone
DNS_PROVIDER_NOT_FOUND404—DNS provider not foundThe DNS provider does not exist
DNS_TEST_DISABLED400—DNS test provider is disabledThe test provider is used without EDGEWEIR_DNS_TEST_ENDPOINT
DNS_PROVIDER_IN_USE409—DNS provider is still in useDeleting a provider that still owns DNS records; reconcile first
DNS_POLICY_INVALID400—Check DNS lines and target addressesThe DNS binding's lines or targets are invalid, or the provider's credential fields are
DNS_REVISION_NOT_FOUND404—DNS revision not foundThe cluster has no such DNS revision
DNS_NOT_BLOCKED409—This DNS revision is not held backThe DNS revision to release is not held back
DNS_RECORD_CONFLICT409nameDNS name {name} has an unmanaged recordThe DNS name has records the console does not manage
DNS_BINDING_CONFLICT409name{name} is taken by another cluster's DNS binding or a CNAME prefixAnother cluster's binding or a CNAME prefix uses the DNS name
DNS_BINDING_IN_USE409—Turn the cluster's DNS off and wait for its records to be removedThe cluster's DNS is automatic or records it wrote remain: turn DNS off and wait for the cleanup before deleting the cluster or binding
DNS_PROVIDER_AUTH_FAILED400—The DNS provider rejected the credentialsThe provider refused the credentials
DNS_PROVIDER_ZONE_NOT_FOUND400—The DNS provider has no such zoneThe provider account has no such zone
DNS_PROVIDER_UNREACHABLE502—The DNS provider is unreachableThe provider's API was unreachable or timed out
DNS_PROVIDER_RATE_LIMITED429—Too many DNS provider requests; try again laterThe provider's API rate-limited the request
DNS_PROVIDER_FAILED502—The DNS provider request failedThe provider's API failed otherwise
DNS_ADDRESS_REFUSED400—The server address is private or special-purpose, or a public address without HTTPSThe provider's server address (such as a self-hosted PowerDNS) is private or special-purpose, or a public one without HTTPS
DNS_ZONES_UNSUPPORTED400—This provider cannot list zones; enter the zoneThe provider cannot list zones
DNS_LINE_UNSUPPORTED400lineThis DNS provider has no {line} resolution lineA binding line uses a resolution line the provider does not implement
DNS_RECONCILE_BUSY409—This cluster's DNS is still being synced; try again laterA requested reconciliation waited in vain for the one in progress

Rules, IP lists and WAF

CodeStatusdataMessageCondition
RULE_INVALID400—Invalid ruleThe rule's expression, action or reference is invalid, or a rule ID repeats; the reason is in message
RULE_VERSION_NOT_FOUND404—Rule version not foundThe rule keeps no such version (pruned, or another site's rule)
RULE_LIMIT_REACHED400limitRule limit of {limit} reachedRestoring a deleted rule would exceed the limit: 64 per site, 32 platform rules
WAF_RULE_NOT_EXCLUDABLE400ids{ids} set up or evaluate the CRS and cannot be excluded; to stop blocking, use Detect onlyExcluded CRS rules set up or evaluate the others (first 5)
BULK_REDIRECT_HOST_UNKNOWN400hostsThe site does not serve {hosts}A host/path bulk redirect source whose host is none of the site's domains
IP_LIST_NOT_FOUND404—IP list not foundThe IP list does not exist
IP_LIST_REFERENCE_UNKNOWN404listsNo such IP list: {lists}A rule or cache rule condition references lists ($name) that do not exist
IP_LIST_NAME_TAKEN409—IP list name already existsThe IP list name is taken
IP_LIST_LIMIT409—IP list limit reached (128 lists, 50,000 entries)More than 128 lists or 50,000 entries
IP_LIST_IN_USE409usersThe IP list is used by {users}Deleting a list that rules, cache rules or L4 apps still use (first 5)

Bans, greylist and protection

CodeStatusdataMessageCondition
BAN_INVALID_CIDR400—Invalid IP address or CIDRNot an IP address or CIDR
BAN_PREFIX_TOO_SHORT400minPrefix too short; the shortest is /{min}The prefix is shorter than the minimum (IPv4 /16, IPv6 /48)
BAN_EXPIRY_OUT_OF_RANGE400—A ban lasts from 1 minute to 7 daysThe duration is outside 60–604800 seconds
BAN_PROTECTED_ADDRESS400addressThe ban covers the protected address {address}The range holds a node address, loopback or the unspecified address, or overlaps an allow-type IP list
BAN_PLATFORM_LIMIT409limitAt most {limit} manual bans can be activeActive manual bans reached maxTotal
BAN_NOT_FOUND404—Ban not found or no longer activeThe ban or greylist entry does not exist, expired or was lifted
PROTECTION_POW_DIFFICULTY400minThe high proof-of-work difficulty must be at least {min}The high proof-of-work difficulty is below the normal difficulty
CHALLENGE_PROVIDER_SECRET_REQUIRED400fieldsEnter the provider's secret keys: {fields}An interactive provider without all of its kind's secret fields (challenge-v3)

Certificates and ACME

CodeStatusdataMessageCondition
CERTIFICATE_NOT_FOUND404—Certificate not foundThe certificate does not exist
CERTIFICATE_INVALID400—The stored certificate cannot be readA stored certificate cannot be read
CERTIFICATE_CHAIN_FOREIGN_BLOCK400—The chain may contain only certificates; put the private key in its own fieldThe chain holds PEM blocks other than certificates (such as a private key)
CERTIFICATE_CHAIN_UNREADABLE400—The chain must hold 1 to 10 readable PEM certificatesNo PEM certificate, more than 10, or one that cannot be parsed
CERTIFICATE_KEY_UNREADABLE400—The private key cannot be read; encrypted keys are not supportedThe private key cannot be read, such as an encrypted one
CERTIFICATE_KEY_MISMATCH400—The private key does not belong to the certificateThe private key does not match the leaf certificate
CERTIFICATE_KEY_EXPLICIT_CURVE400—The EC private key uses explicit curve parameters; convert it to a named curveAn EC private key with explicit curve parameters instead of the curve's OID
CERTIFICATE_CHAIN_EXPLICIT_CURVE400—A certificate's EC key uses explicit curve parameters; reissue it with a named-curve keyA chain certificate whose EC key has explicit curve parameters
CERTIFICATE_CHAIN_ORDER400—Wrong chain order: the leaf certificate first, then each issuerThe first certificate is a CA, or one is not issued by the next
CERTIFICATE_NOT_CURRENTLY_VALID400notBefore, notAfterThe certificate is not valid now (valid from {notBefore} to {notAfter})Not yet valid or expired; data is the validity in UTC, such as 2026-10-02 12:00 UTC
CERTIFICATE_NO_DNS_NAMES400—The certificate has no DNS names (subject alternative names)The certificate has no DNS SAN
CERTIFICATE_KEY_TYPE_UNSUPPORTED400—Unsupported key type; use RSA (2048 bits or more) or ECDSA P-256, P-384 or P-521The leaf key is not RSA (2048 bits or more) or ECDSA P-256, P-384 or P-521
CERTIFICATE_UNAVAILABLE409—The certificate is not issued yet or has expiredThe certificate chosen for a site is not issued yet or has expired
CERTIFICATE_DOMAIN_MISMATCH400domainsCertificate domains do not match the site or DNS zone: {domains}Names a certificate or DNS zone does not cover, or HTTP-01 names no site has (first 5)
CERTIFICATE_BUSY409—Certificate operation is already in progressDeleting a certificate that is issuing; renewing an uploaded or issuing certificate; a request bound to a site that already has one waiting
CERTIFICATE_IN_USE409sitesThe certificate is used by sites: {sites}Deleting a certificate sites use (first 5)
CERTIFICATE_IN_USE_BY_L4409appsThe certificate is still used by L4 apps: {apps}Deleting a certificate L4 apps terminate TLS with (first 5)
DNS_CREDENTIAL_NOT_FOUND404—DNS credential not foundThe DNS credential does not exist
DNS_CREDENTIAL_INVALID400—Invalid DNS credential fieldsThe DNS credential's fields do not fit the provider
DNS_CREDENTIAL_IN_USE409certificatesThe DNS credential is used by certificates: {certificates}Deleting a DNS credential certificates use (first 5)
CERTIFICATE_DNS_NOT_POINTING409namesThese names do not resolve to the nodes: {names}HTTP-01 names resolve to no node, or to other addresses too (first 5)
CERTIFICATE_NODES_OFFLINE409clustersNo online node can answer HTTP-01 in cluster {clusters}Clusters serving the HTTP-01 names have no online node (first 5)
CLIENT_CA_INVALID400—The client CA must be 1 to 10 current CA certificates in PEMThe site's client CA bundle is not 1–10 current CA certificates in PEM
CLIENT_CERTIFICATE_HTTP3400—Client certificates and HTTP/3 cannot be on togetherClient certificates and HTTP/3 turned on together
ACME_DIRECTORY_INVALID400—The URL does not answer with an ACME directoryThe custom ACME directory cannot be read or is not an ACME directory
ACME_DIRECTORY_CA_INVALID400—The CA certificates must be 1 to 10 PEM certificatesThe custom ACME directory's CA certificates are not 1–10 PEM certificates
ACME_DIRECTORY_EAB_INCOMPLETE400—Enter the EAB HMAC key with its key IDAn EAB key ID without an HMAC key (none saved for it)
ACME_DIRECTORY_NOT_CONFIGURED409—Configure a custom ACME directory in the system settings firstA certificate requests the custom CA while no custom ACME directory is configured
ACME_ACCOUNT_NOT_FOUND404—ACME account not foundThe ACME account does not exist
ACME_ACCOUNT_IN_USE409certificatesThe ACME account is used by certificates: {certificates}Deleting an ACME account certificates use (first 5)
CERTIFICATE_ORIGIN_CA400—Origin CA certificates are for origins onlyUploading a certificate the Origin CA issued as a visitor certificate

Origin PKI

CodeStatusdataMessageCondition
ORIGIN_CA_NOT_FOUND409—Create the Origin CA first (Certificates → Origin certificates)The Origin CA has not been created (issuing origin certificates, or a site trusting it)
ORIGIN_CLIENT_CA_NOT_FOUND409—Create the origin client CA first (Certificates → Origin client)The origin client CA has not been created
CA_ROTATION_IN_PROGRESS409—A rotation is already under wayStarting a rotation while one is under way
CA_ROTATION_STEP_UNAVAILABLE409—This step does not apply to the rotation's current stageThe rotation step does not apply to the rotation's current state
CA_ROTATION_INCOMPLETE409clustersThese clusters still present certificates of the previous CA: {clusters}Retiring the previous origin client CA while clusters still present its certificates (first 5, then +N)
CA_ROTATION_IN_USE409countThe new CA has issued valid certificates ({count}); the rotation cannot be cancelledCancelling an Origin CA rotation after the new CA issued certificates that are still valid
ORIGIN_CERTIFICATE_NOT_FOUND404—Origin certificate not foundThe origin certificate does not exist
ORIGIN_CERTIFICATE_REVOKED409—The certificate is already revokedRevoking an origin certificate that is revoked already
ORIGIN_CERTIFICATE_CSR_INVALID400—The CSR cannot be read, its signature fails, or its key is not RSA 2048–4096 or ECDSA P-256 / P-384The CSR cannot be read, its signature fails, or its key is not RSA 2048–4096 or ECDSA P-256 / P-384

Clusters, nodes and regions

CodeStatusdataMessageCondition
CLUSTER_NOT_FOUND404—Cluster not foundThe cluster does not exist
CLUSTER_SITE_LIMIT409limitThis cluster has reached its limit of {limit} published sitesThe cluster would publish more than 512 enabled sites
NODE_CAPABILITY_REQUIRED409features, nodesNodes do not support {features} yet: {nodes}Configuration published by a service account or an automatic job needs features active nodes lack; data.features lists them (comma-separated), data.nodes the first 5 nodes
CLUSTER_NAME_TAKEN409nameCluster name already exists: {name}The cluster name is taken
CLUSTER_NOT_EMPTY409nodes, sitesThe cluster still has {nodes} nodes and {sites} sitesDeleting a cluster that still has nodes or sites
NO_CLUSTER412—No cluster exists yetA site is created without clusterId before any cluster exists
NODE_GROUP_NOT_FOUND404—Node group not foundThe node group does not exist
NODE_GROUP_NAME_TAKEN409nameNode group already exists: {name}The node group name is taken in the cluster
NODE_GROUP_IS_DEFAULT409—The default node group cannot be deletedDeleting the default node group
NODE_GROUP_CLUSTER_MISMATCH400—The node group belongs to another clusterAn enrollment token or a node names a node group of another cluster
REGION_NOT_FOUND404—Region not foundThe region does not exist
REGION_CODE_TAKEN409codeRegion code already exists: {code}The region code is taken
REGION_IN_USE409probes{probes} probes still belong to this regionDeleting a region that probes are bound to
PROBE_NOT_FOUND404—Probe not foundThe probe does not exist
NODE_REGION_REQUIRED409—Set a region on the node's group firstMaking a node probe while its node group has no region
NODE_ADDRESS_INVALID400addressNot a single unicast IP address: {address}A scheduling address that is not a single unicast IP literal
SCHEDULING_RULE_NOT_FOUND404—Scheduling rule not foundThe scheduling rule does not exist
SCHEDULING_RULE_INVALID400—The rule needs a line of the cluster's DNS bindingA rule the cluster cannot evaluate (such as backup_group without a line, or a line not in the cluster's DNS binding)
NODE_NOT_FOUND404—Node not foundThe node does not exist
NODE_CHANNEL_NAME_NOT_FOUND404—The certificate has no such earlier nameThe name is not one an earlier node channel URL left in the certificate
NODE_CHANNEL_NAME_IN_USE409nodes, probesNodes ({nodes}) and probes ({probes}) may still use this nameNodes or probes may still connect with the name
NODE_CHANNEL_WEBSOCKET_IN_USE409nodes, probesNodes ({nodes}) and probes ({probes}) may still use the WebSocket entryClosing the WebSocket entry while nodes or probes may still use it
NODE_CHANNEL_WEBSOCKET_REQUIRED409—The WebSocket entry stays open (current URL or EDGEWEIR_NODE_API_WEBSOCKET)The current node channel URL or EDGEWEIR_NODE_API_WEBSOCKET needs the WebSocket entry
ENROLLMENT_TOKEN_NOT_FOUND404—Enrollment token not foundThe enrollment token does not exist
DEFAULT_SITE_INVALID400—The default site must be an enabled site of this clusterThe default site for unknown hosts is not an enabled site of the cluster
DEFAULT_SITE_CERTIFICATE_REQUIRED409—The default site has no certificateUnknown SNI gets the default site's certificate while it has none
REVISION_NOT_FOUND404—Revision not foundThe cluster has no such revision
ROLLOUT_NOT_ACTIVE409—No canary rollout is runningPromoting or aborting a canary while none is running
ROLLBACK_RESOURCE_UNAVAILABLE409—The rollback references resources that are gone or unavailableThe revision to roll back to references sites, domains, certificates, IP lists or CAs that are gone, moved or unavailable, or an expired certificate

Node upgrades

CodeStatusdataMessageCondition
UPGRADE_RELEASE_UNAVAILABLE502—This release manifest is unavailableThe release manifest cannot be read, or the release has no archive for a supported architecture
RELEASE_SOURCE_REFUSED400—The release source must use HTTPS and resolve to an allowed addressThe node release source resolves to a refused address, or a public one without HTTPS
UPGRADE_NOT_FOUND404—Upgrade job not foundThe upgrade does not exist
UPGRADE_BUSY409nodesThese nodes already have an unfinished upgrade: {nodes}Nodes already take part in an unfinished upgrade (first 10, then +N)
UPGRADE_FINISHED409—The upgrade has already finishedCancelling an upgrade that has ended
UPGRADE_NODES_UNAVAILABLE409nodesThese nodes must be online, healthy, in sync and support signed upgrades: {nodes}Active nodes are offline, unhealthy, out of sync or cannot self-upgrade (first 10, then +N)
UPGRADE_CANARY_EMPTY409—The canary node group has no enabled nodesThe canary node group has no active nodes
UPGRADE_TOO_MANY_NODES409limitAn upgrade covers at most {limit} nodesAn upgrade covers more than 1000 nodes
UPGRADE_NOT_READY409—Canary nodes have not passed the health windowPromoting while the canary nodes have not stayed healthy yet

Sites

CodeStatusdataMessageCondition
SITE_NOT_FOUND404—Site not foundThe site does not exist
CACHE_RULE_PRIORITY_DUPLICATE400priorityTwo cache rules have priority {priority}Two cache rules share a priority
SITE_DISABLED409—The site is disabledPurging or prefetching a disabled site
UPDATED_AT_MISMATCH409updatedAtIt changed since you loaded it; reload and try againexpectedUpdatedAt differs from the resource's updatedAt; data.updatedAt is the current value (empty while there is none)
DOMAIN_IN_USE409domainsDomain already in use: {domains}Another site uses the domains
DOMAIN_INVALID400domainInvalid domain: {domain}A Unicode or xn-- host name that UTS #46 or the LDH rules refuse
CNAME_PREFIX_CONFLICT409prefixCNAME prefix {prefix} is taken or reservedThe CNAME prefix is taken, still resolving for another site or L4 app, or a DNS record name
CNAME_PREFIX_INVALID400prefixInvalid CNAME prefix {prefix}The prefix does not match ^[a-z0-9](?:[a-z0-9-]{0,28}[a-z0-9])?$ (except the object's current prefix or a replaced one still resolving)
PURGE_KEY_REQUIRED400—The PURGE method needs a keyTurning on the PURGE method without cacheSettings.purgeMethod.key
SITE_TAG_LIMIT400site, limitSite {site} can have at most {limit} tagsA site would carry more than 10 tags
SITE_TAG_NOT_FOUND404—Tag not foundThe tag does not exist
ORIGIN_GROUP_UNKNOWN400group, ruleRule "{rule}" chooses origin group {group}, which the site does not haveCopied or cloned settings: a rule chooses an origin group the site does not have
HTTPS_REQUIRES_CERTIFICATE400—The HTTPS redirect, HSTS and client certificates need a certificate on the siteCopied settings: the HTTPS redirect, HSTS or client certificates on a site without a certificate

Origins

CodeStatusdataMessageCondition
S3_SECRET_REQUIRED400accessKeyIdEnter the secret key for {accessKeyId}A new S3 origin, or one with a new access key, without a secret key
ORIGIN_ADDRESS_FORBIDDEN400address, rangeOrigin address {address} is in the special-purpose range {range}, outside the origin allow listAn origin or authentication service address in a special-purpose range not on the origin allow list
ORIGIN_GRPC_REQUIRES_HTTP2400—gRPC requires HTTP/2 towards the originsoriginSettings.grpc on a pool whose protocol towards the origins is not http2
ORIGIN_TLS_TRUST_REQUIRES_VERIFY400—Trusting the Origin CA requires verifying origin certificatesoriginSettings.tlsTrust originCa with tlsVerify off
ORIGIN_CA_S3400—S3 origins cannot be verified against the Origin CAtlsTrust: originCa on a site with S3 origins
ORIGIN_PROXY_PROTOCOL_S3400—S3 origins do not read PROXY protocolproxyProtocolVersion on an S3 origin
ORIGIN_HOST_HEADER_INVALID400hostHeaderInvalid origin Host: {hostHeader}The Host header of an origin or origin rule is not a host name or IP literal with an optional port

Ports and HTTPS redirect

CodeStatusdataMessageCondition
LISTEN_PORT_CONFLICT400portPort {port} cannot be both HTTP and HTTPSA port in both the extra HTTP and the extra HTTPS ports
LISTEN_PORT_IN_POOL400port, poolsPort {port} is inside port pools: {pools}An extra listener port inside a port pool of the cluster
LISTEN_PORT_IN_USE409port, sitesPort {port} is still used by sites: {sites}Removing a listener port sites still use (first 5)
SITE_PORT_UNAVAILABLE400portPort {port} is not a listener port of the clusterA site port that is not an HTTP or HTTPS listener port of its cluster
SITE_PORTS_EMPTY400—The site needs at least one usable portThe site would be served on no port
SITE_HTTPS_PORT_NEEDS_CERTIFICATE400portHTTPS port {port} needs a certificateAn HTTPS port other than 443 for a site without a certificate
HTTPS_REDIRECT_PORT_INVALID400portRedirect port {port} is not an HTTPS port of the siteThe HTTPS redirect's port is neither 443 nor an HTTPS port of the site
HTTPS_REDIRECT_DOMAIN_INVALID400domainsThe site has no such domains: {domains}Domains excluded from the HTTPS redirect that the site does not have

Cache tasks and error pages

CodeStatusdataMessageCondition
CACHE_TASK_NOT_FOUND404—Task not foundThe cache task does not exist
CACHE_TASK_URL_INVALID400urlsInvalid URL: {urls}URLs or prefixes that do not parse for the task type (first 5)
CACHE_TASK_HOST_UNKNOWN400hostsNo site serves {hosts}No site uses the hosts
CACHE_TASK_HOST_INVALID400hostsInvalid host: {hosts}Invalid host names
CACHE_TASK_TAG_INVALID400tagsInvalid cache tag: {tags}Invalid cache tags
ERROR_PAGE_TOO_LARGE400status, limitThe {status} error page is larger than {limit} bytesAn error page template over 65536 bytes; data.status names the page (404 / 503 for platform pages)

Access authentication and access control

CodeStatusdataMessageCondition
AUTH_DOMAIN_UNKNOWN400domainThe site has no domain {domain}An access authentication rule's scope names a domain the site does not have
AUTH_PASSWORD_REQUIRED400userUser {user} needs a passwordA new Basic user (or one of a rule that had no users stored) without a password
AUTH_KEY_REQUIRED400—A signing key is requiredA URL authentication rule without a stored primary key and none given
AUTH_RULE_NOT_FOUND404—The authentication rule no longer exists; reload and try againThe access authentication rule does not exist
AUTH_RULE_NOT_URL400—Only URL authentication rules sign URLsSigning a URL with a rule other than URL authentication (kinds A–D)
AUTH_SIGN_URL_INVALID400—Enter a path starting with / or an http(s) URL of this siteThe URL to sign is neither a path nor an http(s) URL of the site's domains
AUTH_SIGN_VALIDITY400maxValidity cannot exceed the rule's {max} secondsThe signed URL's validity exceeds the rule's validity (seconds)
SITE_LIST_CONFLICT400listsA list cannot be both a site block and allow list: {lists}An IP list chosen as both a site block list and a site allow list
CORS_CREDENTIALS_WILDCARD400—With credentials, origins cannot be *CORS with credentials allows every origin (*)
IP_ADDRESS_INVALID400—Invalid IP addressThe address given to ipCheck.check is not IPv4 or IPv6

Usage, automatic mitigation and node logs

CodeStatusdataMessageCondition
USAGE_RANGE_INVALID400—The range must be aligned to 5 minutes and end after it startsThe range is not aligned to 5 minutes, or its end is not after its start
USAGE_CURSOR_INVALID400—Invalid page cursorInvalid usage page cursor
USAGE_GUARD_NOT_HELD409—Usage protection holds no actionRestoring a site whose usage protection holds no action
AUTO_MITIGATION_NOT_ACTIVE409—Automatic mitigation holds no Under AttackEnding the automatic mitigation of a site that holds no Under Attack
NODE_LOG_CURSOR_INVALID400—Invalid page cursorInvalid node log page cursor
NODE_DEBUG_LOGS_BUSY409—A pull of this node is still openThe node has a debug log pull that has not finished
NODE_DEBUG_LOG_NOT_FOUND404—Pull not foundThe debug log pull does not exist

L4 apps

CodeStatusdataMessageCondition
L4_APP_NOT_FOUND404—L4 app not foundThe L4 app does not exist
L4_APP_LIMIT409limitA cluster can have at most {limit} L4 appsThe cluster has 256 L4 apps already
L4_PORT_OUTSIDE_POOL400portPort {port} is outside the cluster's port pools for this protocolAn app port outside every port pool of its cluster for its protocol
L4_PORT_IN_USE409appsPorts in use by {apps}Other apps of the cluster use the ports, or a pool change would leave app ports outside the pools; data.apps lists name (port/protocol)
L4_PORT_RESERVED400portPort {port} is used by the cluster's HTTP listenersA pool or app uses a port of the cluster's HTTP(S) listeners
L4_PORT_POOL_OVERLAP400poolsPort pools overlap: {pools}Port pools share ports of a protocol (from-to/protocol)
L4_PROXY_PROTOCOL_UNSUPPORTED400—PROXY protocol is for TCP apps onlyPROXY protocol (accepted or sent) on a UDP app
L4_PORT_LIMIT409limitA cluster's L4 apps use at most {limit} portsThe ports of the cluster's L4 apps (ranges counted in full) exceed 2048
L4_PORT_RANGE_INVALID400maxThe last port must be above the first, at most {max} portsA port range whose last port is not above the first or that holds more than 1000 ports
L4_ORIGIN_PORT_REQUIRED400—Every origin needs a port while the origin port is fixedAn origin without a port while originPortMode is fixed
L4_TLS_UNSUPPORTED400—TLS termination is for TCP apps onlyTLS termination on a UDP app
L4_CERTIFICATE_UNAVAILABLE400—The certificate is not issued yet or has expiredThe chosen certificate is not issued yet or has expired

External probe sources

CodeStatusdataMessageCondition
PROBE_SOURCE_NOT_FOUND404—External probe source not foundExternal probe source not found
PROBE_SOURCE_FIELD_INVALID400fieldCheck the field {field}A field the provider's catalog entry does not have, misses or rejects
PROBE_SOURCE_POLL_TOO_FAST400minThe poll interval must be at least {min} secondsA poll interval below the provider's minimum (seconds)
PROBE_SOURCE_LIMIT409limitAt most {limit} external probe sourcesAt most {limit} external probe sources
PROBE_SOURCE_UNAVAILABLE502reasonThe provider's API failed: {reason}The provider's API failed (reason: auth_failed, rate_limited, unreachable, refused, …)
PROBE_SOURCE_WEBHOOK_UNSUPPORTED409—This provider does not take that webhook settingThe provider takes no webhook, or its secret is the provider's own (entered, not made)
PROBE_SOURCE_MAPPING_INVALID400monitorInvalid mapping: {monitor}A mapping names a monitor twice, an unknown node, or an address that is not the node's

Node decommission and SSH install

CodeStatusdataMessageCondition
NODE_DECOMMISSION_PENDING409—A decommission of this node is already waitingA decommission of the node is already waiting for the node
NODE_DECOMMISSION_DISABLED409—A disabled node takes no tasks: enable it, or delete itA disabled node pulls no tasks: enable it, or delete it
NODE_DECOMMISSION_NOT_PENDING409—No decommission of this node is waitingNo decommission of this node is waiting
SSH_INSTALL_NOT_FOUND404—Install run not found (expired, or the console restarted)The SSH install run does not exist: never started, expired, or lost with a console restart
SSH_INSTALL_TOO_MANY_RUNS409limitAt most {limit} SSH installs can run at onceToo many SSH install runs have not finished yet
SSH_INSTALL_DUPLICATE_HOST400host{host} is listed twiceThe same host and port appear twice in one run
SSH_INSTALL_BUSY409—The run is still going; retry once it endsThe run is still running: retry once it ended
SSH_INSTALL_NOTHING_TO_RETRY409—No host to retryNo failed or canceled host to retry
SSH_PRIVATE_KEY_INVALID400—The private key cannot be readThe private key could not be read (not OpenSSH, PEM or PPK)
SSH_PRIVATE_KEY_PASSPHRASE400—The private key's passphrase is missing or wrongThe private key is encrypted and the passphrase is missing or wrong

Tiered Cache

CodeStatusdataMessageCondition
TIER_PORT_IN_USE409port, clustersPort {port} is a listener or TCP application port of {clusters}The tiered cache's port is a listener or TCP application port of these clusters (first 5 names)

Node extensions

CodeStatusdataMessageCondition
EXTENSION_PACKAGE_INVALID400reason, detailInvalid extension package ({reason}): {detail}reason: what is wrong with the package (archive, entry, manifest, size, ...), detail in English
EXTENSION_SIGNATURE_INVALID400reasonInvalid package signature ({reason})reason: formatheadersignaturedigestidentity
EXTENSION_KEY_UNTRUSTED400kidThe package is signed by an untrusted key: {kid}The signing key (kid) is not in the trust store
EXTENSION_PUBLISHER_MISMATCH400publisher, keyPublisherThe package names publisher {publisher}, the key belongs to {keyPublisher}The package's publisher differs from the signing key's
EXTENSION_NOT_FOUND404—Extension not foundExtension not found
EXTENSION_VERSION_NOT_FOUND404versionVersion {version} not foundVersion {version} not found
EXTENSION_VERSION_ACTIVE409versionVersion {version} is activeThe active version cannot be deleted
EXTENSION_VERSION_EXISTS409versionVersion {version} is stored with different contentsThe version is stored with a different digest
EXTENSION_CONFIG_INVALID400scope, path, issueInvalid {scope} configuration: {path} ({issue})path of the first issue and its issue code (required, type, enum, min, max, pattern, format, unknown, unique)
EXTENSION_IN_USE409rulesRules read the extension's fields: {rules}Rules read the extension's fields (first 5 rule names)
EXTENSION_UNSUPPORTED400luaApiThe extension needs Lua API {luaApi}, which this console does not supportThe extension's version needs a Lua API this console does not deliver
EXTENSION_KEY_INVALID400—Invalid public keyInvalid public key
EXTENSION_SECRET_NOT_SUPPORTED400—The extension has no secretThe active version's manifest has no secret: true
EXTENSION_DATA_NOT_SUPPORTED400—The extension takes no site dataThe active version's manifest has no data
EXTENSION_DATA_TOO_LARGE400limit, maxOver the extension's data limit {limit} ({max})A data item over the manifest's data limits: limit max_bytesmax_itemsmax_total_bytes, max its value
EXTENSION_DATA_NOT_FOUND404—Data item not foundData item not found
EXTENSION_KEY_EXISTS409kidThe key is already trusted: {kid}The key is already trusted: {kid}
EXTENSION_KEY_NOT_FOUND404—Key not foundKey not found
EXTENSION_KEY_IN_USE409versionsStored versions are signed by the key: {versions}Stored versions are signed by the key

Revision reason codes

Why a configuration revision (GET /clusters/{id}/revisions) was published, stored as reason_code with parameters. The console shows the revision_reason_<code> message; the API also returns the English text (reasonText). 60 codes.

CodeParametersMessageAPI text (reasonText)
rules_updated—Rules and IP lists updatedrules and IP lists updated
certificate_updatedsiteCertificate policy for {site} updatedcertificate policy for {site} updated
acme_challenge_updated—ACME challenge updatedACME challenge updated
cluster_createdclusterCluster {cluster} createdcluster {cluster} created
site_createdsiteSite {site} createdsite {site} created
site_updatedsiteSite {site} updatedsite {site} updated
site_deletedsiteSite {site} deletedsite {site} deleted
site_purgedsiteSite {site} purgedsite {site} purged
site_enabledsiteSite {site} enabledsite {site} enabled
site_disabledsiteSite {site} disabledsite {site} disabled
rollbackrevisionRolled back to #{revision}rollback to revision {revision}
rollout_rollbackrevisionCanary of revision {revision} rolled backcanary of revision {revision} rolled back
origin_allow_list_updated—Origin allow list updatedorigin allow list updated
site_protection_updatedsiteProtection of {site} updatedprotection of {site} updated
platform_protection_updated—Global Under Attack updatedglobal Under Attack updated
cc_template_updated—CC template updatedCC template updated
challenge_keys_rotated—Challenge keys rotatedchallenge keys rotated
session_ticket_keys_rotated—TLS session ticket keys rotatedTLS session ticket keys rotated
site_waf_updatedsiteOWASP CRS of {site} updatedOWASP CRS of {site} updated
site_error_pages_updatedsiteError pages of {site} updatederror pages of {site} updated
site_maintenance_updatedsiteMaintenance of {site} updatedmaintenance of {site} updated
site_auth_updatedsiteAccess authentication of {site} updatedaccess authentication of {site} updated
site_access_control_updatedsiteAccess control of {site} updatedaccess control of {site} updated
cluster_cache_updated—Cache zone updatedcache zone updated
node_cache_updatednodeCache size of node {node} updatedcache size of node {node} updated
error_pages_updated—Platform error pages updatedplatform error pages updated
recompiled—Configuration recompiled after an upgradeconfiguration recompiled after an upgrade
l4_app_createdappL4 app {app} createdL4 application {app} created
l4_app_updatedappL4 app {app} updatedL4 application {app} updated
l4_app_deletedappL4 app {app} deletedL4 application {app} deleted
listen_ports_updated—Listener ports updatedlistener ports updated
client_ip_updated—Client IP setting updatedclient address setting updated
unknown_hosts_updated—Unknown host settings updatedunknown host settings updated
connection_limits_updated—Connection limits updatedconnection limits updated
greylist_challenge—Challenge keys for the greylistchallenge keys for the greylist
sites_enabledcount{count} sites enabled{count} sites enabled
sites_disabledcount{count} sites disabled{count} sites disabled
sites_deletedcount{count} sites deleted{count} sites deleted
site_settings_copiedsite, sourceSettings of {source} copied to {site}settings of {source} copied to {site}
site_clonedsite, sourceSite {site} cloned from {source}site {site} cloned from {source}
usage_limit_reachedsiteUsage limit of {site} reachedusage limit of {site} reached
usage_limit_releasedsiteUsage protection of {site} liftedusage protection of {site} lifted
auto_mitigation_startedsiteAutomatic mitigation turned on Under Attack for {site}automatic mitigation turned on Under Attack for {site}
auto_mitigation_endedsiteAutomatic mitigation turned off Under Attack for {site}automatic mitigation turned off Under Attack for {site}
origin_certificate_revoked—Origin certificate revokedorigin certificate revoked
origin_client_certificate_rotated—Origin client certificate replacedorigin client certificate replaced
origin_ca_rotation_started—Origin CA rotation startedOrigin CA rotation started
origin_ca_rotation_cancelled—Origin CA rotation cancelledOrigin CA rotation cancelled
origin_ca_retired—Previous Origin CA retiredprevious Origin CA retired
site_ai_crawl_updatedsiteAI crawl control of {site} updatedAI crawl control of {site} updated
ai_crawl_updated—Global AI crawl control updatedglobal AI crawl control updated
development_mode_onsiteDevelopment mode of {site} turned ondevelopment mode of {site} on
development_mode_offsiteDevelopment mode of {site} turned offdevelopment mode of {site} off
development_mode_expiredsiteDevelopment mode of {site} endeddevelopment mode of {site} ended
tiered_cache_updated—Tiered Cache updatedtiered cache updated
tier_selection_changedcountUpper tiers of {count} site changedupper tiers of {count} sites changed
extension_updatedextensionExtension {extension} updatedextension {extension} updated
extension_removedextensionExtension {extension} uninstalledextension {extension} uninstalled
site_extension_updatedextension, siteExtension {extension} of {site} updatedextension {extension} of {site} updated
extensions_settings_updated—Extension kill switch updatedextension kill switch updated
Edit on GitHub

On this page