当App Engine应用程序被禁用时,Google云数据存储API无法找到项目 [英] Google cloud datastore API cannot find project when App Engine application is disabled

查看:124
本文介绍了当App Engine应用程序被禁用时,Google云数据存储API无法找到项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



在禁用我的App Engine应用程序(目前对我没有用处)后,我试图连接并从Google Cloud Datastore API获取数据。 ,我无法访问任何GC数据存储API方法。



当我发送我的请求时,我总是得到以下响应:

  {[Error:The project [my-project] does not exist。] code:404,metadata:Metadata {_internal_repr:{}​​}} 

我已经仔细检查了这一点,并且我的项目名称正确。



访问谷歌云控制台,我注意到数据存储仪表板也显示相同的消息:




$ b

$ b

我知道GC Datastore最初是为了与App Engine合作而创建的,但自去年以来,它应该到处可用(符合这个)。

<有人对这个问题有提示吗?任何帮助,将不胜感激。
Thanks。

解决方案

Google云数据存储API目前要求关联的App Engine应用程序不被禁用。 p>

我已将 https: //github.com/GoogleCloudPlatform/google-cloud-datastore/issues/107 进行跟踪。这是我们未来可能解决的问题。


I'm trying to connect and get data from Google Cloud Datastore API.

After disabling my App Engine Application (which have no use for me at the moment), I cannot access any GC Datastore API methods.

When I send my request, I always get the following response:

{ [Error: The project [my-project] does not exist.] code: 404, metadata: Metadata { _internal_repr: {} } }

I've already double-checked this and my project name is correct.

Accessing the google cloud console, I noticed that the datastore dashboard also show the same message:

Then, after enabling the app engine application again, everything works.

I know that GC Datastore was initially created to work with App Engine, but since last year it was supposed to be available everywhere (according to this).

Someone have a tip about this issue? Any help would be appreciated. Thanks.

解决方案

The Google Cloud Datastore API currently requires that the associated App Engine application not be disabled.

I've filed https://github.com/GoogleCloudPlatform/google-cloud-datastore/issues/107 to track this. It's something we may be able to fix in the future.

这篇关于当App Engine应用程序被禁用时,Google云数据存储API无法找到项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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