Updated on 2024-10-16 GMT+08:00

Error Codes

If an error code starting with APIGW is returned after you call an API, rectify the fault by referring to the instructions provided in API Gateway Error Codes.

Status Code

Error Codes

Error Message

Description

Solution

400

WAF.00011001

bad.request

Bad request

Check param

400

WAF.00011002

url.param.illegal

The URL format is incorrect

Check URL format

400

WAF.00011003

request.body.illegal

Request body format error: missing parameter and illegal value in body

Check request body

400

WAF.00011004

id.illegal

Illegal ID

Check ID

400

WAF.00011005

name.illegal

Illegal name

Check name

400

WAF.00011006

host.illegal

Illegal domain name

Check domain name

400

WAF.00011007

port.illegal

Illegal port

Check port

400

WAF.00011007

ip.illegal

Illegal IP

Check IP

400

WAF.00011008

protect.status.illegal

Illegal protection status

Check whether the protection state is in the range of enumeration value

400

WAF.00011009

access.status.illegal

Illegal access status

Check whether the access status is in the range of enumeration value

400

WAF.00011010

offsetOrLimit.illegal

Illegal offset or limit number

Check whether the starting line or limit number is within the range

400

WAF.00011011

pageOrPageSize.illegal

Illegal page number or number of entries per page

Check if page number or number of items per page are in range

400

WAF.00011012

standard.violated

Invalid parameter

Check the parameters

400

WAF.00011013

description.illegal

Illegal description format

Check description format

400

WAF.00011014

request.header.illegal

Request header format error: missing parameter and illegal value in header

Check header required parameters

400

WAF.00011015

spec.code.illegal

Illegal spec code of WAF

Replacing Valid WAF Specifications

400

WAF.00011016

name.duplicate

Duplicated name.

Change the name.

400

WAF.00011017

ipv6.switch.illegal

IPv6 defense cannot be disabled.

Enable IPv6 defense.

400

WAF.00011018

action.type.illegal

Illegal action type

Replace a valid defense action type.

400

WAF.00011019

cert.illegal

Illegal certificate

Use a valid certificate.

400

WAF.00011020

cve.num.illegal

Invalid CVE ID

Use a valid CVE ID.

400

WAF.00011021

cert.expired

Certificate has expired

Replacing an Unexpired Certificate

400

WAF.00011022

gocm.action.illegal

Illegal GOCM ACTION

Check the action in the GOCM ticket and use a correct and valid action rule.

400

WAF.00011023

repeat.purchases

It is not allowed to purchase twice

It is not allowed to purchase twice

400

WAF.00012001

invalid.token

Illegal token

Check whether the token is correct

400

WAF.00012002

invalid.project

Inconsistency between project_id and token

Check consistency of project_id and token

400

WAF.00013004

protocol.not.support

Protocol not supported

Through ELB conversion protocol

400

WAF.00013010

custom.ruleset.does.not.support.for.shared.policy

Custom rule set does not support for shared policy

nothing

400

WAF.00014002

resource.already.exists

Resource already exists

Resource already exists

400

WAF.00014003

open.protect.failed

Failed to open protection

Check domain name protection status

400

WAF.00014004

access.failed

Failed to access WAF

Modify DNS resolution

400

WAF.00014005

bypass.failed

Bypasswaf failed

Check the protection status and try again

400

WAF.00014006

proxy.config.error

Agent configuration error

Reconfigure the agent correctly and try again

400

WAF.00014007

host.conflict

Domain name conflict

Check that the domain name already exists in the website configuration

400

WAF.00014008

cert.inconsistent

The same domain name, but the certificate is inconsistent

Use the same certificate

400

WAF.00014010

port.protocol.mismatch

Port and protocol mismatch

Select the matching protocol and port

400

WAF.00014011

host.blacklist

It is forbidden to add the protection website, and the domain name is blacklisted

400

WAF.00014012

website.not.register

Website is not registered

Filing website

400

WAF.00014013

host.already.access

The domain name already has accessed waf

nothing

400

WAF.00014014

exclusive.ip.config.error

exclusive.ip.config.error

Check exclusive IP configuration

400

WAF.00014015

resource.is.being.used

Resource is in use

