Taiga: Invalid page value issue.

Created on 5 May 2017  路  15Comments  路  Source: erengy/taiga

Hello. I've received an issue when I attempt to resync my list from Kitsu and it gives me the following issue.
"Invalid Page Value: Limit exceeds maximum page size of 500."

I am using the alpha build. Issue is on both Windows 7 Pro and Windows 10 Home (both 64Bit).

If there is any other information needed, simply let me know and I'll post as soon as I can.

kitsu

Most helpful comment

I have some pagination code stashed in my local repository, from the time when @wopian first complained about the issue with large libraries. I'll try and see if it still works.

All 15 comments

I'm getting the same error message now. It seems to be caused by a recent change on the server, namely hummingbird-me/hummingbird-server@e49958c72bf7b65897b24109d6c30058f672a469. /cc @NuckChorris

Taiga tries to retrieve the entire library in a single request by setting the page limit to 100000. Using pagination doesn't make sense for Taiga, but I'll do that if I have to.

Doesn't the setting in Taiga "Download only a partial library" do anything anymore?

And thank you for tagging it correctly.

Large limits will cause the server to 503 - i.e a little over 2000 = 馃拃

Doesn't the setting in Taiga "Download only a partial library" do anything anymore?

It still works, or at least supposed to. But that option is, for the most part, unrelated to this issue. When it's enabled, Taiga requests only the most recent library entries when possible, using filter[since]. This issue, on the other hand, is related to the page[limit] of the results. Basically, Taiga asks for everything, but Kitsu says "I can't give you more than 500 at once".

It still works, or at least supposed to. But that option is, for the most part, unrelated to this issue. When it's enabled, Taiga requests only the most recent library entries when possible, using filter[since]. This issue, on the other hand, is related to the page[limit] of the results. Basically, Taiga asks for everything, but Kitsu says "I can't give you more than 500 at once".

So RIP to those who have a library larger than 500 for now...

My total anime count is 976 (if the Statistics is correct) so I definitely have over 500 entries in my anime library.

The issue for me and erengy has started earlier today. I haven't had the issue until today.

The solution (& ideal way) is to just chain requests, i.e page[limit]=500&page[offset]=0 -> page[limit]=500&page[offset]=500 until there's no links: { next: '' }

The current method of setting a limit of 100000 would already have been an issue for anyone with > 2000 library entries anyway - so I've been stuck with using the partial library option since the days of Hummingbird 馃槩

I have some pagination code stashed in my local repository, from the time when @wopian first complained about the issue with large libraries. I'll try and see if it still works.

If you're having this issue, please re-download the latest build and try it out.


Let's keep this issue open for a while, so that more people can see it.

I just tried the latest build and I get to downloading list with size next to it before it crashes. Nothing shows up in the log file.

@lunyx That's due to a different issue in Kitsu's database. Specifically, the server returns an invalid value for the synonyms of Detective Conan (and perhaps for some other series too). I reported it to Kitsu devs and added a countermeasure in ca3c916734b8513658a4486323ab4a789e580612 now. Re-downloading the latest build should fix the issue for you.

@erengy I only put it here because this was the original issue I was trying to fix and the error occurred as part of downloading the recommended build here. Thanks for the fix, I'll check it tonight.

@erengy I'm having the same issue that lunyx had, once taiga starts to sync the Kitsu anime list it just crashes.

Edit: Note, I don't have Detective Conan in any of my lists.

@Kusaha Yours seems to be another issue related to R18 media being hidden. I'll report it to Kitsu devs now. In the meantime, you can go to your Profile and select Show Adult Content option to avoid the crash.


This is now fixed thanks to @matthewdias.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Sivarius picture Sivarius  路  7Comments

mnh48 picture mnh48  路  4Comments

kempol181 picture kempol181  路  5Comments

erengy picture erengy  路  7Comments

Cephel picture Cephel  路  3Comments