Missing organizations in the UI
I can only see the first 12 orgs on which I'm authorized whereas I'm authorized on 25.
There is a bug in the API since https://next-api.stoplight.io/orgs?page=1&per_page=25 only responds with 12 orgs instead of 25.
Cause : the per_page arg is curiously handled :
- per_page=5 : 4 orgs in the response
- per_page=25 : 12 orgs in the response
- per_page=40 : 23 orgs in the response
- per_page=4 : 23 orgs in the response
Solution (in my case) : remove "page=1&per_page=25" from the url because there is no paging system.
Hey @ntiss - I'm having a bit of trouble replicating this right now. You are seeing this on the hosted version of Stoplight, right? Just wanted to make sure it wasn't on premise.
When I do that request, I see:
Hi Taylor, Yes I'm on the hosted version. Both with the desktop app and via a browser.
@ntiss Okay, and just to make sure this is when you do the request to https://next-api.stoplight.io/orgs?page=1&per_page=25? Not just in the UI like the issue title says.
Fixed, successfully tested in 4.6.5. Many thanks.
Hi everyone,
I reopen the case. This issue is back with your latest release 4.9.0. I can see only 10 orgs instead of 25. BR.
@ntiss is it only happening for orgs, or does it happen for people again too?
Hi @tbarn I confirm, it's only for the orgs. Everything is ok for the users. This time, it's a bug only in the UI because the API responses contains 25 orgs