Skip to content

DLP Api throwing 404 The request concerns location 'us-east1' but was sent to location 'global'. Read go/storky-stubby for more information. #3005

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

Closed
amitwats opened this issue Feb 28, 2020 · 2 comments
Assignees
Labels
api: dlp Issues related to the Sensitive Data Protection API. type: question Request for information or clarification. Not an issue.

Comments

@amitwats
Copy link

In which file did you encounter the issue?

/python-docs-samples/dlp/deid.py

Did you change the file? If so, how?

The file was not changed

Describe the issue

When I run the file the issue it throws is as below

google.api_core.exceptions.NotFound: 404 Received the following error message from Cloud KMS when unwrapping KmsWrappedCryptoKey "projects/xxxxx/locations/us-east1/keyRings/dlp-test3/cryptoKeys/key7": The request concerns location 'us-east1' but was sent to location 'global'. Read go/storky-stubby for more information.

I do not mind creating the key in 'global' region but the issue is when I create a keyring in global I cannot make keys in HSM which is required to get the wrapped_key .
Cant see how to run this

@amitwats amitwats changed the title DLP Api throwing DLP Api throwing 404 The request concerns location 'us-east1' but was sent to location 'global'. Read go/storky-stubby for more information. Feb 28, 2020
@yoshi-automation yoshi-automation added the triage me I really want to be triaged. label Feb 28, 2020
@busunkim96 busunkim96 added api: dlp Issues related to the Sensitive Data Protection API. and removed triage me I really want to be triaged. labels Feb 28, 2020
@yoshi-automation yoshi-automation added triage me I really want to be triaged. 🚨 This issue needs some love. labels Feb 28, 2020
@leahecole leahecole added type: question Request for information or clarification. Not an issue. and removed 🚨 This issue needs some love. triage me I really want to be triaged. labels Mar 4, 2020
@sethvargo
Copy link
Member

Dupe of googleapis/gapic-generator-python#364?

@tmatsuo
Copy link
Contributor

tmatsuo commented May 15, 2020

@amitwats

Thanks for the report. However, this sounds like an issue in the library. Please follow the issue in #3005 (comment)

@tmatsuo tmatsuo closed this as completed May 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: dlp Issues related to the Sensitive Data Protection API. type: question Request for information or clarification. Not an issue.
Projects
None yet
Development

No branches or pull requests

10 participants