Reputation: 3868
I'm trying to run runQuery REST method from an Android App. The query runs and returns correct results if I log-in using a project owner account. If I login using a non-project owner account, I'm getting a PERMISSION_DENIED response:
{
"error": {
"errors": [
{
"domain": "global",
"reason": "PERMISSION_DENIED",
"message": "Unauthorized."
}
],
"code": 403,
"message": "Unauthorized."
}
}
My goal is to be able to run queries as non-project owner. Is it possible?
Thank you!
Upvotes: 0
Views: 55
Reputation: 2927
The Cloud Datastore API currently requires the caller to be in one of the admin roles on the project.
Upvotes: 1