Google Pub/Sub: User not authorized to perform this action when try to Pull the Messages

I am using this Guide to Integrate Pub/Sub Pull Messages.
I have given Roles as "owner, Pub/Sub Publisher, and Pub/Sub Subscriber" to this service account.
When I Publish a topic as shown in that guide it successfully publishes but using the same key it does not give me the list of message on pull request rather gives me an error "403 User not authorized to perform this action" It’s been 2 days and I couldn’t resolve this issue.

Source: Laravel

Leave a Reply