Closed pawel-chmielak-deepsense closed 2 years ago
Hello, This error seems to be coming from the lack of a request object being passed into the list_repositories
method.
# Initialize request argument(s)
request = artifactregistry_v1.ListRepositoriesRequest(
parent="projects/PROJECT/locations/LOCATION",
)
# Make the request
page_result = client.list_repositories(request=request)
Where PROJECT and LOCATION are your values.
Please reopen if you continue to experience issues.
An attempt to use any method fails with code "400 Invalid resource field value in the request.". The example code uses
list_repositories
, but any other request will fail as well.Environment details
google-cloud-artifact-registry
version: 1.0.2Steps to reproduce
SERVICE_ACCOUNT_JSON_PATH
with a path to you service account JSON.Code example
Stack trace