App Engine Admin API Error - The "appengine.applications.create" permission is required.

923 views
Skip to first unread message

Ulapph Corporation

unread,
Mar 28, 2017, 5:34:52 PM3/28/17
to Google App Engine
Hi,

We would like to automatically create a project ID and install our ULAPPH Cloud Desktop application using the App Engine Admin API (REST) and Golang.

We were able to get a token but when we tried to create a project ID, we get the error below.

[Response OK] Successful connection to Appengine Admin API.
[Token] { "access_token" : "TOKEN_HERE", "expires_in" : 3599, "token_type" : "Bearer" }
[Response Code] 403
[Response Body] { "error": { "code": 403, "message": "Operation not allowed", "status": "PERMISSION_DENIED", "details": [ { "@type": "type.googleapis.com/google.rpc.ResourceInfo", "resourceType": "gae.api", "description": "The \"appengine.applications.create\" permission is required." } ] } }

We are just using the REST API calls. Request for token was successful as you can see above and the scope is ok as well. Now, when we posted the request to create application, we are having the error that says "appengine.application.create" permission required. 

How do we specify the permission? What are the possible reasons why we are getting that error? Do we missed to send a field in JSON or in query?

As per below link, we just need to pass the json containing the id and location. We also just need to pass the token. The same logic I have used successfully in accessing Youtube, Drive APIs so not sure what needs to be done since I have followed the docs available.

Best Regards,
ULAPPH

Nick (Cloud Platform Support)

unread,
Mar 29, 2017, 3:08:48 PM3/29/17
to Google App Engine
Hey Ulapph,

This forum is not meant for technical support requests, and should be used instead for general discussions of the platform and services. Your question seems perfect for posting to stackoverflow.com, where we also monitor various tags officially sponsored by Google Cloud Platform.

Feel free to post a link to your question in this thread once you've posted to Stack Overflow, and I'll be happy to assist in the proper forum. 

I can give this small piece of advice before then, however: it seems you've given no details about how you set up the account you're using to authorize the request. You'll need to make sure the appengine.applications.create permission is given to the account you're using, as mentioned in the error text. You can use the Google Identity and Access Management (IAM) API for this.

Cheers,

Nick
Cloud Platform Community Support

Ulapph Corporation

unread,
Mar 29, 2017, 3:54:06 PM3/29/17
to google-a...@googlegroups.com

--
You received this message because you are subscribed to a topic in the Google Groups "Google App Engine" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/DvXFJBeVC5w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/06298cee-b3db-4557-80b7-622c5e5118e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Best Regards,

ULAPPH Corporation

Nick (Cloud Platform Support)

unread,
Mar 29, 2017, 4:12:36 PM3/29/17
to Google App Engine
Hey Ulapph,

Great, I've posted an answer to your question there (although you'll notice I'd also posted it here).


Cheers,

Nick
Cloud Platform Community Support

On Wednesday, March 29, 2017 at 3:54:06 PM UTC-4, Ulapph Corporation wrote:
Reply all
Reply to author
Forward
0 new messages