Title: Internal server error when qbo api call response not ok · Issue #6 · IntuitDeveloper/SampleOAuth2_UsingPythonClient · GitHub
Open Graph Title: Internal server error when qbo api call response not ok · Issue #6 · IntuitDeveloper/SampleOAuth2_UsingPythonClient
X Title: Internal server error when qbo api call response not ok · Issue #6 · IntuitDeveloper/SampleOAuth2_UsingPythonClient
Description: To reproduce, revoke the token and then try to do an API call: Internal Server Error: /quickbooks/qbo_request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in...
Open Graph Description: To reproduce, revoke the token and then try to do an API call: Internal Server Error: /quickbooks/qbo_request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/django/...
X Description: To reproduce, revoke the token and then try to do an API call: Internal Server Error: /quickbooks/qbo_request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/dj...
Opengraph URL: https://github.com/IntuitDeveloper/SampleOAuth2_UsingPythonClient/issues/6
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Internal server error when qbo api call response not ok","articleBody":"To reproduce, revoke the token and then try to do an API call:\r\n```\r\nInternal Server Error: /quickbooks/qbo_request\r\nTraceback (most recent call last):\r\n File \"/usr/local/lib/python3.9/site-packages/django/core/handlers/exception.py\", line 47, in inner\r\n response = get_response(request)\r\n File \"/usr/local/lib/python3.9/site-packages/django/core/handlers/base.py\", line 181, in _get_response\r\n response = wrapped_callback(request, *callback_args, **callback_kwargs)\r\n File \"/Users/michiel/gh/pondersource/peppol-python-demo/quickbooks/views.py\", line 122, in qbo_request\r\n return HttpResponse(' '.join([response.content, str(response.status_code)]))\r\nTypeError: sequence item 0: expected str instance, bytes found\r\n```","author":{"url":"https://github.com/michielbdejong","@type":"Person","name":"michielbdejong"},"datePublished":"2021-07-06T08:30:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/6/SampleOAuth2_UsingPythonClient/issues/6"}
| 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:a227cb13-b3a4-031d-90ce-e4de2004c6e8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 877C:3E814F:64996:841C7:6971DCAD |
| html-safe-nonce | a65cd03c2b088c1440dca16b3d3dba39ecaf7593ca93e666c988bd01674f5648 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzdDOjNFODE0Rjo2NDk5Njo4NDFDNzo2OTcxRENBRCIsInZpc2l0b3JfaWQiOiIxOTIzODA0MzM4NTYzNzAxOTMzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 54334cae7241a86954db551e8cbcf2094d2d8f7d44d2ca83780aa538b138bafd |
| hovercard-subject-tag | issue:937649647 |
| 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/IntuitDeveloper/SampleOAuth2_UsingPythonClient/6/issue_layout |
| twitter:image | https://opengraph.githubassets.com/992f5b3df73da28671fd4bef4a1954c5dc8e91071391238e6c07fcbd42dd3763/IntuitDeveloper/SampleOAuth2_UsingPythonClient/issues/6 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/992f5b3df73da28671fd4bef4a1954c5dc8e91071391238e6c07fcbd42dd3763/IntuitDeveloper/SampleOAuth2_UsingPythonClient/issues/6 |
| og:image:alt | To reproduce, revoke the token and then try to do an API call: Internal Server Error: /quickbooks/qbo_request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/django/... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | michielbdejong |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7476eb4140129667a7530d10cfb7688f701883e35a4dcaa4673e3ec599af5199 |
| turbo-cache-control | no-preview |
| go-import | github.com/IntuitDeveloper/SampleOAuth2_UsingPythonClient git https://github.com/IntuitDeveloper/SampleOAuth2_UsingPythonClient.git |
| octolytics-dimension-user_id | 9217998 |
| octolytics-dimension-user_login | IntuitDeveloper |
| octolytics-dimension-repository_id | 151657857 |
| octolytics-dimension-repository_nwo | IntuitDeveloper/SampleOAuth2_UsingPythonClient |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 151657857 |
| octolytics-dimension-repository_network_root_nwo | IntuitDeveloper/SampleOAuth2_UsingPythonClient |
| 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 | 2cc0827c872b538cd08371730242ae4951d2d61a |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width