Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(sample): Fix PERMISSION_DENIED in WriteCommittedStream #1248

Merged
merged 1 commit into from Aug 23, 2021
Merged

docs(sample): Fix PERMISSION_DENIED in WriteCommittedStream #1248

merged 1 commit into from Aug 23, 2021

Conversation

bphenriques
Copy link
Contributor

@bphenriques bphenriques commented Aug 19, 2021

See details in #1246 .

This is a suggestion from Google's support (Case#28707078) which I am documenting here in case others stumble upon this issue.

It is odd that passing the client triggers the error therefore this PR only aims to fix the sample rather than working out the production code (which is still in PRE-GA so issues are expected). Feel free to close this PR if the production code is fixed instead in the meantime (which is preferable).

Let me know if I need add more details on the issue. I omitted as the linked ticket includes the details.

Fixes #1246 ☕️


Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • [ ] Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

@product-auto-label product-auto-label bot added the api: bigquerystorage label Aug 19, 2021
@google-cla google-cla bot added the cla: yes label Aug 19, 2021
…tedStream`

The sample yields a `PERMISSION_DENIED` error if we pass the `client` even if the regions are compatible and the authenticated gcloud agent/service has the required permissions.

More details on:
https://issuetracker.google.com/issues/196338290
@bphenriques bphenriques changed the title Fix PERMISSION_DENIED in WriteCommittedStream docs(sample): Fix PERMISSION_DENIED in WriteCommittedStream Aug 19, 2021
@bphenriques bphenriques marked this pull request as ready for review Aug 19, 2021
@stephaniewang526 stephaniewang526 added the kokoro:force-run label Aug 19, 2021
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run label Aug 19, 2021
@stephaniewang526
Copy link
Member

@stephaniewang526 stephaniewang526 commented Aug 19, 2021

could you share the buganizer ticket related to this please?

@product-auto-label product-auto-label bot added the samples label Aug 20, 2021
@bphenriques
Copy link
Contributor Author

@bphenriques bphenriques commented Aug 20, 2021

I only have access to https://issuetracker.google.com/issues/196338290

Another ticket (where the resolution was proposed) was created in my behalf by a colleague of mine, therefore I do not have permissions. I only have access to the email thread which says that it is case #28707078.

@stephaniewang526 stephaniewang526 merged commit 6d38bd5 into googleapis:master Aug 23, 2021
16 checks passed
gcf-merge-on-green bot pushed a commit that referenced this issue Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquerystorage cla: yes samples
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants