falling back to ripple-lib api call for bad ledgers