You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 19, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 19, 2026. It is now read-only.
User not authorized to perform this action. at Http2CallStream.call.on #428
Got the following issue trying to send request to gcp pubsup:
(node:28) UnhandledPromiseRejectionWarning: Error: User not authorized to perform this action. at Http2CallStream.call.on (/app/node_modules/google-gax/node_modules/@grpc/grpc-js/build/src/client.js:96:45) at Http2CallStream.emit (events.js:202:15) at process.nextTick (/app/node_modules/google-gax/node_modules/@grpc/grpc-js/build/src/call-stream.js:71:22) at processTicksAndRejections (internal/process/next_tick.js:74:9)
So I suspect this is an issue with the permissions available to your service account. Can you verify your service account has the roles/pubsub.publisher role? https://cloud.google.com/pubsub/docs/access-control
artem-konovalov-personal commented on Jul 25, 2019
Activity
JustinBeckwith commentedon Jul 25, 2019
Greetings! Can you share more about your setup?
artem-konovalov-personal commentedon Jul 25, 2019
Sure thing
My deps are:
JustinBeckwith commentedon Jul 25, 2019
Awesome. Could you share a code snippet that triggers the exception?
artem-konovalov-personal commentedon Jul 25, 2019
JFYI: yarn says that pubsub depends on
google-gax "^1.0.0"My code is as follows:
JustinBeckwith commentedon Jul 25, 2019
So I suspect this is an issue with the permissions available to your service account. Can you verify your service account has the
roles/pubsub.publisherrole?https://cloud.google.com/pubsub/docs/access-control
artem-konovalov-personal commentedon Jul 25, 2019
okay, much thanks! I'll review and post any results to this topic :)
artem-konovalov-personal commentedon Jul 29, 2019
@JustinBeckwith We've fixed the issue with pubsub using correct SA.
Much thanks for your help!
Gonna close the issue as far as the question is solved.
chore(deps): lock file maintenance (#428)
chore(deps): update dependency puppeteer to v12 (#428)
chore(deps): update dependency puppeteer to v12 (#428)