Reputation: 2331
When I am creating a Google Cloud Dataproc cluster I am getting an error 403 PERMISSION_DENIED
error. The exact text of the error is:
{
"code": 403,
"message": "Failed to authorize Cloud Platform service-account for projectId '<project-id>':
...
"status": "PERMISSION_DENIED"
}
What does this error mean and how can I fix it?
Upvotes: 1
Views: 3888
Reputation: 25
I have found that you just open the Compute Engine on the left of Google Developers Console
Wait for it to do some initial work and then, it shows you can create VM.
Then, the problem may be solved. Good luck!
Upvotes: 0
Reputation: 14781
If Disabling/Enabling the Dataproc API will not work (it did not work for me), try creating a new project in the console - if it's feasible.
Upvotes: 1
Reputation: 2331
This is a rare occur which can occur when the API activation for Cloud Dataproc fails. While rare, this is a pretty easy problem to fix. You need to disable and then re-enable the Dataproc API.
To do this, follow these steps:
APIs & auth
click APIs
Enabled APIs
tab at the top of the pageGoogle Cloud Dataproc API
Disable API
buttonDisable
Enable API
button to turn it back onNow the API should be re-enabled and the problem should be resolved.
Upvotes: 2