Title: Error passing 'fields' to pubsub GET API for subscription · Issue #799 · googleapis/google-cloud-python · GitHub
Open Graph Title: Error passing 'fields' to pubsub GET API for subscription · Issue #799 · googleapis/google-cloud-python
X Title: Error passing 'fields' to pubsub GET API for subscription · Issue #799 · googleapis/google-cloud-python
Description: $ tox -e regression --notest GLOB sdist-make: /home/tseaver/projects/agendaless/Google/src/gcloud-python/setup.py regression inst-nodeps: /home/tseaver/projects/agendaless/Google/src/gcloud-python/.tox/dist/gcloud-0.4.3.zip _____________...
Open Graph Description: $ tox -e regression --notest GLOB sdist-make: /home/tseaver/projects/agendaless/Google/src/gcloud-python/setup.py regression inst-nodeps: /home/tseaver/projects/agendaless/Google/src/gcloud-python/...
X Description: $ tox -e regression --notest GLOB sdist-make: /home/tseaver/projects/agendaless/Google/src/gcloud-python/setup.py regression inst-nodeps: /home/tseaver/projects/agendaless/Google/src/gcloud-python/...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/799
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error passing 'fields' to pubsub GET API for subscription","articleBody":"```\n$ tox -e regression --notest\nGLOB sdist-make: /home/tseaver/projects/agendaless/Google/src/gcloud-python/setup.py\nregression inst-nodeps: /home/tseaver/projects/agendaless/Google/src/gcloud-python/.tox/dist/gcloud-0.4.3.zip\n___________________________________ summary ____________________________________\n regression: skipped tests\n congratulations :)\n$ .tox/regression/bin/python regression/run_regression.py --package=pubsub\ntest_create_subscription (pubsub.TestPubsub) ... ERROR\ntest_create_topic (pubsub.TestPubsub) ... ok\ntest_list_subscriptions (pubsub.TestPubsub) ... ok\ntest_list_topics (pubsub.TestPubsub) ... ok\ntest_message_pull_mode_e2e (pubsub.TestPubsub) ... ERROR\n\nERROR: test_create_subscription (pubsub.TestPubsub)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/home/tseaver/projects/agendaless/Google/src/gcloud-python/regression/pubsub.py\", line 74, in test_create_subscription\n self.assertFalse(subscription.exists())\n File \"/home/tseaver/projects/agendaless/Google/src/gcloud-python/.tox/regression/lib/python2.7/site-packages/gcloud/pubsub/subscription.py\", line 112, in exists\n query_params={'fields': 'name'})\n File \"/home/tseaver/projects/agendaless/Google/src/gcloud-python/.tox/regression/lib/python2.7/site-packages/gcloud/connection.py\", line 293, in api_request\n raise make_exception(response, content)\ngcloud.exceptions.BadRequest: 400 Invalid JSON payload received. Unknown name \"fields\": Cannot bind query parameter.\n```\n\nI omitted a similar failure in another test: both are for a call to `subscription.exists()` where the expected value is False.\n\n@dhermes this is the one I was working around in #794 \n\n@jgeewax maybe tag w/ \"google bug\"?\n","author":{"url":"https://github.com/tseaver","@type":"Person","name":"tseaver"},"datePublished":"2015-04-06T20:23:01.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":19},"url":"https://github.com/799/google-cloud-python/issues/799"}
| 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:a1ce550b-67a5-6e63-4105-f4b1e93c29a3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AA16:35723D:11E4C5:17CF33:6A4D8430 |
| html-safe-nonce | 74319905ccf624d243a055351f39effd1e78d43f4f621119cf3f8d98b48acf6a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTE2OjM1NzIzRDoxMUU0QzU6MTdDRjMzOjZBNEQ4NDMwIiwidmlzaXRvcl9pZCI6IjEzMzMzMDI1NjUwODk5MzY0MzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2a77bf2c619004254f00249310dfcc2b5b93801d3d05214339e594cf521b2df1 |
| hovercard-subject-tag | issue:66696647 |
| 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/google-cloud-python/799/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0434478483ec5a3100a1764ec72bdb53b09a137b39431eca56b3452fb9b472ce/googleapis/google-cloud-python/issues/799 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0434478483ec5a3100a1764ec72bdb53b09a137b39431eca56b3452fb9b472ce/googleapis/google-cloud-python/issues/799 |
| og:image:alt | $ tox -e regression --notest GLOB sdist-make: /home/tseaver/projects/agendaless/Google/src/gcloud-python/setup.py regression inst-nodeps: /home/tseaver/projects/agendaless/Google/src/gcloud-python/... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tseaver |
| hostname | github.com |
| expected-hostname | github.com |
| None | c6bf61c909482ec3072ef5d7a5a28f2a9d214788c9a44793eca1960048cb05ae |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/google-cloud-python git https://github.com/googleapis/google-cloud-python.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 16316451 |
| octolytics-dimension-repository_nwo | googleapis/google-cloud-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16316451 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-cloud-python |
| 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 | 6702a58b419a792226bd21ef0fb1bcb318bbcaa3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width