Open gopaljayanthi opened 1 year ago
following the instructions at https://developers.google.com/gcp-marketplace-saas#3 getting this error python create_subscription.py PERMISSION DENIED: Check that the Pub/Sub API is enabled in your project and that your service account was granted the Pub/Sub Editor role. Check API status at: https://console.cloud.google.com/apis/library/pubsub.googleapis.com?project=opsmx-public Check IAM roles at: https://console.cloud.google.com/iam-admin/iam?project=opsmx-public
checked that the api version is enabled and the serviceaccount has pubsub-editor role
python --version Python 3.10.6
pip list | grep google google-api-core 1.34.0 google-api-python-client 2.89.0 google-auth 2.20.0 google-auth-httplib2 0.1.0 google-cloud 0.34.0 google-cloud-pubsub 1.4.0 googleapis-common-protos 1.59.1 grpc-google-iam-v1 0.12.6
following the instructions at https://developers.google.com/gcp-marketplace-saas#3 getting this error python create_subscription.py PERMISSION DENIED: Check that the Pub/Sub API is enabled in your project and that your service account was granted the Pub/Sub Editor role. Check API status at: https://console.cloud.google.com/apis/library/pubsub.googleapis.com?project=opsmx-public Check IAM roles at: https://console.cloud.google.com/iam-admin/iam?project=opsmx-public
checked that the api version is enabled and the serviceaccount has pubsub-editor role
python --version Python 3.10.6
pip list | grep google google-api-core 1.34.0 google-api-python-client 2.89.0 google-auth 2.20.0 google-auth-httplib2 0.1.0 google-cloud 0.34.0 google-cloud-pubsub 1.4.0 googleapis-common-protos 1.59.1 grpc-google-iam-v1 0.12.6