Common Errors

Check the list of common errors returned in the API responses from Razorpay and their solutions. Also, check the steps to view API errors.


View the list of common errors and their solutions below:

Error 1: The requested URL was not found on the server

Cause:

  • Incorrect API method while calling the API.
  • Feature required for the API call is not enabled on your account.

Solution:

  • Check and use the correct API method.
  • Contact our to enable the feature on your account.

Error 2: Access Denied

Cause: Whitelisted IPs on your account.

Solution: Contact our

to verify and confirm if any IPs are currently whitelisted on your account. If yes, remove the whitelisted IPs for both test and live modes.

Handy Tips

If you are using

, the error responses result in exceptions that need to be handled in your integration.

For API error codes, including their reasons, descriptions, and resolution steps, please refer to the respective endpoint page.

Example

To view the errors related to the Create an Order API:

  1. Go to the .
  2. Click the errors capsule. The list of errors is displayed.

Watch the short animation below on how to view API-related errors.

API Errors on respective endpoint page

Was this page helpful?


errors
api errors
common errors
requested url not found
access denied