We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clio returns malformedDocumentID whereas rippled returns entryNotFound with malformed oracle_document_id values in ledger_entry.
malformedDocumentID
entryNotFound
oracle_document_id
Clio error is more descriptive compare to rippled. Would like more thoughts on this.
None
decimal(1.2)
Request:
{ "method": "ledger_entry", "params" : [ { "oracle" : { "account": "rsbRFsph8AUY8zMNHfvLn9jxBxLKhgWc4j", "oracle_document_id": 1.2 }, "ledger_index": "validated" } ] }
Rippled response:
{ "result": { "error": "entryNotFound", "error_message": null, "ledger_hash": "A94D8AD4F72A40D3B491C756C9690AD516C1759D929ED08E43CAAF7BB62016B1", "ledger_index": 86953, "request": { "command": "ledger_entry", "ledger_index": "validated", "oracle": { "account": "rsbRFsph8AUY8zMNHfvLn9jxBxLKhgWc4j", "oracle_document_id": 1.2 } }, "status": "error", "validated": true } }
Clio response:
{ "result": { "error": "malformedDocumentID", "error_code": 5007, "error_message": "Malformed oracle_document_id.", "status": "error", "type": "response", "request": { "method": "ledger_entry", "params": [ { "oracle": { "account": "rsbRFsph8AUY8zMNHfvLn9jxBxLKhgWc4j", "oracle_document_id": 1.2E0 }, "ledger_index": "validated" } ] } }, "warnings": [ { "id": 2001, "message": "This is a clio server. clio only serves validated data. If you want to talk to rippled, include 'ledger_index':'current' in your request" } ] }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue Description
Clio returns
malformedDocumentID
whereas rippled returnsentryNotFound
with malformedoracle_document_id
values in ledger_entry.Clio error is more descriptive compare to rippled. Would like more thoughts on this.
Steps to Reproduce
oracle_document_id
value.None
,decimal(1.2)
Request:
Expected Result
Rippled response:
Actual Result
Clio response:
Environment
Supporting Files
The text was updated successfully, but these errors were encountered: