Error Codes

There are types of error codes that is sent from SDK to the application. One being the error code that is sent from Cashfree's Backend service when order initiation fails. Visit here for details about such error codes.

The other type of error codes are the ones that are exposed by the SDK when required data is not sent to the SDK when initiating the payment. These are thrown as error.

The following are some of the error codes that are exposed by the SDK:

ERROR CODESMESSAGE
MISSING_CALLBACKThe callback is missing in the request.
ORDER_ID_MISSINGThe "order_id" is missing in the request.
SESSION_OBJECT_MISSINGThe "session" is missing in the request
PAYMENT_OBJECT_MISSINGThe "payment" is missing in the request
ENVIRONMENT_MISSINGThe "environment" is missing in the request.
ORDER_TOKEN_MISSINGThe "order_token" is missing in the request.

Experience the all-new Cashfree Payments Docs! Faster, smarter, and easier to navigate. Check it out here!🎉