Firebase功能在调用Google Maps API时,“外部网络无法访问且配额受到严重限制”

时间:2018-01-09 13:06:02

标签: firebase google-cloud-functions

我有一个Firebase功能向Google API https://maps.googleapis.com/maps/api/directions/json发出请求,因为它是Google API,因此应该允许在Spark API计划中使用。

但在日志中它说:

Billing account not configured. External network is not accessible and 
quotas are severely limited. Configure billing account to remove these 
restrictions

我发现这很奇怪,因为Spark计划有关于云功能的注释:

The Spark plan allows outbound network requests only to Google-owned 
services. Inbound invocation requests are allowed within the quota. 

这里的问题是:“这是一个常见问题,还是我在这里遗漏了什么?”

0 个答案:

没有答案