nothing

400

WAF.00014016

ip.group.is.being.shared

IP group is being shared

nothing

400

WAF.00014017

policy.is.being.shared

Policy is being shared

nothing

400

WAF.00014018

certificate.is.being.shared

Certificate is being shared

nothing

400

WAF.00014019

policy.is.being.disconnecting

Policy is being disconnecting

nothing

400

WAF.00014026

sdk.already.exists

Sdk config already exists

Check the SDK configuration.

400

WAF.00014027

certificate.already.exists

Certificate already exists

Check the certificate file.

400

WAF.00014028

host.already.exists

Website already exists

Check the protected domain name.

400

WAF.00014029

certificateSharing.already.exists

Current certificate already exists in target enterprise project

Check the certificate file of the target enterprise project.

400

WAF.00014030

policySharing.already.exists

Current policy already exists in target enterprise project

Check the protection policy of the target enterprise project.

400

WAF.00014031

ipGroupSharing.already.exists

Current ip address group already exists in target enterprise project

Check the IP address group of the target enterprise project.

400

WAF.00015001

premium.instance.not.available

Dedicated WAF instance is not available. Please check configurations

check configurations

400

WAF.00015005

premium.instance.illegal.flavor

Illegal ECS flavor of dedicated WAF instance

Change the ECS specifications.

400

WAF.00015006

premium.instance.purchase.config.not.found

Purchase options of Premium WAF is not configured

Check the option configuration on the Premium WAF purchase page.

400

WAF.00016001

elb.mode.not.available

ELB mode is not available

Check the ELB mode configuration.

400

WAF.00021001

bad.request

Bad request

nothing

400

WAF.00021002

url.param.illegal

The URL format is incorrect

It is recommended to modify the URL in the request body parameter to the standard URL and debug again

400

WAF.00021003

request.body.illegal

The request body parameter is incorrect

It is recommended that you verify the parameters according to the document before initiating debugging

400

WAF.00021004

id.illegal

The unique identifier ID format is incorrect

It is recommended to follow the correct instructions in the documentation to obtain the ID

400

WAF.00021005

name.illegal

The name parameter format is incorrect

Check the format of name, which can only be composed of letters, numbers, -_ And. Cannot exceed 64 characters in length

400

WAF.00021006

host.illegal

The domain name format is incorrect

Domain name can only be composed of letters, numbers, -_ And. Cannot exceed 64 characters in length

400

WAF.00021007

protocol.illegal

The back-end protocol format is incorrect

The back-end protocol can only be configured as HTTP or HTTPS and must be capitalized

400

WAF.00021008

port.illegal

The source port format is incorrect

Check whether the configured port is empty and whether the target port is in the range of 0-65535

400

WAF.00021009

ip.illegal

Incorrect IP format

Check whether the IP format meets the standard format of IPv4 or IPv6

400

WAF.00021010

server.address.illegal

Server configuration exception

Check whether the server configuration is empty and whether the quantity is in the range of 1-80

400

WAF.00021012

path.illegal

The URL format in the rule configuration is incorrect

It is recommended to modify the URL in the request body parameter to the standard URL and debug again

400

WAF.00021013

cert.illegal

The HTTPS certificate has expired

It is recommended to upload the unexpired certificate again

400

WAF.00021014

action.illegal

Illegal protective action

It is recommended to configure protection actions according to the enumerated values in the document

400

WAF.00021015

rule.status.illegal

Illegal rule status

It is recommended to modify the rule status according to the rule status enumeration value in the document

400

WAF.00021016

description.illegal

Description exception

It is recommended to use standard English grammar for description

400

WAF.00021017

incorrect.rule.config

Incorrect rule configuration

It is recommended to configure protection rules according to the documentation in the help center

400

WAF.00021018

incorrect.reference.table.config

Incorrect reference table configuration

It is recommended to configure the reference table according to the documentation in the help center

400

WAF.00021019

incorrect.route.config

Incorrect line configuration

It is recommended to configure the line according to the documentation in the help center

400

WAF.00021020

offsetOrLimit.illegal

Paging parameter error

It is recommended to fill in pagination parameters according to the documents in the help center

400

WAF.00021021

pageOrPageSize.illegal

