Error Codes
GTN uses standard HTTP response codes to indicate the success or failure of an API request.
List of Error Messages
Error | Http Status | Reject Code | Description |
---|---|---|---|
Success | 200 | 0 | Success |
Invalid request | 200 | 1001 | invalid request. please check request again. |
Error verify jwt | 200 | 1002 | Error in verifying jwt |
Keys Not Configured Properly | 200 | 1003 | Public and Private Keys not configured properly |
User Not Found | 200 | 1004 | User not found |
Security Key Config Issue | 200 | 1005 | Security Keys are not configured properly |
Invalid Server Access Token | 200 | 1006 | Invalid Server access token |
Expired Token | 200 | 1007 | Expired Token |
Token Verification Issue | 200 | 1008 | Invalid Token |
Invalid Login Credentials | 200 | 1009 | Invalid login credentials |
Username Not Unique | 200 | 1010 | Username is not unique |
User Validation Failed | 200 | 1011 | User validation failed |
No Orders | 200 | 1012 | No orders found |
Incorrect Password | 200 | 1013 | Incorrect password |
Insufficient Details In Assertion | 200 | 1014 | Insufficient details in assertion |
Exchange Account Already Deleted | 200 | 1015 | Exchange account is already deleted |
Invalid Institution | 200 | 1016 | Invalid institution |
Invalid Customer Number | 200 | 1017 | Invalid Customer Number |
Account Not Found | 200 | 1110 | Account cannot be found |
Customer Not Found | 200 | 1111 | Customer cannot be found |
Cash Account Not Found | 200 | 1112 | Cash account cannot be found |
Security Account Not Found | 200 | 1113 | security account cannot be found |
Exchange Account Not Found | 200 | 1114 | Exchange account cannot be found |
Bank Account Not Found | 200 | 1115 | Bank account number |
Master Account Note Found | 200 | 1116 | Master Account not found for the institution |
Authentication Failed | 200 | 1120 | Authentication failed |
Order Ref Num Already Exist | 200 | 1121 | order reference number is already exist in the system. |
No Stock Transactions Details | 200 | 1122 | no stock transactions found. |
Retry | 200 | 1123 | server is busy, please retry again. |
Already Existing Reference Number | 200 | 1125 | Customer is already created with the referenceNumber |
Balance Exist | 200 | 1126 | Account cannot be deleted since balance exist. |
Duplicate Externak Order Id | 200 | 1127 | allready used external order id. |
Not Allowed To Cancel | 200 | 1128 | order is not allowed to cancel. please check the order status. |
System Error Code | 200 | 999 | System Error |
Bad Request | 400 | 400001 | required parameter missing |
Bad Request | 400 | 400002 | invalid date format |
Bad Request | 400 | 400003 | undefined field value |
Bad Request | 400 | 400004 | invalid type for field value |
Bad Request | 400 | 400005 | invalid response type |
Bad Request | 400 | 400006 | request failed |
Unauthorized Access | 401 | - | User has no access |
Unauthorized Access | 401 | 1007 | token expired |
Unauthorized Access | 401 | 1008 | invalid token |
Forbidden | 403 | - | authorization failed |
Timeout | 408 | - | Failed because of timeout |
Too Many Requests | 429 | - | Too many requests in a given amount of time ("rate limiting") |
Internal Server Error | 500 | - | system error, internal error handling request |
Is this page helpful for you?