From 2ecc554a3fa0eb35ef44fedbeb7423b09cbeb7ab Mon Sep 17 00:00:00 2001 From: mDuo13 Date: Mon, 20 Aug 2018 17:23:43 -0700 Subject: [PATCH] Update deposit_authorized method error messages Addresses changes implemented in https://github.com/ripple/rippled/pull/2642 - Missing fields result in `invalidParams` - Accounts not found in the ledger result in `{src/dst}ActNotFound` --- .../path-and-order-book-methods/deposit_authorized.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/references/rippled-api/public-rippled-methods/path-and-order-book-methods/deposit_authorized.md b/content/references/rippled-api/public-rippled-methods/path-and-order-book-methods/deposit_authorized.md index 10f181fd79..c4256b928c 100644 --- a/content/references/rippled-api/public-rippled-methods/path-and-order-book-methods/deposit_authorized.md +++ b/content/references/rippled-api/public-rippled-methods/path-and-order-book-methods/deposit_authorized.md @@ -134,8 +134,9 @@ The response follows the [standard format][], with a successful result containin * Any of the [universal error types][]. * `invalidParams` - One or more fields are specified incorrectly, or one or more required fields are missing. * `actMalformed` - An [Address][] specified in the `source_account` or `destination_account` field of the request was not properly formatted. (It may contain a typo or be the wrong length, causing a failed checksum.) -* `dstActMissing` - The `destination_account` field of the request does not correspond to an account in the ledger. +* `dstActNotFound` - The `destination_account` field of the request does not correspond to an account in the ledger. * `lgrNotFound` - The ledger specified by the `ledger_hash` or `ledger_index` does not exist, or it does exist but the server does not have it. +* `srcActNotFound` - The `source_account` field of the request does not correspond to an account in the ledger. {% include '_snippets/rippled_versions.md' %}