Error codes
When Ripple Payments encounters a problem, a Ripple service returns a custom error code indicating the error category and its associated message in JSON format. Each Ripple service returns its own set of error codes.
For a list of error codes returned by each Ripple service, see the following: