m2pfintech
Error Reference

API Error Codes

Error codes organized by service — Customer Service, Config Service, CMS, CBS Connector, Auth Service, OTP Manager, and Fee Posting.

Error codes are prefixed or scoped by the originating service. Use the tabs below to find error codes for each service.


Error CodeDescription
invalid.input.requestRequired field missing or invalid format
entity.already.existsEntity ID already registered
entity.not.foundNo customer found for given entity ID
kit.not.foundKit number not found in inventory
invalid.kit.infoKit expired, already assigned, or invalid
card.not.foundNo card found for given entity/kit
card.already.activeCard activation attempted on active card
card.already.blockedBlock attempted on already-blocked card
card.already.closedOperation attempted on closed card
card.status.activeOperation not allowed for current card status
pin.already.setPIN already configured for this card
invalid.pinPIN validation failed
pin.lockedPIN locked due to exceeded retry attempts
invalid.otpOTP validation failed
otp.expiredOTP has expired
invalid.source.accountAccount not valid for this customer
invalid.daily.limit.productRequested limit exceeds product maximum
product.level.disableFeature not enabled at product level
Error CodeDescription
tenant.already.existsTenant already registered
tenant.not.foundTenant not found
product.already.existsProduct name already taken for this tenant
product.not.foundProduct not found
bin.already.existsBIN range already configured
bin.not.foundBIN range not found
tier.already.existsTier name already exists
tier.not.foundTier not found
scheme.already.existsScheme code already exists
scheme.not.foundScheme code not found
plastic.already.existsPlastic code already exists
plastic.not.foundPlastic code not found
invalid.product.configProduct configuration validation failed
invalid.bin.rangeBIN range overlaps with existing range
Error CodeDescription
cms.customer.not.foundCustomer not found in CMS
cms.card.not.foundCard not found in CMS
cms.invalid.requestInvalid request to CMS
cms.processing.errorCMS processing failure
cms.timeoutCMS response timeout
cms.embossing.errorCard embossing failure
cms.inventory.exhaustedNo available kits in inventory
Error CodeDescription
cbs.connection.failedUnable to connect to CBS
cbs.timeoutCBS response timeout
cbs.invalid.accountAccount not found in CBS
cbs.insufficient.balanceInsufficient account balance
cbs.account.frozenAccount is frozen in CBS
cbs.debit.failedDebit posting failed
cbs.credit.failedCredit posting failed
cbs.invalid.responseUnexpected response from CBS
Error CodeDescription
auth.invalid.credentialsInvalid username or password
auth.token.expiredJWT token has expired
auth.token.invalidJWT token is malformed or tampered
auth.insufficient.permissionsUser lacks required permission
auth.tenant.mismatchTenant header does not match token tenant
auth.rate.limit.exceededToo many authentication attempts
auth.account.lockedUser account locked due to failed attempts
Error CodeDescription
otp.generation.failedOTP generation failure
otp.expiredOTP has expired
otp.invalidOTP does not match
otp.max.retriesMaximum validation attempts exceeded
otp.cooldownToo many requests — wait before retrying
otp.delivery.failedOTP delivery via SMS/email failed
Error CodeDescription
fee.posting.failedFee posting to CBS failed
fee.already.postedFee already posted (duplicate)
fee.config.not.foundFee configuration missing for this product
fee.invalid.amountFee amount validation failed
fee.gst.calculation.errorGST calculation error
fee.reversal.failedFee reversal failed
fee.account.not.foundFee GL account not configured