Title: Library crashes on Too Many Requests response · Issue #20 · hyperwallet/python-sdk · GitHub
Open Graph Title: Library crashes on Too Many Requests response · Issue #20 · hyperwallet/python-sdk
X Title: Library crashes on Too Many Requests response · Issue #20 · hyperwallet/python-sdk
Description: getUser throws hyperwallet.exceptions.HyperwalletAPIException: Invalid Content-Type specified in Response Header when Hyperwallet server internally returns Too Many Requests. It could raise some catchable exception instead. application_1...
Open Graph Description: getUser throws hyperwallet.exceptions.HyperwalletAPIException: Invalid Content-Type specified in Response Header when Hyperwallet server internally returns Too Many Requests. It could raise some ca...
X Description: getUser throws hyperwallet.exceptions.HyperwalletAPIException: Invalid Content-Type specified in Response Header when Hyperwallet server internally returns Too Many Requests. It could raise some ca...
Opengraph URL: https://github.com/hyperwallet/python-sdk/issues/20
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Library crashes on Too Many Requests response","articleBody":"getUser throws `hyperwallet.exceptions.HyperwalletAPIException: Invalid Content-Type specified in Response Header` when Hyperwallet server internally returns `Too Many Requests`.\r\n\r\nIt could raise some catchable exception instead.\r\n```\r\napplication_1 | Traceback (most recent call last):\r\napplication_1 | File \"/usr/local/lib/python3.7/site-packages/hyperwallet/api.py\", line 117, in getUser\r\napplication_1 | os.path.join('users', userToken)\r\napplication_1 | File \"/usr/local/lib/python3.7/site-packages/hyperwallet/utils/apiclient.py\", line 156, in doGet\r\napplication_1 | params=params\r\napplication_1 | File \"/usr/local/lib/python3.7/site-packages/hyperwallet/utils/apiclient.py\", line 116, in _makeRequest\r\napplication_1 | self.__checkResponseHeaderContentType(response)\r\napplication_1 | File \"/usr/local/lib/python3.7/site-packages/hyperwallet/utils/apiclient.py\", line 208, in __checkResponseHeaderContentType\r\napplication_1 | raise HyperwalletAPIException('Invalid Content-Type specified in Response Header')\r\napplication_1 | hyperwallet.exceptions.HyperwalletAPIException: Invalid Content-Type specified in Response Header\r\n```","author":{"url":"https://github.com/m-aciek","@type":"Person","name":"m-aciek"},"datePublished":"2019-09-19T16:08:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/20/python-sdk/issues/20"}
| 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:d1944b70-4c6b-3610-3857-d8ca0407c3e4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8CD2:EB2E7:CC44C0:11A21B8:69776524 |
| html-safe-nonce | 02932db70ac3d7d552340a52aad6d10fff720a87f780c7c86e842281267be4f8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Q0QyOkVCMkU3OkNDNDRDMDoxMUEyMUI4OjY5Nzc2NTI0IiwidmlzaXRvcl9pZCI6Ijc5NjAwNDQyNjc5MTUxNDI0MzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 27a50e3b063a1a733901f05c469d0975db7165b13f154197bf03c22707b054b4 |
| hovercard-subject-tag | issue:495895727 |
| 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/hyperwallet/python-sdk/20/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c040a95db48e48a73b138ebe345647598cccee7b538b4a3ca2f8cbaa8cdcde4f/hyperwallet/python-sdk/issues/20 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c040a95db48e48a73b138ebe345647598cccee7b538b4a3ca2f8cbaa8cdcde4f/hyperwallet/python-sdk/issues/20 |
| og:image:alt | getUser throws hyperwallet.exceptions.HyperwalletAPIException: Invalid Content-Type specified in Response Header when Hyperwallet server internally returns Too Many Requests. It could raise some ca... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | m-aciek |
| hostname | github.com |
| expected-hostname | github.com |
| None | 425384cc392ce2ddd1a7a0c1e7043ab4192d4c04452a2ed7f2f38d2fa9293b5a |
| turbo-cache-control | no-preview |
| go-import | github.com/hyperwallet/python-sdk git https://github.com/hyperwallet/python-sdk.git |
| octolytics-dimension-user_id | 14006685 |
| octolytics-dimension-user_login | hyperwallet |
| octolytics-dimension-repository_id | 65580134 |
| octolytics-dimension-repository_nwo | hyperwallet/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 65580134 |
| octolytics-dimension-repository_network_root_nwo | hyperwallet/python-sdk |
| 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 | 72de26f7ca9bdb0559ebf1e63e6c685ee2c520ce |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width