获取“提供的 API 密钥已过期".使用 Places API 时出错 [英] Getting "The provided API key is expired." error on using Places API

查看:27
本文介绍了获取“提供的 API 密钥已过期".使用 Places API 时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经从 Google 控制台为 Places API 密钥生成了服务器密钥.但是每当我点击服务时,我都会收到提供的 API 密钥已过期"错误.

I have generated Server key from Google console for Places API key. But whenever i am hitting the service i am getting " The provided API key is expired " error.

我尝试重新生成密钥,但仍然出现相同的错误.

I have tried regenerating the key but still got same error.

推荐答案

我也遇到了同样的问题...但最终得到了解决.Google 地方服务需要 10 分钟才能为创建的新 API 密钥提供服务.服务将在 10 分钟后开始工作,直到那时我们收到错误消息提供的 API 密钥已过期".

I have faced same issue... But finally got resolved. Google place services will take 10 minutes to make the services available for new API KEY created. Services will start working after 10 minutes, till then we get error as "The provided API key is expired."

这篇关于获取“提供的 API 密钥已过期".使用 Places API 时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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