Comments (4)
Hi Charles,
I just tried and it works fine for me.
Caller is not authorized to manage project.
This error means that the account used to authenticate the request (when running credentials = flow.run_console()
) doesn't have permission for the project selected above (cloud_project_id = ''
).
You can visit the IAM page in the Cloud Console to configure permissions. Check that the account has "Owner", "Editor" or "Android Management User" role and that the project ID in the URL matches the one used in the quickstart page.
Hope this helps,
Fred
from android-management-api-samples.
Thanks for responding. My account has all of those permissions (and more at this point). I have created multiple accounts now and multiple enterprises and keep running into the same problem.
The only thing that makes sense at this point is that somehow I have the wrong enterprise ID. Is there a way to get the correct enterprise ID for a google cloud account you are the owner/editor/administrator of? The values found in the menu are the wrong format (the api seems to want an alphanumeric value of a certain length?) and the page I found here appears to give me an ID of the correct format when logged in to the associated account, but the permissions are always denied:
https://play.google.com/work/adminsettings
from android-management-api-samples.
If you've lost the enterprise ID you can get it from https://play.google.com/work/adminsettings indeed. There is no other way to get it.
But if you create a new enterprise from the quickstart guide you shouldn't need to do that since the enterprise ID is returned when creating the enterprise.
from android-management-api-samples.
I have the same problem. However, the project and the internal app belongs to the user within the organisation. The enterprise ID is correct (taken from Google Play organisation information). I've granted the organisation user Android Management User, Editor, Owner, Organisation Administrator roles, but still get the same "Caller is not authorized to manage project." error.
Any ideas?
from android-management-api-samples.
Related Issues (5)
- Device boot looping HOT 4
- Device stuck in kiosk mode
- Auth erro HOT 1
- Error 400: invalid request HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-management-api-samples.