Hi all,
I was truing to create a service account using the google json api 
(https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts/create)

when i execute the command:
curl -X POST 
https://iam.googleapis.com/v1/projects/<my-project-id>/serviceAccounts 
\
  -H 'authorization: Bearer ya29........' \
  -H 'content-type: application/json' \
  -d '{
 "accountId": 
"<my-new-service-account>@<my-project-id>.iam.gserviceaccount.com"
}


I have this error and I can't really understand what's the problem:
{
    "error": {
        "code": 400,
        "message": "Request contains an invalid argument.",
        "status": "INVALID_ARGUMENT"
    }
}


anybody can help me? (ps is not an authorization problem)

Diego

-- 
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 google-appengine+unsubscr...@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/469e7b04-699e-4fbb-be04-293d4873fdc5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to