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 
<https://cloud.google.com/iam/reference/rest/> for this.

Cheers,

Nick
Cloud Platform Community Support

On Tuesday, March 28, 2017 at 5:34:52 PM UTC-4, Ulapph Corporation wrote:
>
> 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.
>
> https://cloud.google.com/appengine/docs/admin-api/?hl=en_US&_ga=1.265860687.1935695756.1490699302
>
> https://ulapph-public-1.appspot.com/articles?TYPE=ARTICLE&DOC_ID=3&SID=TDSARTL-3
>
> 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
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
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.

Reply via email to