Title: Error in injectionresponseparser.py · Issue #5 · socketlabs/socketlabs-python · GitHub
Open Graph Title: Error in injectionresponseparser.py · Issue #5 · socketlabs/socketlabs-python
X Title: Error in injectionresponseparser.py · Issue #5 · socketlabs/socketlabs-python
Description: On unsuccessful injections (e.g. connection error or wrong API-key) a TypeError occurs in that module: Traceback (most recent call last): File "/usr/scripts/basic.py", line 31, in
Open Graph Description: On unsuccessful injections (e.g. connection error or wrong API-key) a TypeError occurs in that module: Traceback (most recent call last): File "/usr/scripts/basic.py", line 31, in
X Description: On unsuccessful injections (e.g. connection error or wrong API-key) a TypeError occurs in that module: Traceback (most recent call last): File "/usr/scripts/basic.py", line 31, in <mod...
Opengraph URL: https://github.com/socketlabs/socketlabs-python/issues/5
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error in injectionresponseparser.py","articleBody":"On unsuccessful injections (e.g. connection error or wrong API-key) a TypeError occurs in that module:\r\n\r\n`Traceback (most recent call last):\r\n File \"/usr/scripts/basic.py\", line 31, in \u003cmodule\u003e\r\n response = client.send(message)\r\n File \"/home/pi/.local/lib/python3.7/site-packages/socketlabs/injectionapi/socketlabsclient.py\", line 104, in send\r\n return self.__send_basic_message(message)\r\n File \"/home/pi/.local/lib/python3.7/site-packages/socketlabs/injectionapi/socketlabsclient.py\", line 130, in __send_basic_message\r\n result = InjectionResponseParser.parse(data, response_code)\r\n File \"/home/pi/.local/lib/python3.7/site-packages/socketlabs/injectionapi/core/injectionresponseparser.py\", line 92, in parse\r\n injection_response = get_injection_response_dto(response)\r\n File \"/home/pi/.local/lib/python3.7/site-packages/socketlabs/injectionapi/core/injectionresponseparser.py\", line 63, in get_injection_response_dto\r\n for item in dct['MessageResults']:\r\nTypeError: 'NoneType' object is not iterable`\r\n\r\nYou can test it with your basic send example.\r\n","author":{"url":"https://github.com/xbln","@type":"Person","name":"xbln"},"datePublished":"2021-08-24T17:47:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/5/socketlabs-python/issues/5"}
| 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:910c2273-f239-eeab-6d52-041cb969101d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 952E:F20C:BD04D5:EF6E5E:697F0482 |
| html-safe-nonce | ed98d723b12bc79e7fd9ca2138d03ca7852dd7aa0719e5327f6690eb7057b74a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTJFOkYyMEM6QkQwNEQ1OkVGNkU1RTo2OTdGMDQ4MiIsInZpc2l0b3JfaWQiOiI4NjQ2MjcxMTEyODU1ODgwODM0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b52771a253bcb34e20fb9456848651258276a42cf0cc6819cf9cdc42af356863 |
| hovercard-subject-tag | issue:978340448 |
| 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/socketlabs/socketlabs-python/5/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7c0a9df50439f5cdfbe730b2b428e9cd9a379a1a6998dfd57e1c612b97486918/socketlabs/socketlabs-python/issues/5 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7c0a9df50439f5cdfbe730b2b428e9cd9a379a1a6998dfd57e1c612b97486918/socketlabs/socketlabs-python/issues/5 |
| og:image:alt | On unsuccessful injections (e.g. connection error or wrong API-key) a TypeError occurs in that module: Traceback (most recent call last): File "/usr/scripts/basic.py", line 31, in |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | xbln |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/socketlabs/socketlabs-python git https://github.com/socketlabs/socketlabs-python.git |
| octolytics-dimension-user_id | 279523 |
| octolytics-dimension-user_login | socketlabs |
| octolytics-dimension-repository_id | 152625263 |
| octolytics-dimension-repository_nwo | socketlabs/socketlabs-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 152625263 |
| octolytics-dimension-repository_network_root_nwo | socketlabs/socketlabs-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 | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width