Google cloud datastore API cannot find project whe

2020-02-15 05:20发布

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:

error 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条回答
Deceive 欺骗
2楼-- · 2020-02-15 05:54

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.

查看更多
登录 后发表回答