此API项目无权使用此API。请确保在API控制台中激活此API [英] This API project is not authorized to use this API. Please ensure that this API is activated in the APIs Console

查看:2397
本文介绍了此API项目无权使用此API。请确保在API控制台中激活此API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个纬度和经度: - 27.0000,133.0000。我想制作一个基于此的地图。



我试过去这个链接

https://地图。 googleapis.com/maps/api/geocode/json?latlng=-27.0000,133.0000&key= ******



我一直在浏览器上发现这个错误。

  {
error_message:这个API项目没有被授权使用请确保此API已在API控制台中激活:了解详情:https://code.google.com/apis/console,
results:[],
status :REQUEST_DENIED
}

但我想我已经启用了该API。我登录到我的Google控制台,然后仔细检查。



当我转到: https://console.developers.google.com / project / 75423435770063 / apiui / apis / enabled



我看到:

地理编码+地理定位功能已启用。



我现在有点卡住了。我在这里错过了什么吗?

解决方案

从您发布的图片中可以看到它已被禁用...

请前往开发人员控制台 - > APIs& auth - > API



搜索地理编码并点击Google地图地理编码API - >启用API。为地理定位


做同样的事情

I have a latitude, and longitude : "-27.0000,133.0000". I want produce a map base on that.

I've tried go to this link

https://maps.googleapis.com/maps/api/geocode/json?latlng=-27.0000,133.0000&key=******

I keep getting this error on the browser

{
   "error_message" : "This API project is not authorized to use this API. Please ensure that this API is activated in the APIs Console: Learn more: https://code.google.com/apis/console",
   "results" : [],
   "status" : "REQUEST_DENIED"
}

But I think I already enable that API. I log-in to my Google Console, and double check.

When I go to : https://console.developers.google.com/project/75423435770063/apiui/apis/enabled

I see :

Geocoding + Geolocating is enable.

I'm a little stuck now. Is there anything that I missed here?

解决方案

From the picture you posted, it say it's disabled...

Go to Developer Console -> APIs & auth -> APIs

Search for Geocoding and click on Google Maps Geocoding API -> Enable API. Do the same thing for Geolocating

这篇关于此API项目无权使用此API。请确保在API控制台中激活此API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