Public error codes

Updated at:

Error codes

HTTP status code

Error code

Error message

Description

Action

403 APIG.ErrorCode.Forbidden Not allowed to perform the operation. Operation denied. You do not have the required permissions.
500 APIG.ErrorCode.InternalError Internal error. An internal system error occurred.
409 Conflict.ApiDebugProtocolMismatch Domain %s protocol mismatch, got: %s, want: %s. The protocol supported by the domain name %s does not match the protocol of the debug request. The debug protocol is %s, and the domain name supports %s.
409 Conflict.ApiNameDuplicated API name %s duplicated. The API %s already exists. Specify a different name.
409 Conflict.ApiOperationQuotaExceed The number of operations per api cannot exceed %s. Current: %s. The number of operations per API cannot exceed %s. The current number is %s. Increase your quota.
409 Conflict.ApiPublishDuplicatedPathFound Duplicated path found, key: %s, apiId: %s ,operationId: %s, environmentId: %s, conflict domains: %s. An API path conflict occurred. The conflict key is %s, the conflicting API ID is %s, the interface ID is %s, the environment ID is %s, and the conflicting domain name is %s.
409 Conflict.ApiPublished API %s is published in %s. The API %s has already been published to the environment %s. Unpublish it first.
409 Conflict.ApiPublishServiceTypeNotSupported Service type %s is not supported. The service type %s is not supported. Check your configuration.
409 Conflict.ApiVersionDuplicated API version %s duplicated. The API version %s already exists. Specify a different version number.
409 Conflict.ApiVersionMustEnabled API has more than one version, can not disable version. The API has multiple versions. You cannot disable the version management feature.
409 Conflict.AppClusterIsAlreadyInChanging App cluster is already in changing. Retry after some minutes. The gateway instance is being modified. Try again later.
409 Conflict.ConsumerAuthorizationForbidden Consumer has authorized to resource %s. The consumer is already authorized to access the resource %s. Do not grant the authorization again.
409 Conflict.DebugRequestFailed Create debug request for %s failed, please check httpApi / gatewayRoute / ingressRoute settings. Failed to create the debug request. Check your configuration. The request URL is %s.
409 Conflict.DeleteHttpApiForbidden The current API %s has already deployments of routes and cannot be deleted. The API %s has %s deployed routes and cannot be deleted.
409 Conflict.DeleteRouteForbidden The route %s cannot be deleted when its status is %s. The route %s is in the %s state and cannot be deleted.
409 Conflict.DeployRouteForbidden The route %s cannot be deployed when its status is %s. The route %s is in the %s state and cannot be deployed.
409 Conflict.DomainCannotDelete Domain %s has online api or route, can not delete. The domain name %s has associated published APIs or routes and cannot be deleted. Take the related resources offline before you perform this operation.
409 Conflict.DomainExisted Domain %s is existed. The domain name %s already exists.
409 Conflict.DomainQuotaPerGatewayExceed The number of bound domain per gateway cannot exceed %s. Current: %s. The number of associated domains for a single gateway cannot exceed %s. The current number is %s. Increase your quota.
409 Conflict.EnvironmentCannotDelete Environment %s has online api, can not delete. The environment %s has associated published APIs or routes and cannot be deleted. Take the related resources offline before you perform this operation.
409 Conflict.EnvironmentExisted Environment %s is existed. An environment named %s already exists. Specify a different environment name.
409 Conflict.EnvironmentGatewayNotReady The gateway %s in the environment %s is not ready, please wait for the gateway to be ready before proceeding. The gateway %s in the environment %s is not ready. Wait until the gateway is ready and try again.
409 Conflict.EnvironmentPublishing Environment %s is publishing, please retry later. The environment %s is being published. Try again later.
409 Conflict.Fc2NotSupported The FC integration solution has been upgraded. Please re-create the FC service before publishing the API/route. The Function Compute integration solution has been upgraded. Recreate the Function Compute service before you publish the API or route.
409 Conflict.GatewayEnvironmentLimitExceeded The number of environment per gateway cannot exceed %s, current: %s. The number of environments associated with a single gateway cannot exceed %s. The current number is %s. Increase your quota.
409 Conflict.GatewayIsDeleted The gateway %s is deleted. The gateway %s has been deleted.
409 Conflict.GatewayNotSupportedWAF The gateway %s does not support enabling WAF protection. Please upgrade to a version of the gateway that supports it. The gateway %s does not support WAF protection. Upgrade to a gateway version that supports this feature.
409 Conflict.GatewayStatusInvalidForbidden The operation is not allowed in the current gateway status. Wait until the gateway is in the running state and try again. The gateway does not support the current operation. Wait until the gateway is running normally and try again.
409 Conflict.GatewayStatusNotExpected The status of the gateway %s is not the expected status %s. The gateway status %s is not the expected status %s.
409 Conflict.HttpApiTypeNotSupportedForRoute Only APIs of type Http, HttpIngress, and Websocket support route. Only APIs of the HTTP, HttpIngress, and WebSocket types support routing.
409 Conflict.HttpIngressApiExistedWhenDeleteSource The service source is used by http ingress api, please delete the corresponding HTTP Ingress API before removing the service source. The associated HTTP Ingress API ID is %s. An HTTP ingress API is using this source. Delete the corresponding HTTP ingress API before you delete the service source. The ID of the associated HTTP ingress API is %s.
409 Conflict.K8sServiceSourceExisted The k8s service source of %s is existed. The gateway already has a Kubernetes service source for the %s cluster.
409 Conflict.K8sServiceSourceLimitExceeded The number of k8s service source per gateway cannot exceed %s. Current: %s. The number of Kubernetes service sources for a single gateway cannot exceed %s. The current number is %s. Increase your quota.
409 Conflict.OnlineOperationQuotaPerGatewayExceed The number of online operation per gateway cannot exceed %s. Current: %s. The number of online interfaces for a single gateway cannot exceed %s. The current number is %s. Increase your quota.
409 Conflict.OperationNameDuplicated Operation name %s duplicated. The interface %s already exists. Specify a different name.
409 Conflict.OperationQuotaExceed The number of operations per region cannot exceed %s. Current: %s. The total number of interfaces cannot exceed %s. The current number is %s. Increase your quota.
409 Conflict.OssRequestError Failed to access OSS, please check the parameter configuration or your account RAM permissions. Failed to access OSS. Check the parameter settings or the RAM permissions of your account.
409 Conflict.PluginClassNotReady Plugin class %s is not ready. The plug-in %s is not ready. Try installing it again later.
409 Conflict.PluginCountExceed Plugin count exceed %s. The number of plug-ins exceeds the quota. The current number of plug-ins is %s.
409 Conflict.PluginHasAttachedRule Plugin %s is using. Please check api/operation/route/domain/gateway whether config enabled plugin rule, stop these plugin rules and retry. The plug-in %s may be enabled on an API, interface, route, domain name, or gateway instance and cannot be uninstalled. Check and disable the plug-in rules on the corresponding resources and try again.
409 Conflict.PluginInstalled Plugin class %s installed, you must uninstall first. The plug-in %s is already installed on the gateway instance. Uninstall the plug-in from the gateway instance before you delete it.
409 Conflict.PluginInstallGatewayNotReady Gateway %s is not ready. The gateway instance %s is not ready. Try installing the plug-in later.
409 Conflict.PluginNameExisted Plugin name %s existed. The plug-in %s already exists. Specify a different name.
409 Conflict.PluginOtherVersionInstalled Plugin class %s version %s installed, you must uninstall old version first. Version %s of the plug-in %s is already installed. Uninstall it and try again.
409 Conflict.PluginPublishSameVersion Plugin %s version %s has been published. Version %s of the plug-in %s is already published. Do not publish it again.
409 Conflict.PluginPublishVersionOnlyIncrement Plugin %s version %s must be larger than history version. The version %s of the plug-in %s is invalid. The version number must be incremented and greater than all historical versions.
409 Conflict.PluginWasmFileIllegal Plugin wasm file %s illegal. The WASM file for the plug-in is invalid. The file name is %s.
409 Conflict.PolicyAttachExceedLimit Resource can not attach 2 same class policy. You cannot attach two policies of the same type to a single resource.
409 Conflict.PolicyExisted Policy %s is existed. The policy %s already exists. You cannot enable it again.
409 Conflict.RouteBackServiceProtocolNotSupported The route currently does not support the service protocol %s. Routing does not currently support the service protocol %s.
409 Conflict.RouteNameDuplicated Route name %s is duplicated. The route %s already exists. Specify a different name.
409 Conflict.RouteQuotaPerGatewayExceed The number of route per gateway cannot exceed %s. Current: %s. The number of routes for a single gateway cannot exceed %s. The current number is %s. Increase your quota.
409 Conflict.SdkGenerating SDK is generating, please retry later. The SDK is being generated. Try again later.
409 Conflict.SecurityGroupRulesLimitExceeded The security group rule ports count cannot be greater than 5. The number of security group rules for a gateway cannot exceed 5.
409 Conflict.ServiceExisted the service %s is existed. A service named %s already exists. Specify a different service name.
409 Conflict.ServiceIsReferencedWhenDelete There are other resources referencing this service. Please unbind it before deleting the service. The associated resources are %s. Other resources reference this service. Dissociate the service from the associated resources before you delete it. The associated resources are %s.
409 Conflict.ServiceQuotaPerGatewayExceed The number of service per gateway cannot exceed %s. Current: %s. The number of services for a single gateway cannot exceed %s. The current number is %s. Increase your quota.
409 Conflict.ServicesExistedWhenDeleteSource The service source is used by services %s. The service source still has associated services. Delete the associated services before you delete the service source. The associated service IDs are %s.
409 Conflict.ServiceSourceUpdateIsDisabled The service source is allowed to update when it's type must be K8S. You can modify only service sources of the Kubernetes type.
409 Conflict.ServiceUpdateIsDisabled The service is allowed to update when it's source type must be DNS or VIP. You can modify only services of the DNS and fixed address types.
409 Conflict.ServiceVersionExisted Service version %s already exists, please change the service version name. The service version %s already exists. Specify a different service version name.
409 Conflict.SourceExistedWhenCreateIngressApi The service source %s is already being used by another HTTP Ingress API. Please use a different service source to create the HTTP Ingress API. The service source %s is already used by another HTTP Ingress API. Use a different service source to create the HTTP Ingress API.
409 Conflict.UndeployRouteForbidden Route %s cannot be updeployed when its status is %s. The route %s is in the %s state. You cannot cancel the deployment.
409 Conflict.UpdateRouteEnvironmentForbidden The route %s cannot be allowed to change the environment when its status is %s. The route %s is in the %s state. You cannot change the environment. To modify the environment, deploy the route first and then change the environment after the deployment is complete.
409 Conflict.UpdateRouteForbidden The route %s cannot be updated when its status is %s. The route %s is in the %s state. You cannot update the route.
409 Conflict.WafAttachConditionNotMatch WAF should be enabled on gateway instance first. You must enable WAF on the gateway instance before you configure WAF policies.
400 InvalidParameter.ConsumerAkLengthExceed Consumer AK length can not exceed %s. Current %s. The length of the consumer AK exceeds the limit. The maximum length is %s, and the current length is %s.
400 InvalidParameter.ConsumerApiKeyLengthExceed Consumer ApiKey length can not exceed %s. Current %s. The length of the consumer API key exceeds the limit. The maximum length is %s, and the current length is %s.
400 InvalidParameter.ConsumerNameExceedLimit Consumer name length can not exceed 64 characters, now %s. The length of the consumer name cannot exceed 64 characters. The current length is %s.
400 InvalidParameter.ConsumerNameStartOrEndFormatIllegal consumer name must start and end with an alphanumeric character, now %s. The consumer name must start or end with a letter or a digit. The current name is %s.
400 InvalidParameter.ConsumerSkLengthExceed Consumer SK length can not exceed %s. Current %s. The length of the consumer SK exceeds the limit. The maximum length is %s, and the current length is %s.
400 InvalidParameter.DomainNameExceedLimit Domain name length can not exceed 128 characters, now %s. The domain name length is %s, which exceeds the limit. The maximum allowed length for a domain name is 128 characters.
409 InvalidParameter.EnvironmentAliasLengthExceedUpLimit Environment alias can not exceed than 50 characters, now %s. The length of the environment alias is %s. It cannot exceed 50 characters.
400 InvalidParameter.EnvironmentAliasStartOrEndFormatIllegal Environment alias must start with an alphanumeric or Chinese character, now %s. The environment alias %s is invalid. It must start with a letter or a Chinese character.
400 InvalidParameter.EnvironmentFormatIllegal Environment name can only contain alphanumeric characters, dashes, dots, now %s. The environment name %s is invalid. It can contain only letters, digits, periods, and hyphens.
400 InvalidParameter.EnvironmentNameStartOrEndFormatIllegal Environment name must start and end with an alphanumeric character, now %s. The environment name %s is invalid. It must start and end with a letter or a digit.
400 InvalidParameter.FailToBindBody Fail to bind body. Failed to parse the request content. Check whether the data types of the parameters are correct.
400 InvalidParameter.HttpApiTypeNotSupported The HTTP API type %s is not supported. The HTTP API type %s is not supported.
400 InvalidParameter.HttpTriggerRequired Function %s version %s doesn't have a http trigger. The function %s/%s does not have an HTTP trigger configured and cannot be used as a backend service for APIs and routes. Add an HTTP trigger to the function.
400 InvalidParameter.InvalidGatewaySpecification The specification for upgrading or downgrading is invalid. Please make a different selection. The upgrade or downgrade configuration is invalid. Select a valid configuration.
400 InvalidParameter.IsEmpty Required parameter should not be empty. The required parameter is empty.
400 InvalidParameter.OasSpecParseFailed OpenAPI Schema parse failed, due to %s. Failed to parse the OpenAPI definition. Reason: %s.
400 InvalidParameter.PluginNameExist The plugin name already exists. A plug-in with the same name already exists.
400 InvalidParameter.PolicyNotSupportedType Not supported global policy type %s. %s is not a supported global policy type.
400 InvalidParameter.RouteConfigHostnamesIsEmpty The parameter is not valid, the domain list cannot be empty. The parameter is invalid. The domain name list cannot be empty.
400 InvalidParameter.SwaggerSpecParseFailed Swagger definition parse failed, due to %s. Failed to parse the Swagger definition. Reason: %s.
400 InvalidParameter.WithDetail Invalid parameter value. The request parameter is invalid.
404 NotFound.CsClusterNotFound CS cluster %s is not found. The Container Service cluster %s does not exist. Check the configuration.
404 NotFound.EnvironmentNotFound Environment %s is not found. The environment %s does not exist. Check the request parameters.
404 NotFound.GatewayNotFound Gateway %s is not found. The queried gateway instance does not exist. Instance ID: %s.
404 NotFound.GatewayVersionNotConfig The gateway version is not configured. The configuration for the gateway version is not found.
404 NotFound.SAEK8SServiceNotFound The SAE K8S service %s in the namespace %s is not found. The SAE Kubernetes service %s does not exist in the namespace %s.
404 NotFound.ServiceNotFound The service %s is not found. The specified service is not found. ID: %s.
404 NotFound.ServiceSourceNotFound The service source %s is not found. The specified service source is not found. ID: %s.
404 NotFound.ServiceVersionNotFound Service version %s not found, please confirm that the service version name is correct. The service version %s is not found. Make sure that the service version name is correct.
400 CloudProductInactive.LogDeliveryNotEnabled SLS log delivery configuration is not enabled. The Simple Log Service (SLS) log delivery feature is not enabled for the gateway.
409 Conflict.DomainIsProcessing The domain %s is currently being deployed. Please try again later. The domain name of the destination environment is being deployed.
404 NotFound.ConsumerAuthorizationRule The ConsumerAuthorizationRule '%s' does not exist under Consumer '%s'. The queried consumer authorization rule does not exist.
400 InvalidParameter.BothEmpty Parameter ResourceId and Tag should not both be empty. At least one must be provided. Neither ResourceId nor Tag is provided.
400 InternalError The request processing has failed due to some unknown error. The case of the parameter value does not match.
404 DatabaseError.RecordNotFound The specified QuotaRule '%s' does not exist. The quota rule ID does not exist or has been deleted.
404 NotFound.ExternalResponseNotFound The request to the external API failed When creating an MSE_NACOS service source, the specified Nacos instance does not exist or is inaccessible in the current region.
500 ServiceInternalError.CreateMigrationTaskFailed api type not match The httpApiId specified when creating the migration task is not an API of the HttpIngress type.
500 ServiceInternalError.FailToRequestCs Request to cs failed Failed to request the Container Service cluster. The gateway cannot access the specified Kubernetes cluster.
500 ServiceInternalError.UnknownError An unknown error occurred. Please submit a ticket to contact an engineer for processing. This is an unclassified fallback code for internal server errors. The response does not distinguish specific failure causes.
409 Conflict.GatewayNotSupportAutoMaintenance Auto maintenance is not supported for this gateway. This gateway does not support the automatic maintenance time window configuration.
404 ApiReplaced.UseUpdateAuthorizationRule This API has been deprecated and replaced. Please use UpdateAuthorizationRule at /v1/authorization-rules/{consumerAuthorizationRuleId} instead. This API is deprecated and replaced. Use UpdateAuthorizationRule (PUT /v1/authorization-rules/{consumerAuthorizationRuleId}) instead.
500 GatewayIsDeleted.GetMigrationNamespacedServicesFailed The gateway associated with migration task has been deleted. Please create a new migration task with an active gateway. The gateway associated with the migration task has been deleted. Use a gateway in the normal state to recreate the migration task.
404 DatabaseError.RecordNotFound Record not found. The referenced record in the request does not exist. The backend record associated with the migration task is unavailable. Check the task and cluster status first.
403 CodeupService.NotAuthorized The caller has not authorized APIG to access Codeup, or no Codeup organization exists. Please authorize APIG to access your Codeup account and ensure at least one Codeup organization is created before calling this API. The caller has not authorized APIG to access Apsara DevOps Codeup, or no Codeup organization exists under the account.
403 Forbidden.AccessDenied Not allowed to perform the operation. You are not authorized to perform this operation.
409 Conflict.ServiceCredentialNotConfigured the service has no revealable credential. No queryable credentials are configured for the specified service.
400 InvalidParameter.IsEmpty Parameter gatewayType should not be empty. The required parameter cannot be empty.
400 InvalidParameter.WithValue Parameter type should be KMS is invalid, value: %!v(MISSING). The parameter value is invalid.
404 NotFound.VpcNotFound VPC %s is not found. The specified VPC does not exist or is inaccessible.
404 NOT_FOUND Resource not found: Portal:null The referenced resource does not exist.
404 ApiNotFound The API ListConsumerAuthorizationRules is not available. Please use QueryConsumerAuthorizationRules instead. This API route is unavailable. Use the alternative API instead.