I have seen TotalPages come back as zero, and so I can compute it by dividing the per-page and the total-entries. But here, the total-entries is coming back as 20 which is the same as the "per-page". The name of the response is "9000+ mixes with tracks by "Beck"" which makes me think the total-entries should be over 9000, not 20.
The null value for total-pages actually caused a parsing error in my code. I have not encountered null for total-pages before. Is there any type of document that spells out which numerical values may be null in the various responses? This definately does not happen on every response, so I don't know how many user's are affect.
Thanks!
Paul
Hi Paul, thanks for reporting this issue.
I reproduced it right away and indeed there is a strange bug. I wrote
a hack around it for now and you should get something like :
<total-entries>9387</total-entries>
<page>1</page>
<per-page>20</per-page>
<next-page>2</next-page>
<previous-page nil="true"/>
<total-pages>470</total-pages>
And sorry but we don't have a document spec'ing out our responses,
it's all about trial and error around here.