When you were creating the service account, the first screenshot mislead you. You should have added pub/sub admin. You have to re-create your service account.
Not working.
I did everything 5 times. Still gives that error
Google Topic IDs: Your Google service account credentials do not have permissions to access the Google Cloud Pub/Sub API. Refer to this guide for more information.
Somebody can write here step by step what we gonna do?
Thank you
When you were creating the service account, the first screenshot mislead you. You should have added pub/sub admin. You have to re-create your service account.
i did everyting in document. Is there anything not exist in doc what should we do?
Same here, also waited over 36 hours as it said in the warning in docs. Still getting that ‘not have permission to create’ error.
Sorry, figured out that I set role “Cloud Pub/Sub Service Agent”. Setting “Pub/Sub Admin” fixed the issue.
Hey Houman,
I know you mentioned you did it all by the book, but did you set the role correctly for the service account, and wait the 36 hours?
If you are you still facing this issue. If so, you may want to reach out to support: https://app.revenuecat.com/settings/support
Yes, I did everything by the book. The problem is not the 36 hours, I waited for 4 days.
The problem is your documentation that is inaccurate. (Sorry)
- As the documentation says pick the role for Cloud Pub/Sub Service Agent.
- Finish everything as the documentation says until the end. The last sentence in the 400 error paragraph says: “ensure you've enabled Pub/Sub for your project in our guide here.”
- Click on that to enable your Pub/Sub capability for your account.
- From here the documentation lacks the next step. Now you need to go back to the roles and change “Cloud Pub/Sub Service Agent” to “Pub/Sub Admin”. This option simply doesn’t exist at first in the drop down, because your Pub/Sub API is not yet enabled.
- Only then you can go back to RevenueCat and press the connect button. Now it will be green.
I have the same issue. I enabled Pub/Sub Admin and have waited for more than 36 hours and have also enabled the Cloud Pub/Sub API and still doesn’t work. Any one know how to resolve this?
Same issue. I did everything, waited more than 36 hours but nothing has changed.
Hey all,
Our documentation did briefly recommend using the “Cloud Pub/Sub Service Agent” role but this was incorrect and has been removed. The two roles assigned to your service account must be “Pub/Sub Admin” and “Monitoring Viewer”.
The Pub/Sub API does not need to be enabled for your credentials to validate, but there’s no harm in enabling it and you’ll need to do so if you want to set up Google Developer notifications.
Additionally, the 36 hours is a recommendation but we have unfortunately seen it take longer. If it’s been quite a few days and you’re still seeing issues, it could be worth starting the guide from scratch again.
Some other things to consider are that if you make any changes to the key file before adding it to RevenueCat (for example, renaming the file), this could cause issue. Additionally, if you’re seeing that only the “Subscriptions API” permission is not checked, try going forward with your testing - we have also seen a test purchase be needed to finish validating the credentials.
This issue has been resolved by waiting more than 36 Hours (about 4 -5 days) as
as kaitlin said