Widget Errors

Widget errors

The Okra Widget returns errors both on the front-end, and via the onError callback. Check out the Widget events for more details about the onError event.

List of errors

Error CodeMethodMessage
INVALID_REQUEST
1000
ValidationValidation failed, please confirm credentials and try again.
ERROR CODE
1002
Transactions Fetch ErrorUnable to fetch transactions. Please try again.
ERROR CODE
1003
Balance Fetch ErrorUnable to fetch balance. Please try again.
ERROR CODE
1004
No PlanVisit the Plans page to select a plan.
ERROR CODE
1005
Wallet Insufficient CreditsVisit the Wallet page to top-up your wallet.
ERROR CODE
1006
Invalid API credentialsPlease visit the API keys page to get your API credentials
ERROR CODE
1007
Plan expired, or Free Calls ExhaustedYou can check and upgrade your plan here.

If you have used up the available 100 free calls in your plan, top-up your wallet here.
ERROR CODE
1008
Data ExtractionData fetched was not available on selected Bank - Please Retry.
ERROR CODE
1009
ValidationValidation error, please confirm credentials and try again.
ERROR CODE
1010
Invalid TokenYou entered invalid token credentials, please check your token and try again.
ERROR CODE
1011
Invalid Security QuestionYou entered an invalid secret question answer, please try again.
ERROR CODE
1012
Process KilledYour session was terminated due to inactivity, please retry.
ERROR CODE
1013
Insufficient Credits - Direct DebitThere are insufficient credits in this account to make this debit.
ERROR CODE
1026
SLA ErrorYou are yet to sign your SLA, please reach out to the Sales team for help.

Sample error response

{
  "type": "error",
  "status": false,
  "code": 1013,
  "method": "Insufficient Credits - Direct Debit",
  "message": "There are insufficient credits in this account to make this debit."
}