Skip to content

Error Codes ​

Error responses always include:

json
{
  "success": false,
  "error": {
    "code": "ERROR_CODE",
    "message": "Readable message",
    "detail": {}
  }
}

General ​

CodeDescription
VALIDATION_ERRORRequest validation failed.
PUBLIC_HOST_REJECTEDThe request Host is not the configured production Host.
PUBLIC_ORIGIN_REJECTEDThe browser Origin is not allowed.

Authentication ​

CodeDescription
AUTH_SETUP_REQUIREDThe administrator password has not been initialized.
AUTH_ALREADY_INITIALIZEDThe administrator password is already initialized.
AUTH_REQUIREDAdministrator authentication is missing.
AUTH_FAILEDThe username, password, or current password is incorrect.
ADMIN_PASSWORD_INVALIDAdministrator password verification failed for a business operation.
INVALID_TOKENThe token is invalid.
TOKEN_EXPIREDThe token has expired.
PASSWORD_UNCHANGEDThe new password must differ from the current password.

Downloads ​

CodeDescription
DOWNLOAD_TOKEN_REQUIREDA download token is required.
INVALID_DOWNLOAD_TOKENThe download token is invalid.
INVALID_DOWNLOAD_RESOURCEThe download resource kind is invalid.
DOWNLOAD_TOKEN_SCOPE_MISMATCHThe token does not match the requested file.
CLIENT_ARTIFACT_NOT_FOUNDThe client artifact does not exist.
GITHUB_RELEASE_ASSET_NOT_FOUNDNo matching client package exists in the current version's GitHub Release.
GITHUB_RELEASE_DOWNLOAD_FAILEDThe GitHub Release client-package check failed.
CONFIG_BULK_PACKAGE_NOT_FOUNDThe bulk config package does not exist.
CONFIG_BULK_EMPTY_SELECTIONNo downloadable endpoint was selected.
CONFIG_BULK_NODE_NOT_READYAn endpoint has no downloadable staged config.

Configs and Endpoints ​

CodeDescription
CONFIG_NOT_FOUNDThe config does not exist.
CONFIG_NAME_EXISTSThe config name already exists.
INVALID_CONFIG_NAMEThe config name is invalid.
INVALID_SUBNETThe virtual subnet is invalid.
NODE_NOT_FOUNDThe endpoint does not exist.
NODE_CONFIG_MISMATCHThe endpoint does not belong to the specified config.
NODE_DISABLEDThe operation is unavailable for a disabled endpoint.
INVALID_NODE_NAMEThe endpoint name is invalid.
INVALID_VIRTUAL_IPThe virtual IP is invalid.
IP_POOL_EXHAUSTEDThe virtual subnet has no available address.
INVALID_TAGThe tag is invalid.

Mesh and Sync ​

CodeDescription
INVALID_PEER_LINKThe Mesh pair is invalid.
PEER_LINK_NOT_FOUNDThe Mesh pair does not exist.
INVALID_ALLOWED_IPSAllowedIPs is invalid.
INVALID_ENDPOINTA manual Endpoint is missing its Host or Port.
TOPOLOGY_INVALIDTopology validation failed, so synchronization is blocked.
NO_STAGED_CONFIGNo staged config is available to push.
CONTROL_LOG_NOT_FOUNDThe control log does not exist.

Quick Mesh ​

CodeDescription
INVALID_QUICK_MESH_MODEThe Quick Mesh mode is invalid.
INVALID_ENDPOINT_FAMILYThe Endpoint address family is invalid.
QUICK_MESH_NOT_ENOUGH_NODESFewer than two endpoints are enabled.
QUICK_MESH_HUB_REQUIREDThe gateway endpoint is missing or unavailable.
QUICK_MESH_GATEWAY_REQUIREDFree Mesh requires at least one available gateway.
QUICK_MESH_LEAF_INVALIDA leaf endpoint is invalid.
QUICK_MESH_NODE_ROLE_CONFLICTAn endpoint cannot be both a gateway and a leaf.
QUICK_MESH_LEAF_GATEWAY_INVALIDA leaf references a gateway that was not selected.
QUICK_MESH_NODE_UNASSIGNEDAn enabled endpoint has no assigned role.

AmneziaWG ​

CodeDescription
INVALID_TUNNEL_PROTOCOLThe tunnel protocol is invalid.
INVALID_AWG_PARAMETERAn AWG parameter is outside its valid range.
INVALID_AWG_H_RANGEAn H parameter has an invalid format, range, or overlap.
INVALID_AWG_J_RANGEJmax must be greater than Jmin.

MQTT and Client ​

CodeDescription
MQTT_DISABLEDMQTT services are disabled by deployment configuration.
MQTT_TLS_CA_NOT_READYThe client TLS CA certificate is not ready.
MQTT_CONTROL_UNAVAILABLEThe MQTT control channel is unavailable.
INVALID_ACTIONThe control action is invalid.
CLIENT_BIND_STATIC_NODEA static endpoint cannot bind a client.
CLIENT_BIND_TOKEN_INVALIDThe bind token is invalid.
CLIENT_BIND_TOKEN_USEDThe bind token has already been used.
CLIENT_BIND_TOKEN_EXPIREDThe bind token has expired.
CLIENT_BIND_NOT_ALLOWEDClient binding is not allowed for this endpoint.

Port Forwarding ​

CodeDescription
PORT_FORWARD_SAME_NODEThe From and To endpoints must differ.
PORT_FORWARD_TO_PLATFORM_INVALIDThe destination platform must be Linux or macOS.
PORT_FORWARD_PROTOCOL_INVALIDThe protocol must be TCP, UDP, or all.
PORT_FORWARD_TO_PORT_IN_USEThe To port is managed by another rule.
PORT_FORWARD_NOT_FOUNDThe port-forward rule does not exist.
PORT_FORWARD_NODE_INVALIDAn endpoint is outside the config or disabled.
PORT_FORWARD_VIRTUAL_IP_REQUIREDAn endpoint is missing its virtual IP.
PORT_FORWARD_PORT_INVALIDThe port is invalid.
PORT_FORWARD_IPV4_REQUIREDPort forwarding currently requires an IPv4 virtual IP.

Snapshots ​

CodeDescription
SNAPSHOT_NOT_FOUNDThe snapshot does not exist.
SNAPSHOT_INVALID_ARCHIVEThe snapshot archive is invalid.
SNAPSHOT_IMPORT_FAILEDThe imported snapshot was not indexed.
SNAPSHOT_RESTORE_UNSAFE_PATHThe restore target path is unsafe.
SNAPSHOT_PASSWORD_INVALIDThe snapshot decryption password is incorrect.

MCP ​

CodeDescription
MCP_TOKEN_NAME_REQUIREDAn MCP token name is required.
MCP_TOKEN_PERMISSION_INVALIDMCP token permission must be read or write.
MCP_TOKEN_EXPIRY_INVALIDThe MCP token expiry is invalid.
MCP_TOKEN_NOT_FOUNDThe MCP token does not exist.
MCP_AUDIT_RANGE_INVALIDThe audit cleanup time range is invalid.