Android google places API exceeded daily quota

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



Android google places API exceeded daily quota



I am creating android app and I have to implement maps and places so, I have created new google places API and when I send request using volley to get placeId from latitude and longitude I get error which says


"error_message":"You have exceeded your daily request quota for this API.","html_attributions":,"results":,"status":"OVER_QUERY_LIMIT"



But it is working fine on postman so, how can I fix this?



P.S. I am beginner so please correct me if there is any mistake in my process.
Thank you.




2 Answers
2



I believe Google's terms of service is restricting use of Place API from client application i.e your android app. I also have seen this in other question's comment. (As Troy Perales also has mentioned)



For tutorials or example for implementing Google API click here
and here. These are Codelabs examples on implementing Google Places API.enter code here
And here's Places Docs


enter code here



I hope this helps you.





Thank you for helping me out.
– DoeJ
Aug 13 at 7:24



When developing for Android, Google recommends using the Places SDK for Android (https://developers.google.com/places/android-sdk/intro) instead of the Places API (https://developers.google.com/places/web-service/intro) because it is free and has generous usage limits. See https://developers.google.com/places/android-sdk/usage.





thank you but this is new api just created how come it exceeded 2500 request? And as I have mentioned it is working fine on postman. I can't find way to get placeId from Places SDK for Android so I used Places API.
– DoeJ
Aug 13 at 3:08






There are a number of SO posts with your same experience: - [stackoverflow.com/questions/40570594/… - [stackoverflow.com/questions/34521700/… - [stackoverflow.com/questions/35195516/… Looks like Google is forcing the usage of the Android SDK. For Place ID, did you already try developers.google.com/android/reference/com/google/android/gms/… ?
– Troy Perales
Aug 13 at 3:15






I tried reading docs but couldn't understand if there is example then it would be great help.
– DoeJ
Aug 13 at 3:20





You were right that Google's terms of service is restricting this from being used in a client application (like in an android app).
– DoeJ
Aug 13 at 3:25






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

Creating a leaderboard in HTML/JS