Illegal page or pagesize

It is recommended to view the parameter limits according to the documentation in the help center

400

WAF.00021022

name.duplicate

name duplicate

Modify the name

400

WAF.00021023

server.mode.illegal

Illegal mode

Check the service mode.

400

WAF.00021024

proxyConfig.illegal

Illegal SDK proxy config

Check the SDK configuration.

400

WAF.00021025

cookie.secure.conflict

Cookie with Secure/HttpOnly conflicts with HTTP client protocol

Check the configuration.

400

WAF.00021026

condition.repeat

Duplicate rules in the condition list

Checking Rules in the Condition List

400

WAF.00022002

resource.already.exists

Resource already exists

It is recommended to check whether the created resource already exists in the console

400

WAF.00022003

resource.is.being.used

The resource is in use

Remove the relationship between the resource and the user before deleting the resource

400

WAF.00022004

rule.conflict

Rule conflict

Check whether the target rule conflicts with the existing rule

400

WAF.00022006

host.conflict

Someone else has already added this domain name, Please confirm whether the domain name belongs to you. If so, contact the service staff to help you solve it

Someone else has already added this domain name, Please confirm whether the domain name belongs to you. If so, contact the service staff to help you solve it

400

WAF.00022007

open.protect.failed

Failed to enable protection, please access the traffic first

please access the traffic first

400

WAF.00022012

rule.resource.already.exists

Same condition rule already exists

Check the added rule condition.

400

WAF.00023001

policy.not.bind.domain

The policy is not bound a domain

Bind the domain name first

400

WAF.00023002

domain.not.session.tag

Please set session tag on the domain setting page

Please configure the session tag on the domain first

400

WAF.00023003

domain.not.user.tag

Please set user tag on the domain setting page

Please configure the user tag on the domain first

401

WAF.00010005

request.iam.failed

Failed to request IAM. Please check current user's IAM permissions

Please check current user's IAM permissions

401

WAF.00010006

update.iam.failed

Failed to request IAM. Please check current user's IAM permissions

Please check current user's IAM permissions

401

WAF.00012003

permission.denied

No permission

Assign WAF required permissions to account

401

WAF.00012008

jwt.authentication.invalid.token

Illegal JWT token

Check whether the account has JWT permission

401

WAF.00012009

jwt.authentication.failed

JWT authentication failed

Give the account authorization first

401

WAF.00012011

cop.permission.denied

No cop permission.

Check the COP permission.

401

WAF.00015004

premium.instance.agency.not.ready

The IAM agency needed for dedicated WAF instance is not ready

Check the IAM Agency Permissions

401

WAF.00016003

elb.mode.elb.unauthorized

No permission to get ELB info and update ELB options

Check the user permission.

403

WAF.00012004

account.frozen

Account freezing

Account unfreezing

403

WAF.00012005

not.subscribe

Unsubscribed

Subscribe to WAF service first

403

WAF.00012006

pdp.permission.denied

No permission

Check the PDP authority of the account

403

WAF.00012007

jwt.authentication.disabled

JWT certification off

Open JWT certification

403

WAF.00012010

eps.all.not.support

eps.all.not.support

Open the write permission of enterprise project

403

WAF.00012012

not.subscribe.cloud

The target enterprise project has not subscribed to the cloud-mode WAF instance

Subscribe to a cloud-mode WAF instance.

403

WAF.00012013

not.subscribe.premium

The target enterprise project has not subscribed to the dedicated WAF instance

Subscribe to the dedicated WAF instance

403

WAF.00013001

insufficient.quota

Insufficient function quota

Purchase function quota upgrade package

403

WAF.00013002

feature.not.support

Function not supported

nothing

403

WAF.00013003

port.not.support

Port not supported

Port conversion via ELB

403

WAF.00013005

wildcard.domain.not.support

Pan domain name not supported

Use specific domain names

403

WAF.00013006

ipv6.not.support

IPv6 is not supported

The current version does not support IPv6

403

WAF.00013007

insufficient.tenant.quota

insufficient.tenant.quota

Purchase quota upgrade package

403

WAF.00013008

product.sold.out

The selected product has been sold out

Change Product Specification

403

WAF.00013009

