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
Because authorized uses AccountBase58Validator and a lot of RPC fields calls this validator, it is not easy to change. Request:
authorized
AccountBase58Validator
{ "method": "ledger_entry", "params": [ { "deposit_preauth" : { "owner": "rJ7ywemHxbCkGNskVXs8oWciSL77Nnn7d", "authorized": 123 } } ] }
rippled response: { "result": { "error": "malformedRequest", "ledger_current_index": 3, "request": { "command": "ledger_entry", "deposit_preauth": { "authorized": 123, "owner": "rJ7ywemHxbCkGNskVXs8oWciSL77Nnn7d" } }, "status": "error", "validated": false } }
{ "result": { "error": "malformedRequest", "ledger_current_index": 3, "request": { "command": "ledger_entry", "deposit_preauth": { "authorized": 123, "owner": "rJ7ywemHxbCkGNskVXs8oWciSL77Nnn7d" } }, "status": "error", "validated": false } }
Clio response: { "result": { "error": "invalidParams", "error_code": 31, "error_message": "authorizedNotString", "status": "error", "type": "response", "request": { "method": "ledger_entry", "params": [ { "deposit_preauth": { "owner": "rJ7ywemHxbCkGNskVXs8oWciSL77Nnn7d", "authorized": 123 } } ] } }, "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" }, { "id": 2002, "message": "This server may be out of date" } ] }
{ "result": { "error": "invalidParams", "error_code": 31, "error_message": "authorizedNotString", "status": "error", "type": "response", "request": { "method": "ledger_entry", "params": [ { "deposit_preauth": { "owner": "rJ7ywemHxbCkGNskVXs8oWciSL77Nnn7d", "authorized": 123 } } ] } }, "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" }, { "id": 2002, "message": "This server may be out of date" } ] }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Because
authorized
usesAccountBase58Validator
and a lot of RPC fields calls this validator, it is not easy to change.Request:
rippled response:
{ "result": { "error": "malformedRequest", "ledger_current_index": 3, "request": { "command": "ledger_entry", "deposit_preauth": { "authorized": 123, "owner": "rJ7ywemHxbCkGNskVXs8oWciSL77Nnn7d" } }, "status": "error", "validated": false } }
Clio response:
{ "result": { "error": "invalidParams", "error_code": 31, "error_message": "authorizedNotString", "status": "error", "type": "response", "request": { "method": "ledger_entry", "params": [ { "deposit_preauth": { "owner": "rJ7ywemHxbCkGNskVXs8oWciSL77Nnn7d", "authorized": 123 } } ] } }, "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" }, { "id": 2002, "message": "This server may be out of date" } ] }
The text was updated successfully, but these errors were encountered: