ripple / rippled-historical-database

SQL database as a canonical source of historical data
99 stars 68 forks source link

Pagination Fails: "unable to retrieve transactions" #173

Closed codebru closed 6 years ago

codebru commented 6 years ago

Attempting to get all transactions for an address by starting with no marker, getting the marker from the returned data and using that marker in the next call, and then repeat, eventually leads in getting the error:

{
  'result' =>
  string(5) "error"
  'message' =>
  string(31) "unable to retrieve transactions"
}

It is my understanding from the docs that when the last page is reached, no marker is returned but have not reached this point.

Calls:
https://data.ripple.com/v2/accounts/r3kmLJN5D28dHuH8vZNUZpMC43pEHpaocV/transactions?
https://data.ripple.com/v2/accounts/r3kmLJN5D28dHuH8vZNUZpMC43pEHpaocV/transactions?&marker=r3kmLJN5D28dHuH8vZNUZpMC43pEHpaocV|20130108184250|000000062952|00000
https://data.ripple.com/v2/accounts/r3kmLJN5D28dHuH8vZNUZpMC43pEHpaocV/transactions?&marker=r3kmLJN5D28dHuH8vZNUZpMC43pEHpaocV|20130109222820|000000067984|00000
https://data.ripple.com/v2/accounts/r3kmLJN5D28dHuH8vZNUZpMC43pEHpaocV/transactions?&marker=r3kmLJN5D28dHuH8vZNUZpMC43pEHpaocV|20130111191530|000000076291|00000
https://data.ripple.com/v2/accounts/r3kmLJN5D28dHuH8vZNUZpMC43pEHpaocV/transactions?&marker=r3kmLJN5D28dHuH8vZNUZpMC43pEHpaocV|20130116232040|000000099506|00000

The 5th call above giving (every time):

array(2) {
  'result' =>
  string(5) "error"
  'message' =>
  string(31) "unable to retrieve transactions"
}

Variations attempted:

limit=4
descending=true
type=Payment

All failing also.

The address used is the example address in the API docs.

Help would be appreciated.

shekenahglory commented 6 years ago

There appears to be some issues with the data for transactions on 2013-01-18, We'll look at it and close the issue when its cleaned up

shekenahglory commented 6 years ago

you should be good now