Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

PubSub permissions error while publishing using google cloud dependencies

Hello community!

We are switching from spring based pubsub dependencies to Google cloud's pubsub dependency by following https://cloud.google.com/pubsub/docs/publish-receive-messages-client-library

We are getting the below error when we try to publish:
java.util.concurrent.ExecutionException: com.google.api.gax.rpc.PermissionDeniedException: io.grpc.StatusRuntimeException: PERMISSION_DENIED: User not authorized to perform this action. 

Any idea on what permissions we are missing here?

0 1 4,326
1 REPLY 1