xrpl-dev-portal icon indicating copy to clipboard operation
xrpl-dev-portal copied to clipboard

Update documentation for ledger_entry Request

Open ckeshava opened this issue 1 year ago • 1 comments
trafficstars

  1. The documentation does not mention "unexpectedLedgerType" error under the "Possible Errors" section. Here are examples of this error from the unit tests. This is the corresponding source code for the origin of the error message.
  2. In case of parsing failures, API v1 returns a generic throw whereas API v2 returns invalidParams error. This recent change is coded here This difference in the behavior between v1 and v2 might need to specified in the docs page.

ckeshava avatar Sep 03 '24 23:09 ckeshava

Under the "Possible Errors" section, "malformedDocumentID" needs to be documented. This error is returned for incorrectly specified Oracle ledger objects. This is the source code responsible for that error.

ckeshava avatar Sep 09 '24 19:09 ckeshava