Title: `'Sms' object has no attribute 'send_mfa'` error when sending MFA code · Issue #33 · smsapi/smsapi-python-client · GitHub
Open Graph Title: `'Sms' object has no attribute 'send_mfa'` error when sending MFA code · Issue #33 · smsapi/smsapi-python-client
X Title: `'Sms' object has no attribute 'send_mfa'` error when sending MFA code · Issue #33 · smsapi/smsapi-python-client
Description: For MFA I followed the example from here: smsapi-python-client/examples/sms.py Line 39 in 5ffbc7b client.sms.send_mfa(phone_number='some-number', content='Your code: [%code%]', fast=0) >>> from django.conf import settings >>> from smsapi...
Open Graph Description: For MFA I followed the example from here: smsapi-python-client/examples/sms.py Line 39 in 5ffbc7b client.sms.send_mfa(phone_number='some-number', content='Your code: [%code%]', fast=0) >>> from dja...
X Description: For MFA I followed the example from here: smsapi-python-client/examples/sms.py Line 39 in 5ffbc7b client.sms.send_mfa(phone_number='some-number', content='Your code: [%code%]', fast...
Opengraph URL: https://github.com/smsapi/smsapi-python-client/issues/33
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`'Sms' object has no attribute 'send_mfa'` error when sending MFA code","articleBody":"For MFA I followed the example from here:\r\nhttps://github.com/smsapi/smsapi-python-client/blob/5ffbc7b9d93cecdc4e0f02b5a02469f48f80332d/examples/sms.py#L39\r\n\r\n```\r\n\u003e\u003e\u003e from django.conf import settings \r\n\u003e\u003e\u003e from smsapi.client import SmsApiPlClient \r\n\u003e\u003e\u003e client = SmsApiPlClient(access_token=settings.SMSAPI_ACCESS_TOKEN) \r\n\u003e\u003e\u003e client.sms.send_mfa(phone_number=\"420420420\", content=\"Twój kod weryfikacyjny: [%code%]\", fast=0) \r\nTraceback (most recent call last):\r\n File \"\u003cconsole\u003e\", line 1, in \u003cmodule\u003e\r\nAttributeError: 'Sms' object has no attribute 'send_mfa'\r\n\u003e\u003e\u003e\r\n```\r\n\r\nOur token is correct, sending normal SMS works just fine.\r\nOS: Windows 11\r\nPython version: 3.10.6\r\n\r\n~~Are we doing something wrong, or is it a bug?~~\r\nEDIT: Noticed this feature was added in August and hasn't been released.","author":{"url":"https://github.com/IhateTrains","@type":"Person","name":"IhateTrains"},"datePublished":"2022-11-25T13:12:17.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/33/smsapi-python-client/issues/33"}
| 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:e5f689cd-3220-faff-ebbc-5eeddb665d98 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B3C8:A27F4:16CB8B7:1FA9AA3:6980CADE |
| html-safe-nonce | d19d8d61eca376b12186e1657c16106b0d78205c8b0317f27b1ec5a0fa73f5c3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCM0M4OkEyN0Y0OjE2Q0I4Qjc6MUZBOUFBMzo2OTgwQ0FERSIsInZpc2l0b3JfaWQiOiI1ODA5MTUwNTY2MjA2NTg5NjYyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5eb2eb558fb978574f52cd0668ad7d808182813fd2f6a4d7aaf9bb13174d87a7 |
| hovercard-subject-tag | issue:1464533147 |
| 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/smsapi/smsapi-python-client/33/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a7a55d9608ff2ee5070ad1e0c0ecc0c56310feeb4b015043388392f72266fb13/smsapi/smsapi-python-client/issues/33 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a7a55d9608ff2ee5070ad1e0c0ecc0c56310feeb4b015043388392f72266fb13/smsapi/smsapi-python-client/issues/33 |
| og:image:alt | For MFA I followed the example from here: smsapi-python-client/examples/sms.py Line 39 in 5ffbc7b client.sms.send_mfa(phone_number='some-number', content='Your code: [%code%]', fast=0) >>> from dja... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | IhateTrains |
| hostname | github.com |
| expected-hostname | github.com |
| None | c940d5e308643c0003d2824389ea8281bcaae0a9a0d07438e3fb5e0bdc4fef12 |
| turbo-cache-control | no-preview |
| go-import | github.com/smsapi/smsapi-python-client git https://github.com/smsapi/smsapi-python-client.git |
| octolytics-dimension-user_id | 3853554 |
| octolytics-dimension-user_login | smsapi |
| octolytics-dimension-repository_id | 8754011 |
| octolytics-dimension-repository_nwo | smsapi/smsapi-python-client |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 8754011 |
| octolytics-dimension-repository_network_root_nwo | smsapi/smsapi-python-client |
| 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 | bb3d0fe9b8e408797775c5db420b1ee5ff06e4d0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width