Title: Incorrect padding error · Issue #2513 · googleapis/google-cloud-python · GitHub
Open Graph Title: Incorrect padding error · Issue #2513 · googleapis/google-cloud-python
X Title: Incorrect padding error · Issue #2513 · googleapis/google-cloud-python
Description: Hi, This is in regards to the pubsub module. When I send a test message with data "testing 1 2 3" from the web console to a simple python application it fails to decode the message and throws a binascii.Error: Incorrect padding Error fro...
Open Graph Description: Hi, This is in regards to the pubsub module. When I send a test message with data "testing 1 2 3" from the web console to a simple python application it fails to decode the message and throws a bin...
X Description: Hi, This is in regards to the pubsub module. When I send a test message with data "testing 1 2 3" from the web console to a simple python application it fails to decode the message and th...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/2513
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Incorrect padding error","articleBody":"Hi,\nThis is in regards to the pubsub module. When I send a test message with data \"testing 1 2 3\" from the web console to a simple python application it fails to decode the message and throws a \n\n```\nbinascii.Error: Incorrect padding\n```\n\nError from \n\n```\n File \"/python3.5/site-packages/google/cloud/pubsub/message.py\", line 88, in from_api_repr\n data = base64.b64decode(api_repr.get('data', b''))\n File \"/lib/python3.5/base64.py\", line 88, in b64decode\n```\n\nI get the same error if I send the same message using the Go libraries.\nI do not get the error if I send the message using python however.\nAll I'm doing is receiving and printing out the messages.\n","author":{"url":"https://github.com/Teddy-Schmitz","@type":"Person","name":"Teddy-Schmitz"},"datePublished":"2016-10-07T07:28:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/2513/google-cloud-python/issues/2513"}
| 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:aee51bd5-d362-f893-b970-4cc5d7499f9f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DBEC:34AAF2:CAE7B1:1169CC4:6A4D59A1 |
| html-safe-nonce | e1953caf39dc7a3f1c6aa03ba5f7cc322a54d19515512256a966188673312976 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQkVDOjM0QUFGMjpDQUU3QjE6MTE2OUNDNDo2QTRENTlBMSIsInZpc2l0b3JfaWQiOiI0MDk2MTExNjYwNTk4Mzg1MDU3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d18aa2c47db400d5a2348ff6e43e5e48f90c992745615ce1e2fbb8974b7b6409 |
| hovercard-subject-tag | issue:181601742 |
| 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/2513/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c711ae35875481702407eba03a95b202ddb828dd16649293be76cc6610d66485/googleapis/google-cloud-python/issues/2513 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c711ae35875481702407eba03a95b202ddb828dd16649293be76cc6610d66485/googleapis/google-cloud-python/issues/2513 |
| og:image:alt | Hi, This is in regards to the pubsub module. When I send a test message with data "testing 1 2 3" from the web console to a simple python application it fails to decode the message and throws a bin... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Teddy-Schmitz |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2a1443ff9733a3016431263ea73c93d8fe00c195eb4a7670ac30e7848f045441 |
| 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 | f3bdd3157ea1f0fd738d408eceeead721acf1dc3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width