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. | The operation is forbidden. 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 domain name %s does not match the protocol of the debug request. The debug protocol is %s, and the protocol supported by the domain name is %s. | |
| 409 | Conflict.ApiNameDuplicated | API name %s duplicated. | The API %s already exists. Change the 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 operation 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. Use a different version number. | |
| 409 | Conflict.ApiVersionMustEnabled | API has more than one version, can not disable version. | The API has multiple versions. Version management cannot be disabled. | |
| 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 has already been granted access to resource %s. Do not grant duplicate authorization. | |
| 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 still has associated published APIs or routes and cannot be deleted. Offline the related resources before performing 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 per 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. Offline the related resources before performing this operation. | |
| 409 | Conflict.EnvironmentExisted | Environment %s is existed. | An environment with the name %s already exists. Use 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 environment %s is not ready. Wait until the gateway is ready before performing this operation. | |
| 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. Re-create the Function Compute service before publishing the API or route. | |
| 409 | Conflict.GatewayEnvironmentLimitExceeded | The number of environment per gateway cannot exceed %s, current: %s. | The number of environments associated with each 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 enabling WAF protection. Upgrade to a supported gateway version. | |
| 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 this operation in its current state. Wait until the gateway is running normally before performing this operation. | |
| 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, or Websocket type support routes. | |
| 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 deleting the service source. The associated HTTP Ingress API ID 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 per 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 operations per gateway cannot exceed %s. The current number is %s. Increase your quota. | |
| 409 | Conflict.OperationNameDuplicated | Operation name %s duplicated. | The operation %s already exists. Change the name. | |
| 409 | Conflict.OperationQuotaExceed | The number of operations per region cannot exceed %s. Current: %s. | The total number of operations 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 plugin %s is not ready. Try again later. | |
| 409 | Conflict.PluginCountExceed | Plugin count exceed %s. | The number of plugins exceeds the quota. The current number of plugins 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 plugin %s may be enabled on an API, operation, route, domain name, or gateway instance and cannot be uninstalled. Check and disable the plugin rules on the corresponding resources before trying again. | |
| 409 | Conflict.PluginInstalled | Plugin class %s installed, you must uninstall first. | The plugin %s is already installed on the gateway instance. Uninstall the plugin from the associated gateway instance before deleting it. | |
| 409 | Conflict.PluginInstallGatewayNotReady | Gateway %s is not ready. | The gateway instance %s is not ready. Try again later to install the plugin. | |
| 409 | Conflict.PluginNameExisted | Plugin name %s existed. | The plugin %s already exists. Change the name. | |
| 409 | Conflict.PluginOtherVersionInstalled | Plugin class %s version %s installed, you must uninstall old version first. | Version %s of the plugin %s is already installed. Uninstall it before retrying. | |
| 409 | Conflict.PluginPublishSameVersion | Plugin %s version %s has been published. | Version %s of the plugin %s is already published. Do not publish it again. | |
| 409 | Conflict.PluginPublishVersionOnlyIncrement | Plugin %s version %s must be larger than history version. | Version %s of the plugin %s is invalid. The version number can only increment and must exceed all previous versions. | |
| 409 | Conflict.PluginWasmFileIllegal | Plugin wasm file %s illegal. | The plugin WASM file 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 and cannot be enabled 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. Change the 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. Change the 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. Disassociate them before deleting the service. 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 contains services. Delete the associated services before deleting 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. | Only K8s-type service sources can be modified. | |
| 409 | Conflict.ServiceUpdateIsDisabled | The service is allowed to update when it's source type must be DNS or VIP. | Only DNS and fixed address-type services can be modified. | |
| 409 | Conflict.ServiceVersionExisted | Service version %s already exists, please change the service version name. | The service version %s already exists. Change the 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 and cannot be undeployed. | |
| 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 and the environment cannot be changed. 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 and cannot be updated. | |
| 409 | Conflict.WafAttachConditionNotMatch | WAF should be enabled on gateway instance first. | You must enable WAF on the gateway instance before configuring a WAF policy. | |
| 400 | InvalidParameter.ConsumerAkLengthExceed | Consumer AK length can not exceed %s. Current %s. | The consumer AK length exceeds the limit. The maximum length is %s, but the current length is %s. | |
| 400 | InvalidParameter.ConsumerApiKeyLengthExceed | Consumer ApiKey length can not exceed %s. Current %s. | The consumer ApiKey length exceeds the limit. The maximum length is %s, but the current length is %s. | |
| 400 | InvalidParameter.ConsumerNameExceedLimit | Consumer name length can not exceed 64 characters, now %s. | 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 and end with a letter or digit. The current value is %s. | |
| 400 | InvalidParameter.ConsumerSkLengthExceed | Consumer SK length can not exceed %s. Current %s. | The consumer SK length exceeds the limit. The maximum length is %s, but 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 maximum allowed length of 128 characters. | |
| 409 | InvalidParameter.EnvironmentAliasLengthExceedUpLimit | Environment alias can not exceed than 50 characters, now %s. | The current environment alias length is %s. The maximum length is 50 characters. | |
| 400 | InvalidParameter.EnvironmentAliasStartOrEndFormatIllegal | Environment alias must start with an alphanumeric or Chinese character, now %s. | The environment alias %s is invalid. The environment alias must start with a letter or Chinese character. | |
| 400 | InvalidParameter.EnvironmentFormatIllegal | Environment name can only contain alphanumeric characters, dashes, dots, now %s. | The environment name %s is invalid. The environment name 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. The environment name must start and end with a letter or digit. | |
| 400 | InvalidParameter.FailToBindBody | Fail to bind body. | Failed to parse the request content. Check whether the parameter data types 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. | A 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 plugin 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. | Invalid parameter. 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 gateway instance that you queried does not exist. Instance ID: %s. | |
| 404 | NotFound.GatewayVersionNotConfig | The gateway version is not configured. | The configuration for the gateway version was not found. | |
| 404 | NotFound.SAEK8SServiceNotFound | The SAE K8S service %s in the namespace %s is not found. | The SAE K8s Service %s does not exist in namespace %s. | |
| 404 | NotFound.ServiceNotFound | The service %s is not found. | The specified service with ID %s was not found. | |
| 404 | NotFound.ServiceSourceNotFound | The service source %s is not found. | The specified service source with ID %s was not found. | |
| 404 | NotFound.ServiceVersionNotFound | Service version %s not found, please confirm that the service version name is correct. | The service version %s was not found. Verify that the service version name is correct. | |
| 400 | CloudProductInactive.LogDeliveryNotEnabled | SLS log delivery configuration is not enabled. | The 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 target environment is being deployed. | |
| 404 | NotFound.ConsumerAuthorizationRule | The ConsumerAuthorizationRule '%s' does not exist under Consumer '%s'. | The consumer authorization rule that you queried 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 parameter value does not match the expected letter case. | |
| 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 | The specified Nacos instance does not exist or is not accessible in the current region when you create an MSE_NACOS service source. | |
| 500 | ServiceInternalError.CreateMigrationTaskFailed | api type not match | The httpApiId specified when you create a 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 K8s cluster. | |
| 500 | ServiceInternalError.UnknownError | An unknown error occurred. Please submit a ticket to contact an engineer for processing. | An unclassified internal server error occurred. The response does not specify the failure reason. | |
| 409 | Conflict.GatewayNotSupportAutoMaintenance | Auto maintenance is not supported for this gateway. | The gateway does not support 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 has been 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 a normal state to create a new migration task. | |
| 404 | DatabaseError.RecordNotFound | Record not found. | The referenced record does not exist. The backend record associated with the migration task is unavailable. Verify 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 Codeup on China DevOps, or no Codeup organization exists under the account. | |
| 403 | Forbidden.AccessDenied | Not allowed to perform the operation. | You do not have the permission to perform this operation. |
Is this page helpful?