2
votes

I am trying to backup some entities from my Java app to cloudstore via the Datastore Admin and running into some issues.

I enabled Datastore Admin and added the google service account id of my app ([email protected]) to the cloud storage bucket "team" as a developer, as described here (5.e).

I see the invitation as "pending" on the bucket "team" (screenshot of the app-engine dashboard) but I have no idea how to accept the invitation or if this is automatic and I just have to wait.

When I try to backup to my cloudstore bucket [gs/my_bucket/my_folder] I get Bucket "my_bucket" is not accessible (same error I get if I try random bucket names).

I am using the same account (owner on everything) to do all the above.

Any help appreciated!

EDIT:

I was creating the project via the Google Cloud Console, which was causing (apparently a bug) my project to be created as an app-engine app, so whenever I clicked on 'team' from the Google APIs console I was redirected to the AppEngine dashboard permission tab.

If I create the project from the Google APIs console then everything works ok, and I am able to add permissions without being redirected to an AppEngine dashboard.

2

2 Answers

4
votes

Based on your screenshot of the project creation step, it looks like you created your project via http://cloud.google.com/console. I suspect there's a problem with that path -- I'd suggest trying to create your project via http://code.google.com/apis/console and seeing if that works better. If you let me know the result of that experiment, I can file a bug report.

2
votes

EDIT: The problem here seems to be that there strange behaviour when creating a API Project from http://cloud.google.com/products/cloud-storage rather than in the API console.

Previous answer:

My reading of the 5.e you link to is that you're supposed to add the service account name of your app to the API project (in the Google API Console) not the App Engine project. I don't think it should be a developer of your App Engine app.

That is, you've added your App Engine app as a developer to your App Engine app. Instead, you want to add it as a member of your API project (which includes the cloud storage access).