Error Codes

Code
Description

'success'

General success code

'error'

General error code

'passed'

Passed

'unknown-error'

Unknown error

'uncategorized-error'

Uncategorized error

'internal-error'

Internal error

'no-record'

No data in the database

'not-activated'

Not activated

'url-not-exist'

Request url is not exist.

'service-not-available'

Service is not available. (Service Registry)

'service-disabled'

Service is set as disabled.

'feature-disabled'

Feature is disabled

'duplicate-login'

Duplicate login

'duplicated-data'

Record is duplicated

'duplicated-name'

Name is duplicated

'duplicated-value'

Value is duplicated

'duplicated-code'

Code is duplicated

'suspect-error'

Errors are not detected. But, error(s) may happened while processing a request.

'too-many-failure'

Too many failure. (e.g. Sign in)

'access-denied'

Do not have permission to access.

'invalid-request'

Invalid request

'invalid-data'

Invalid data

'invalid-value'

Some value is wrong

'invalid-command'

Command is invalid

'invalid-type'

Data type is invalid

'invalid-cart-data'

Cart data is something wrong

'invalid-token'

Invalid token.

'invalid-qty'

Invalid quantity

'invalid-option'

Invalid option

'invalid-price-data'

Invalid price data

'invalid-inventory-data'

Invalid inventory data

'invalid-criteria'

Some criteria is wrong

'invalid-code'

Invalid code (coupon code)

'invalid-date'

Invalid date

'empty-value'

Empty value

'abnormal-data'

Data it not normal

'json-parse-failure'

JSON parse failure

'abnormal-product'

Product data is something wrong

'exceed-limit'

Exceed limit

'target-not-exist'

Target not exist

'multiple-request'

Multiple request

'price-mismatch'

Price mismatch

'amount-mismatch'

Amount mismatch

'quantity-mismatch'

Quantity mismatch

'service-not-found'

Could not find any services. (Service Registry)

'token-not-exist'

JWT token is not exist.

'requestor-not-exist'

Requestor info in request header is not exist.

'not-allowed-for-guest'

Action from guest is not allowed

'not-allowed-for-customer'

Action from customer is not allowed

'undefined-key'

A key in JSON, or object, is undefined

'cancel-not-available'

Item status, or qty, is not meet cancelable condition.

'dispute-not-available'

Item status, or qty, is not meet dispute condition.

'disabled-value'

The status of a record(s) is disabled.

'out-of-stock'

Out of stock.

'qty-not-available'

The requested quantity is not available.

'insufficient-stock'

Insufficient stock.

'missing-field'

Some of data field are missing

'missing-required'

Required data field is missing

'missing-data'

Some data is missing, or null

'missing-condition'

Some condition is missing

'missing-criteria'

Some criteria is missing

'missing-config'

Configuration is missing

'missing-parameter'

Missing parameter(s)

'missing-argument'

Missing argument

'invalid-argument'

Invalid argument

'invalid-tax-rate'

Tax rule or rate setting is something wrong

'invalid-config'

Configuration is not set, or wrong

'invalid-condition'

Some condition is wrong

'invalid-order'

Invalid order (or order not exist)

'invalid-order-state'

Invalid order state

'invalid-order-status'

Invalid order status

'invalid-order-item-state'

Invalid order item state

'invalid-order-item-status'

Invalid order item status

'invalid-cancel-state'

Invalid cancel state

'invalid-cancel-item-state'

Invalid cancel item state

'invalid-dispute-state'

Invalid dispute state

'invalid-dispute-status'

Invalid dispute status

'invalid-dispute-item-state'

Invalid dispute item state

'invalid-dispute-item-status'

Invalid dispute item status

'key-not-exist'

Key not exist or expired (e.g. cartKey)

'key-expired'

Key expired

'special-price-exceeded'

Special price is higher than regular price

'order-generation-failed'

Failed to generate order from cart

'customer-generation-failed'

Failed to generate customer data

'wrong-split-qty'

Split item qty is equal or greater then item qty

'wish-item-exist'

Same item is already added to wish list

'item-not-found'

Item not exist

'approve-qty-exceeded'

Approve qty is more than request qty

'unresolved-task-exist'

Unresolved tasks are exist

'wrong-amount'

Amount is wrong

'update-state-failed'

Failed to update state.

'update-status-failed'

Failed to update status.

'delete-not-allowed'

Delete action is not allowed

'account-not-found'

Username, or email not found

'account-exist'

Account is already exist

'account-not-verified'

Account does not verified

'account-not-active'

Account is in inactive(dormant) state

'account-locked'

Account is in locked status

'multiple-record-exist'

Record is not single

'password-mismatch'

Password does not match

'password-expired'

Password is expired

'password-duplicated'

Password is duplicated (with previous passwords)

'under-maintenance'

System is under maintenance

'not-enough-authority'

Not enough authority to access

'not-enough-resource'

Not enough resource (CPU, Memory...)

'not-enough-balance'

Not enough point, or balance

'create-failed'

Failed to create data

'update-failed'

Failed to update data

'update-not-allowed'

Not allowed to update

'upsert-failed'

Failed to upsert data

'delete-failed'

Failed to delete data

'write-file-failed'

Failed to write file

'read-file-failed'

Failed to read file

'upload-failed'

Failed to upload file(s)

'execution-failed'

Execution failed

'operation-failed'

Operation failed

'refund-failed'

Refund failed

'grid-data-creation-failed'

Failed to created grid record

'invalid-length'

The length is invalid

'too-long'

The length is too long

'too-short'

The length is too short

'hanging-task'

Took too long to finish task

'duplicated-task'

Requested task is already exist

'missing-option'

Option(s) is not selected

'request-timed-out'

Request timed out

'connection-timed-out'

Connection timed out

Last updated