Google Maps: "This API project is not authorized to use this API." -


recently started coding google maps service integration. went ahead , generated api key associated business email account on bronze level. when use service sans api key works swimmingly.

if use api key parameter, api key generated in developer console error message:

this api project not authorized use api.

the url used access maps below:

https://maps.googleapis.com/maps/api/distancematrix/xml?origins={origin_address}&destinations={destination_addresses}&mode=driving&language=en-us&sensor=false&key={apikey} 

how 1 api key authorized v3 maps javascript api. making call raw post in aspx code behind address. seems me used work fine when first started this, today of sudden i'm getting error.

i need work since using places , service seems work api key. able have key configured once , done it.

you'll need enable each api want use.

the maps-javascript-api 1 api, distancematrix-api(webservice) another.

go developer-console->api's , enable distance matrix api

note: related distancematrix-webservice, when use distancematrix-service of javascript-api don't need enable service.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -