Skip to content
This repository has been archived by the owner on Jan 18, 2019. It is now read-only.

Passing limit: -1 to an account_tx rpc call produces an "internal error" response #127

Open
nullstyle opened this issue Oct 3, 2014 · 0 comments

Comments

@nullstyle
Copy link
Contributor

Example output:

> curl -X POST https://live.stellar.org:9002 -d '
quote> {
quote>   "method": "account_tx",
quote>   "params": [
quote>     {
quote>       "account": "gEisv5HcJTbp6D1vxUdh5dPUrDGyuUxM4u",
quote>       "limit": -1
quote>     }
quote>   ]
quote> }'
{
   "result" : {
      "error" : "internal",
      "error_code" : 62,
      "error_message" : "Internal error.",
      "request" : {
         "account" : "gEisv5HcJTbp6D1vxUdh5dPUrDGyuUxM4u",
         "command" : "account_tx",
         "limit" : -1
      },
      "status" : "error"
   }
}

I would expect stellard to return a more descriptive error.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant