Google cloud datastore API cannot find project when App Engine application is disabled

元气小坏坏 提交于 2019-12-18 09:34:21

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/36560659/google-cloud-datastore-api-cannot-find-project-when-app-engine-application-is-di

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!