Title: Transcoding error information missing in version 2.9.0 · Issue #440 · googleapis/python-api-core · GitHub
Open Graph Title: Transcoding error information missing in version 2.9.0 · Issue #440 · googleapis/python-api-core
X Title: Transcoding error information missing in version 2.9.0 · Issue #440 · googleapis/python-api-core
Description: A regression was introduced in PR #428 where information is missing in the transcoding error message here. Using the following code for google-cloud-compute from google.cloud import compute_v1 project = "project-XXX" zone = "us-central1-...
Open Graph Description: A regression was introduced in PR #428 where information is missing in the transcoding error message here. Using the following code for google-cloud-compute from google.cloud import compute_v1 proj...
X Description: A regression was introduced in PR #428 where information is missing in the transcoding error message here. Using the following code for google-cloud-compute from google.cloud import compute_v1 proj...
Opengraph URL: https://github.com/googleapis/python-api-core/issues/440
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Transcoding error information missing in version 2.9.0","articleBody":"A regression was introduced in PR https://github.com/googleapis/python-api-core/pull/428 where information is missing in the transcoding error message [here](https://github.com/googleapis/python-api-core/blob/main/google/api_core/path_template.py#L319).\r\n\r\nUsing the following code for `google-cloud-compute`\r\n```\r\nfrom google.cloud import compute_v1\r\n\r\nproject = \"project-XXX\"\r\nzone = \"us-central1-a\"\r\n\r\ninstance_groups_list_instances_request_resource = compute_v1.InstanceGroupsListInstancesRequest()\r\ninstance_groups_list_instances_request_resource.instance_state = \"RUNNING\"\r\ninstance_groups_client = compute_v1.InstanceGroupsClient()\r\n\r\ninstance_groups_list = instance_groups_client.list_instances(project=project, zone=zone, instance_groups_list_instances_request_resource=instance_groups_list_instances_request_resource)\r\n\r\nfor instance in instance_groups_list:\r\n print(instance.name, instance.labels)\r\n```\r\n\r\nUsing `google-api-core==2.8.2`, the error message is \r\n```\r\nValueError: Request {'zone': 'us-central1-a', 'project': 'project-XXX', 'instance_groups_list_instances_request_resource': {'instance_state': 'RUNNING'}, 'instance_group': ''} does not match any URL path template in available HttpRule's ['/compute/v1/projects/{project}/zones/{zone}/instanceGroups/{instance_group}/listInstances']\r\n```\r\n\r\nUsing `google-api-core==2.9.0`, the error message is \r\n```\r\nRequest {} does not match any URL path template in available HttpRule's ['/compute/v1/projects/{project}/zones/{zone}/instanceGroups/{instance_group}/listInstances']\r\n```\r\n","author":{"url":"https://github.com/parthea","@type":"Person","name":"parthea"},"datePublished":"2022-09-13T21:00:46.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/440/python-api-core/issues/440"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:00b6cdd0-2c7a-a7fa-273c-c4f7156bca65 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C83A:9A78:91BC9:C46B3:6A4D7C40 |
| html-safe-nonce | ec9af87914a591bb2d1f4283acb14fa347c2fdae9943aa16f63897ba2e6e364c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODNBOjlBNzg6OTFCQzk6QzQ2QjM6NkE0RDdDNDAiLCJ2aXNpdG9yX2lkIjoiMjc1OTM0NzgzNDY4NzY4MzY0OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 18ddd18c0d9aaeaf7d3b6eeeb2d4d0b787711cabf2f49ae1e40c124dceb048bb |
| hovercard-subject-tag | issue:1372002390 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/python-api-core/440/issue_layout |
| twitter:image | https://opengraph.githubassets.com/435bf541e23bef27f23300828deaa3612ecf6020a9a0fea3e8bbf187221462ff/googleapis/python-api-core/issues/440 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/435bf541e23bef27f23300828deaa3612ecf6020a9a0fea3e8bbf187221462ff/googleapis/python-api-core/issues/440 |
| og:image:alt | A regression was introduced in PR #428 where information is missing in the transcoding error message here. Using the following code for google-cloud-compute from google.cloud import compute_v1 proj... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | parthea |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7f8e15305e2ab58890ca84b830615e375f5df303cf471cafcba0c08272981be3 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/python-api-core git https://github.com/googleapis/python-api-core.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 226992456 |
| octolytics-dimension-repository_nwo | googleapis/python-api-core |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 226992456 |
| octolytics-dimension-repository_network_root_nwo | googleapis/python-api-core |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8608b0750fc35e283e5ec5b094bff942d7a0e197 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width