Skip to main content
Version: 1.1.1

Error Codes

GTN uses standard HTTP response codes to indicate the success or failure of an API request.

List of Error Messages

ErrorHttp StatusReject CodeDescription
SUCCESS2000Success
INVALID_REQUEST2001001invalid request. please check request again.
ERROR_VERIFY_JWT2001002Error in verifying jwt
KEYS_NOT_CONFIGURED_PROPERLY2001003Public and Private Keys not configured properly
USER_NOT_FOUND2001004User not found
SECURITY_KEY_CONFIG_ISSUE2001005Security Keys are not configured properly
INVALID_SERVER_ACCESS_TOKEN2001006Invalid Server access token
EXPIRED_TOKEN2001007Expired Token
TOKEN_VERIFICATION_ISSUE2001008Invalid Token
INVALID_LOGIN_CREDENTIALS2001009Invalid login credentials
USERNAME_NOT_UNIQUE2001010Username is not unique
USER_VALIDATION_FAILED2001011User validation failed
NO_ORDERS2001012No orders found
INCORRECT_PASSWORD2001013Incorrect password
IN_SUFFICIENT_DETAILS_IN_ASSERTION2001014Insufficient details in assertion
EXCHANGE_ACCOUNT_ALREADY_DELETED2001015Exchange account is already deleted
INVALID_INSTITUTION2001016Invalid institution
INVALID_CUSTOMER_NUMBER2001017Invalid Customer Number
ACC_NOT_FOUND2001110Account cannot be found
CUSTOMER_NOT_FOUND2001111Customer cannot be found
CASH_ACCOUNT_NOT_FOUND2001112Cash account cannot be found
SECURITY_ACCOUNT_NOT_FOUND2001113security account cannot be found
EXCHANGE_ACCOUNT_NOT_FOUND2001114Exchange account cannot be found
BANK_ACC_NOT_FOUND2001115Bank account number
MASTER_ACCOUNT_NOT_FOUND2001116Master Account not found for the institution
AUTHENTICATION_FAILED2001120Authentication failed
ORD_REF_NUM_ALREADY_EXIST2001121order reference number is already exist in the system.
NO_STOCK_TRANS_DETAILS2001122no stock transactions found.
RETRY2001123server is busy, please retry again.
ALREADY_EXISTING_REFERENCE_NUMBER2001125Customer is already created with the referenceNumber
SYSTEM_ERROR_CODE200999System Error
BAD REQUEST400400001required parameter missing
BAD REQUEST400400002invalid date format
BAD REQUEST400400003undefined field value
BAD REQUEST400400004invalid type for field value
BAD REQUEST400400005invalid response type
BAD REQUEST400400006request failed
UNAUTHORIZED_ACCESS401-User has no access
UNAUTHORIZED_ACCESS4011007token expired
UNAUTHORIZED_ACCESS4011008invalid token
FORBIDDEN403-authorization failed
TIMEOUT408-Failed because of timeout
TOO MANY REQUESTS429-Too many requests in a given amount of time ("rate limiting")
INTERNAL SERVER ERROR500-system error, internal error handling request
Is this page helpful for you?