this post was submitted on 15 Dec 2025
8 points (100.0% liked)

Summit

1264 readers
18 users here now

Community to discuss Summit, an open-source Lemmy reader for Android.

App (Play Store): https://play.google.com/store/apps/details?id=com.idunnololz.summit

APK: https://github.com/idunnololz/summit-for-lemmy/releases

Source: https://github.com/idunnololz/summit

Support the app

Support me on Patreon

Website: https://summit.idunnololz.com/

founded 2 years ago
MODERATORS
 

Usually when I reach the end of the feed, it just loads more. But recently, I started getting a bad request error instead. Not every time I reach the end, but once I get it it doesn't go away when I tap on retry.

Is anyone else seeing this happening? Is there anything I can do to fix it?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] idunnololz@lemmy.world 3 points 2 months ago (1 children)

Sorry for the late update, just got back from break. I think I posted this somewhere else but I'll re-iterate here as well. Basically this is a limitation on the server side when page indices are used instead of cursors. I specifically chose to implement Summit using page indicies instead of cursors because (1) page indices are more feature rich and (2) it results in cleaner and more maintainable code on the client. Cursors has several limitations such as the inability to go to the previous page. Lemmy is also very inconsistent as many endpoints only support page indicies and not cursors. This means that if I were to support cursors I would have to write two different pagination implementations.

That being said, due to the issue of servers now limiting the max page index to a low number like 10, I will likely be forced to implement cursors on the client. I'll work to implement this for the next release since this is a pretty big issue.

[โ€“] theOneTrueSpoon@feddit.uk 3 points 2 months ago

Sorry it's such a complicated issue. You're an absolute hero for looking into it though!