...
Code Block |
---|
com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden POST https://storage.googleapis.com/storage/v1/b?project=projectId&projection=full { "code" : 403, "errors" : [ { "domain" : "global", "message" : "xxxxxxxxxxxx-compute@developer.gserviceaccount.com does not have storage.buckets.create access to the Google Cloud project.", "reason" : "forbidden" } ], "message" : "xxxxxxxxxxxx-compute@developer.gserviceaccount.com does not have storage.buckets.create access to the Google Cloud project." } |
`xxxxxxxxxxxx-compute@developer.gserviceaccount.comis the service account you specified in this plugin. This means the temporary bucket you specified in this plugin doesn't exist. CDF/CDAP is trying to create the temporary bucket, but the specified service account doesn't have the permission. You must grant "GCE Storage Bucket Admin" role on the project identified by the
Project IDyou specified in this plugin to the service account. If you think you already granted the role, check if you granted the role to the wrong project (for example the one identified by the
Dataset Project ID`).
...
xxxx
is the Project ID
you specified in this plugin. This means the specified service account doesn’t have the permission to run BigQuery jobs. You must grant “BigQuery Job User” role on the project identified by the Project ID
you specified in this plugin to the service account. If you think you already granted the role, check if you granted the role on the wrong project (for example the one identified by the Dataset Project ID
).
missing Missing permission to create the BigQuery dataset
...