degrade.not.support

Forbidden to degrade, current host num exceeds degraded quota

Reduce domain name usage

403

WAF.00013011

insufficient.domain.quota

Insufficient root domain quota, please purchase expansion package or upgrade specification

purchase expansion package or upgrade specification

403

WAF.00013012

insufficient.port.quota

Insufficient port quota, please purchase expansion package or upgrade specification

please purchase expansion package or upgrade specification

403

WAF.00013013

insufficient.host.quota

Insufficient domain quota, please purchase expansion package or upgrade specification

please purchase expansion package or upgrade specification

403

WAF.00013014

insufficient.policy.quota

Insufficient policy quota

Purchase the domain name expansion package or upgrade the specification

403

WAF.00015002

premium.instance.sold.out

Dedicated WAF instance is currently sold out. Please change ECS flavor or wait for restock

Please change ECS flavor or wait for restock

403

WAF.00015003

premium.instance.not.allowed

The account is not allowed to create dedicated WAF instance

Check the current account configuration.

403

WAF.00016004

elb.mode.unsupported.elb

ELB is not eligible for WAF. Only ELBv3 supports WAF

Check the ELB Mode

403

WAF.00016005

elb.mode.unsupported.elb.spec

ELB is not eligible for WAF due to its spec. Please ensure ELB has L7 flavor

Check the ELB configuration.

403

WAF.00016006

elb.mode.unsupported.elb.flavor

ELB is not eligible for WAF due to its flavor. Please ensure ELB has supported L7 flavor

Check the ELB configuration

403

WAF.00022005

insufficient.quota

Insufficient resources

It is recommended to purchase the upgrade package of corresponding resources

404

WAF.00014001

resource.not.found

Resource not found

The resource has been deleted or does not exist

404

WAF.00014009

api.not.found

The interface does not exist

Check interface URL

404

WAF.00014020

certificate.not.found

Certificate not found

Add the certificate resource.

404

WAF.00014021

ipGroup.not.found

Ip address group not found

Add an IP address group.

404

WAF.00014022

host.not.found

Domain name not found

Add a domain name.

404

WAF.00014023

premium.waf.instance.not.found

Dedicated engine not found

Add Dedicated engine WAF instance.

404

WAF.00014024

projectId.not.found

Project id not found

Check the project ID.

404

WAF.00014025

policy.not.found

Policy not found

Adding a defense policy

404

WAF.00016002

elb.mode.elb.not.found

Provided ELB not found

Check the ELB

404

WAF.00022001

resource.not.found

Resource does not exist

It is recommended to check the resource status on the console or ask for technical support

404

WAF.00022008

rule.not.found

Policy rule not found

Check the policy rule.

404

WAF.00022009

certificate.not.found

certificate not found

Check whether the certificate resource has been added.

404

WAF.00022010

ipGroup.not.found

Address group not found

Add an IP address group first

404

WAF.00022011

policy.not.found

Policy not found

Add a protection policy first.

409

WAF.00016007

elb.mode.conflict

ELB is only allowed to bind either dedicated WAF pool or shared WAF pool

Repeated binding is not allowed.

409

WAF.00016008

elb.mode.ep.conflict

ELB is allowed to config in only one enterprise project

Repeated binding is not allowed.

500

WAF.00010001

internal.error

Server internal error

Contact technical support

500

WAF.00010002

system.busy

The system is busy, please try again later

Contact technical support

500

WAF.00010003

cname.failed

Failed to create or modify CNAME

Contact technical support

500

WAF.00010004

obs.failed

Failed to get OBS file download link

Contact technical support

500

WAF.00010007

risk.action.is.blocking

Due to security reasons, your account has been restricted from purchasing certain pay-per-use cloud service resources according to the HUAWEI CLOUD Customer Agreement. If you have any questions, contact customer service

contact customer service

500

WAF.00010008

frozen.deposit.failed

Insufficient account balance. Top up your account

Top up your account

500

WAF.00010009

list.eps.failed

Failed to list enterprise project

nothing

500

WAF.00020001

internal.error

Service internal exception

It is recommended to try again in five minutes

500

WAF.00020002

system.busy

System busy

It is recommended to try again in five minutes