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

@amitwats

Description

@amitwats

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

Metadata

Metadata

Assignees

Labels

api: dlpIssues related to the Sensitive Data Protection API.type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions