Title: Library crashes on 404 response · Issue #35 · hyperwallet/python-sdk · GitHub
Open Graph Title: Library crashes on 404 response · Issue #35 · hyperwallet/python-sdk
X Title: Library crashes on 404 response · Issue #35 · hyperwallet/python-sdk
Description: getBankAccount throws hyperwallet.exceptions.HyperwalletAPIException: Invalid Content-Type specified in Response Header when Hyperwallet server internally returns 404 - Not Found. It could raise some catchable exception instead. Tracebac...
Open Graph Description: getBankAccount throws hyperwallet.exceptions.HyperwalletAPIException: Invalid Content-Type specified in Response Header when Hyperwallet server internally returns 404 - Not Found. It could raise so...
X Description: getBankAccount throws hyperwallet.exceptions.HyperwalletAPIException: Invalid Content-Type specified in Response Header when Hyperwallet server internally returns 404 - Not Found. It could raise so...
Opengraph URL: https://github.com/hyperwallet/python-sdk/issues/35
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Library crashes on 404 response","articleBody":"getBankAccount throws `hyperwallet.exceptions.HyperwalletAPIException: Invalid Content-Type specified in Response Header` when Hyperwallet server internally returns `404 - Not Found`.\r\n\r\nIt could raise some catchable exception instead.\r\n\r\n```\r\nTraceback (most recent call last):\r\n File \"…\", line …, in …\r\n ….getBankAccount(\r\n File \"/usr/local/lib/python3.8/site-packages/hyperwallet/api.py\", line 275, in getBankAccount\r\n response = self.apiClient.doGet(\r\n File \"/usr/local/lib/python3.8/site-packages/hyperwallet/utils/apiclient.py\", line 153, in doGet\r\n return self._makeRequest(\r\n File \"/usr/local/lib/python3.8/site-packages/hyperwallet/utils/apiclient.py\", line 116, in _makeRequest\r\n self.__checkResponseHeaderContentType(response)\r\n File \"/usr/local/lib/python3.8/site-packages/hyperwallet/utils/apiclient.py\", line 210, in __checkResponseHeaderContentType\r\n raise HyperwalletAPIException('Invalid Content-Type specified in Response Header')\r\nhyperwallet.exceptions.HyperwalletAPIException: Invalid Content-Type specified in Response Header\r\n```\r\n\r\nSimilar case to #20.","author":{"url":"https://github.com/m-aciek","@type":"Person","name":"m-aciek"},"datePublished":"2020-09-25T13:58:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/35/python-sdk/issues/35"}
| 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:bf5db00c-d0b3-e856-94af-7b3b1a1ec6e7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DC4E:2EA41:82C4660:A991E1D:6976C762 |
| html-safe-nonce | f8eb64307d0cb3d99f469ac50e92828d72672850beef0a7ec43c10cc27dfdde6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzRFOjJFQTQxOjgyQzQ2NjA6QTk5MUUxRDo2OTc2Qzc2MiIsInZpc2l0b3JfaWQiOiIxMjg1ODUzNTY1OTgwOTUyNDE5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 27c8f7b72ebe43d51dffda5e149b575ce1ba9976e0da310e3c87324acc0d8ad8 |
| hovercard-subject-tag | issue:708962676 |
| 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/35/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9d8445bba8d4e6f45ba93abbcf0da517a07b54acfb50dcc2e34b78a84e71a5fc/hyperwallet/python-sdk/issues/35 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9d8445bba8d4e6f45ba93abbcf0da517a07b54acfb50dcc2e34b78a84e71a5fc/hyperwallet/python-sdk/issues/35 |
| og:image:alt | getBankAccount throws hyperwallet.exceptions.HyperwalletAPIException: Invalid Content-Type specified in Response Header when Hyperwallet server internally returns 404 - Not Found. It could raise so... |
| 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 | 032152924a283b83384255d9489e7b93b54ba01da8d380b05ecd3953b3212411 |
| 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 | 5b577f6be6482e336e3c30e8daefa30144947b17 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width