Errors

Requests made to our APIs can result in several different error responses. The following document describes the recovery tactics and provides a list of error values with a map of the most common recovery tactic to use.

Suppose you want to integrate i18n in your application with the error message. Currently, we support i18n for all error messages. You can see the link:.... and visit this link to learn how to integrate i18n.

Log level

  • Trace: Logs that contain the most detailed messages. These messages may contain sensitive application data. These messages are disabled by default and should never be enabled in a production environment.

  • Debug: Logs that are used for interactive investigation during development. These logs should primarily contain information useful for debugging and have no long-term value.

  • Information: Logs that track the general flow of the application. These logs should have long-term value.

  • Warning: Logs that highlight an abnormal or unexpected event in the application flow, but do not otherwise cause the application execution to stop.

  • Error: Logs that highlight when the current flow of execution is stopped because of a failure. These should indicate a failure in the current activity, not an application-wide failure.

  • Critical: Logs that describe an unrecoverable application or system crash, or a catastrophic failure that requires immediate attention.

Error codes

This is a list of error codes in the JFW system specification with API. You can use the combinedCode variable to specify the error codes.

Standard

Code
Description

400

The input is invalid.

401

The user is not authorized.

403

The user has no permission to access the specified resource.

Brand

Code
Description

6601400

The brand is invalid to perform the operation.

6601404

The Brand was not found in the system.

6601405

We cannot perform the operation because the operation is not allowed to cross brands.

Coupon

Code
Description

6701404

The Coupon was not found in the system.

Device

Code
Description

6801400

The device is invalid to perform the operation.

6801404

The device was not found in the system.

6801405

The device was rejected.

6801600

The device code is invalid.

Exchange rate

Code
Description

6901404

The ExchangeRate was not found in the system.

6901405

The currency code not supported.

Feature

Code
Description

7001404

The feature was not found in the system.

Issue

Code
Description

7301404

The issue was not found in the system.

Invoice

Code
Description

7304400

The invoice is invalid to perform the operation.

7304404

The invoice was not found in the system.

License

Code
Description

7601400

The license is invalid to perform the operation.

7601404

The license was not found in the system.

7601601

The license end date is reached.

7601602

There was an error while updating the license.

7601603

The license start date is not yet reached.

7601604

The license key is invalid.

7601605

The license start date is invalid.

7601606

The license end date is invalid.

7601607

The license source ID is invalid.

7601610

The license used by is invalid.

7601611

The license used date is invalid.

7601613

The license is already applied to the given user.

7601614

The license is in use by another user.

7601615

The license package doesn't match the user's package.

Organization

Code
Description

7901404

The organization was not found in the system.

7902209

The user has reached the limit of joining the organization.

Package

Code
Description

8011404

The package was not found in the system.

Code
Description

8203404

The role was not found in the system.

Permission

Code
Description

8010404

The permission was not found in the system.

User

Code
Description

8501409

The user already exists in the system.

8501606

The username is not in the correct format.

8501607

The password is not in the correct format.

8501608

The email address is not in the correct format.

8501701

The given password does not match the one in the system.

8501703

We could not find any user with the specified email address.

8501722

The user email already exists in the system.

8501903

The user status is blocked.

8501904

The user status is deleted.

8501905

The user status is suspended.

Wallet

Code
Description

8701400

The wallet is invalid to perform the operation.

8701404

The wallet was not found in the system.

Last updated

Was this helpful?