“error_message” : “This service requires an API key.”

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



“error_message” : “This service requires an API key.”



I am working on an android project that uses Google Maps API and Google Places API. The purpose is to show all nearby services available e.g. when I will click on 'hospital', it will show all nearby hospitals from the current location.
The problem is it's showing current location perfectly but when I go for a particular result e.g for nearby schools. It's showing following result on the Logcat:



"error_message" : "This service requires an API key.",
"html_attributions" : ,
"results" : ,
"status" : "REQUEST_DENIED"









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

How to determine optimal route across keyboard