Closed matthewmayer closed 1 year ago
There's no guarantees for all IDs to exist, please use the list endpoints documented on picsum.photos if you want a full list.
In the future, please look for duplicate issues in a repository before opening new ones, this question has been asked and answered several times before.
Does the list of valid id ever change? Would it be acceptable to download the list of valid ids from the list endpoint and cache that?
I think you could consider adding a note to the documentation that not all ids are valid, as the first "gap" is at 86 and the list of photos paginates 30 at a time a casual browser is likely to think all numbers are valid.
https://picsum.photos/id/725/640/480
Any idea why? Are there any other missing images between 1...1000?