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: github.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:5f255876-12fc-71dc-0a10-0d405b6c3524 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9B52:34E88C:180DDFF:1ED762B:697FD0D8 |
| html-safe-nonce | e567f89f38c460b63941e84b94ffbda1a4a6cde51b259784d2aadbd5bb73e6e1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjUyOjM0RTg4QzoxODBEREZGOjFFRDc2MkI6Njk3RkQwRDgiLCJ2aXNpdG9yX2lkIjoiNTE1Mzg3NTU1MzQwODc2NjE2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fc9a8bb0dcc243f5fe7936f3fb326fe115d2b63a2c0f7ffe27cf4b4d8e9f18ad |
| 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 | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| 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 | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width