curl 'https://lemmy.world/api/v3/community/list?type_=Local&sort=Old&limit=1&page=250000&show_nsfw=true'

Returns a result for page 250,000 - and if you edit that number +1 it still returns the same final item in the list. Does this on all the sorts I tried. I am not getting this behavior on lemm.ee or lemmy.ml

With page limit at 50, it ends up returning the final same list of 50 no matter what page number you increment past the final page. This could be causing some front-end apps to endlessly load the list.

the lemmy-ui interface seems to be having the same problem: https://lemmy.world/communities?listingType=Local&page=250001

    • freamon@endlesstalk.org
      link
      fedilink
      English
      arrow-up
      7
      ·
      2 years ago

      I am not getting this behavior on lemm.ee or lemmy.ml

      To quote OP. I also tried it on feddit.nl (which is running 0.18.3), which returns an empty array, as you’d expect. On lemmy-world, the result you get for page 250000 is the same result you get for page 1 (the Fediverse community)

    • BitOneZero @ .worldOP
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      it’s exclusive problem to lemmy.world’s DDOS prevention attempts as far as I know, so no idea.

      • ieightpi
        link
        fedilink
        arrow-up
        2
        ·
        2 years ago

        oh yikes. well who knows when we will be able to get lemmy.world back on lemmyverse then. shame.

        • BitOneZero @ .worldOP
          link
          fedilink
          arrow-up
          2
          ·
          2 years ago

          shame.

          Yha, I feel it too. I wish the code were able to cope with some internal performance problems, but so far it isn’t there. Have a good day.