In this video i have shown how you can solve the below error,
1 2 3 4 5 |
{ "error_message" : "This API project is not authorized to use this API.", "results" : [], "status" : "REQUEST_DENIED" } |
1. The documentation for the above request and response is available here,
https://developers.google.com/maps/documentation/geocoding/start?hl=en
2. To solve this issue, Click on the YOUR_API_KEY as shown below
3. Select appropriate project, If no project is created. You can create one.
4. Now navigate to google developer console site,
https://console.developers.google.com/
and then select the same project as shown below.
5. Now search for Geocoding API as shown,
6. Now click on enable,
7. Thats all, Your http request should be working now.