Error
Error codes and error response structure
Sample Error Response
{ "id": "E001", "code": "RESOURCE_NOT_FOUND", "message": "Requested resource is not found", "requestId": "req_12345", "debugMessage": "No resource found with the given ID", "subErrors": [ { "fieldName": "resourceId", "message": "Resource ID is invalid", "debugMessage": "Resource ID 404 not found in the database" } ]}Error IDs
Brand Errors
- E100: Brand is temporarily disabled owing to failures.
- E101: Brand is not enabled for you, please contact support.
- E102: Brand is not active.
Order Validation Errors
- E150: This denomination is not available for this brand.
- E151: Order amount doesn’t match the denomination amount.
- E152: Maximum denomination limit exceeded.
- E153: Maximum number of denominations exceeded.
- E154: Maximum number of vouchers per denomination exceeded.
- E155: Voucher amount not within the allowed range.
- E156: Max voucher count per order exceeded.
- E157: Invalid denominations sent.
- E158: Denomination is out of stock.
- E159: Only single denomination allowed per order.
- E160: Order already exists for reference id.
Voucher Generation Errors
- E200: Voucher generation failed, please contact support.
- E201: Provider polling failed, please contact support.
- E202: Order cancellation failed, order is already in terminal state.
- E203: Order cancellation failed, order cant be cancelled before cutoff time
Partner Errors
- E300: Insufficient wallet balance.
- E301: Wallet balance is inconsistent, please contact admin.
- E302: This resource is not available.
- E303: This feature is not available.
Limit errors
- E400: Brand is temporarily unavailable, please try again later.