vrchatapi / vrchatapi.github.io

✨ VRChat API Documentation - A Community-Driven API documentation project.
https://vrchatapi.github.io
MIT License
218 stars 43 forks source link

Clarify upper limit to number of results #13

Closed hakanai closed 6 years ago

hakanai commented 6 years ago

You get a 400 error with no useful explanation if n > 100.

ScruffyRules commented 6 years ago

It does return a useful message though, it says to use Paging.

hakanai commented 6 years ago

Ah, hmm. The library I was using only gave me a very nondescript 400 error.

If I use a browser, I do get this:

{"error":{"message":"Validation failed","data":["n=10000 is much too high. implement paging you savages."],"status_code":400}}

But I wouldn't exactly call this useful, because it doesn't even tell me the acceptable maximum.