Request Not Authorized or Over Querylimit' - Googlelocationservice

Asked

Viewed 295 times

1

Follows code:

var locationService = new GoogleLocationService();
var point = locationService.GetLatLongFromAddress("Rua Osasco - Amador Bueno, Itapevi - SP, Brasil");

Error:

System.Net.Webexception: 'Request Not Authorized or Over Querylimit'

This above error occurs in the second row if I return the breakpoint on the line : var locationService = new GoogleLocationService(); and then go all the way, it’s okay. I don’t know why you’re generating this problem. Any solution ?

  • 2

    According to this post: https://stackoverflow.com/a/14014513/4312593, there is a limitation of requests

  • Can anyone tell me what the limit is ?

  • 2

    1000 requests per day if you are not registered, 150,000 per day if you are registered. Source: https://developers.google.com/places/web-service/usage?hl=pt-br

  • 1

    This information consumes from a webservice. If you make the request anonymously, you are entitled to a few thousand queries per day. If you provide credentials, even free credentials give you guess tens of thousands of requests.

  • Thanks guys, it helped a lot.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.