You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying out the library for making nearby search requests lately and overall it works great. I am having a timing issue that I haven't been able to clear up, namely that I keep getting InvalidRequestExceptions on my nearbySearchNextPage() calls following my initial nearbySearchQuery() call. If I add a Thread.sleep() before the nearbySearchQuery call then I don't see the error, which is what makes me think it's a rate limiting issue of some kind. I'm on version 0.2.1
It doesn't seem to be on Google's end because I don't see any errors in the API console.
Manually setting the rate limit very low or high with queryRateLimit() also doesn't help.
Any hints on what I'm doing wrong would be helpful. Thanks!
I've been trying out the library for making nearby search requests lately and overall it works great. I am having a timing issue that I haven't been able to clear up, namely that I keep getting
InvalidRequestExceptions
on mynearbySearchNextPage()
calls following my initialnearbySearchQuery()
call. If I add aThread.sleep()
before thenearbySearchQuery
call then I don't see the error, which is what makes me think it's a rate limiting issue of some kind. I'm on version 0.2.1It doesn't seem to be on Google's end because I don't see any errors in the API console.
Manually setting the rate limit very low or high with
queryRateLimit()
also doesn't help.Any hints on what I'm doing wrong would be helpful. Thanks!
Sample code:
The text was updated successfully, but these errors were encountered: