Title: .me access point is broken · Issue #544 · microsoftgraph/msgraph-sdk-python · GitHub
Open Graph Title: .me access point is broken · Issue #544 · microsoftgraph/msgraph-sdk-python
X Title: .me access point is broken · Issue #544 · microsoftgraph/msgraph-sdk-python
Description: I followed the steps here: https://learn.microsoft.com/en-us/graph/tutorials/python?tabs=aad and found functions under .me were all broken due to failed replacement of placeholder "me-token-to-replace". running on mac: 11.7.10 python3.8....
Open Graph Description: I followed the steps here: https://learn.microsoft.com/en-us/graph/tutorials/python?tabs=aad and found functions under .me were all broken due to failed replacement of placeholder "me-token-to-repl...
X Description: I followed the steps here: https://learn.microsoft.com/en-us/graph/tutorials/python?tabs=aad and found functions under .me were all broken due to failed replacement of placeholder "me-token-to...
Opengraph URL: https://github.com/microsoftgraph/msgraph-sdk-python/issues/544
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":".me access point is broken","articleBody":"I followed the steps here: https://learn.microsoft.com/en-us/graph/tutorials/python?tabs=aad\r\n\r\nand found functions under .me were all broken due to failed replacement of placeholder \"me-token-to-replace\".\r\n\r\nrunning on mac:\r\n\r\n11.7.10\r\n\r\npython3.8.9\r\n\r\nlist of dependencies installed:\r\n\r\nms-identity-python-webapp-master pip freeze \r\naiohttp==3.9.1\r\naiosignal==1.3.1\r\nanyio==4.2.0\r\nasgiref==3.7.2\r\nasync-timeout==4.0.3\r\nattrs==23.2.0\r\nazure-core==1.29.6\r\nazure-identity==1.15.0\r\nbackports.zoneinfo==0.2.1\r\ncachelib==0.10.2\r\ncertifi==2023.11.17\r\ncffi==1.16.0\r\ncharset-normalizer==3.3.2\r\nclick==8.1.7\r\ncryptography==41.0.7\r\nDeprecated==1.2.14\r\nexceptiongroup==1.2.0\r\nFlask==2.2.5\r\nFlask-Session==0.4.1\r\nfrozenlist==1.4.1\r\nh11==0.14.0\r\nh2==4.1.0\r\nhpack==4.0.0\r\nhttpcore==1.0.2\r\nhttpx==0.26.0\r\nhyperframe==6.0.1\r\nidentity==0.2.0\r\nidna==3.6\r\nimportlib-metadata==6.11.0\r\nimportlib-resources==6.1.1\r\nitsdangerous==2.1.2\r\nJinja2==3.1.2\r\nMarkupSafe==2.1.3\r\nmicrosoft-kiota-abstractions==1.0.0\r\nmicrosoft-kiota-authentication-azure==1.0.0\r\nmicrosoft-kiota-http==1.2.0\r\nmicrosoft-kiota-serialization-json==1.0.0\r\nmicrosoft-kiota-serialization-text==1.0.0\r\nmsal==1.26.0\r\nmsal-extensions==1.1.0\r\nmsgraph-core==1.0.0a4\r\nmsgraph-sdk==1.0.0\r\nmultidict==6.0.4\r\nopentelemetry-api==1.22.0\r\nopentelemetry-sdk==1.22.0\r\nopentelemetry-semantic-conventions==0.43b0\r\npackaging==23.2\r\npendulum==3.0.0\r\nportalocker==2.8.2\r\npycparser==2.21\r\nPyJWT==2.8.0\r\npython-dateutil==2.8.2\r\npython-dotenv==0.21.1\r\nrequests==2.31.0\r\nsix==1.16.0\r\nsniffio==1.3.0\r\nstd-uritemplate==0.0.49\r\ntime-machine==2.13.0\r\ntyping_extensions==4.9.0\r\ntzdata==2023.4\r\nurllib3==2.1.0\r\nWerkzeug==3.0.1\r\nwrapt==1.16.0\r\nyarl==1.9.4\r\nzipp==3.17.0\r\n\r\nthe traceback:\r\n\r\n(venv) ➜ ms-identity-python-webapp-master python try.py\r\n/Users/zhujiaqi/ms-identity-python-webapp-master/venv/lib/python3.8/site-packages/urllib3/__init__.py:34: NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020\r\n warnings.warn(\r\nPython Graph Tutorial\r\n\r\nTo sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code xxxx to authenticate.\r\nTraceback (most recent call last):\r\n File \"try.py\", line 119, in \u003cmodule\u003e\r\n asyncio.run(main())\r\n File \"/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/asyncio/runners.py\", line 44, in run\r\n return loop.run_until_complete(main)\r\n File \"/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/asyncio/base_events.py\", line 616, in run_until_complete\r\n return future.result()\r\n File \"try.py\", line 59, in main\r\n await greet_user(graph)\r\n File \"try.py\", line 96, in greet_user\r\n user = await graph.get_user()\r\n File \"try.py\", line 46, in get_user\r\n user = await self.user_client.me.get(request_configuration=request_config)\r\n File \"/Users/zhujiaqi/ms-identity-python-webapp-master/venv/lib/python3.8/site-packages/msgraph/generated/users/item/user_item_request_builder.py\", line 156, in get\r\n return await self.request_adapter.send_async(request_info, User, error_mapping)\r\n File \"/Users/zhujiaqi/ms-identity-python-webapp-master/venv/lib/python3.8/site-packages/kiota_http/httpx_request_adapter.py\", line 185, in send_async\r\n await self.throw_failed_responses(response, error_map, parent_span, parent_span)\r\n File \"/Users/zhujiaqi/ms-identity-python-webapp-master/venv/lib/python3.8/site-packages/kiota_http/httpx_request_adapter.py\", line 501, in throw_failed_responses\r\n raise exc\r\nmsgraph.generated.models.o_data_errors.o_data_error.ODataError: \r\n APIError\r\n Code: 404\r\n message: None\r\n error: MainError(additional_data={}, code='Request_ResourceNotFound', details=None, inner_error=InnerError(additional_data={'date': DateTime(2024, 1, 8, 11, 39, 25, tzinfo=Timezone('UTC'))}, client_request_id='58c6ed88-363d-444d-a05c-36496c532a8e', date=None, odata_type=None, request_id='58c6ed88-363d-444d-a05c-36496c532a8e'), message=\"Resource 'me-token-to-replace' does not exist or one of its queried reference-property objects are not present.\", target=None)","author":{"url":"https://github.com/zhujiaqi","@type":"Person","name":"zhujiaqi"},"datePublished":"2024-01-08T11:45:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/544/msgraph-sdk-python/issues/544"}
| 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:d83107ed-69d9-60c4-fbfb-1274962cc526 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8CDA:D7F0F:81A814:B2F90C:696953C4 |
| html-safe-nonce | 8613c7074753ebac7c9d961a3f03e966dde689451033abde7b7f19e4a2326811 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Q0RBOkQ3RjBGOjgxQTgxNDpCMkY5MEM6Njk2OTUzQzQiLCJ2aXNpdG9yX2lkIjoiNzA3Nzg3Njg1NzQwMjExOTEwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2d31a87aa6435653beee3b98318d6f64fbc3a55ff3ec6c1502ce5354886b4aa4 |
| hovercard-subject-tag | issue:2070283981 |
| 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/microsoftgraph/msgraph-sdk-python/544/issue_layout |
| twitter:image | https://opengraph.githubassets.com/dc863085668796701329f0a429555acb3de7ca2b2700ecede0a00cbadf5a76a9/microsoftgraph/msgraph-sdk-python/issues/544 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dc863085668796701329f0a429555acb3de7ca2b2700ecede0a00cbadf5a76a9/microsoftgraph/msgraph-sdk-python/issues/544 |
| og:image:alt | I followed the steps here: https://learn.microsoft.com/en-us/graph/tutorials/python?tabs=aad and found functions under .me were all broken due to failed replacement of placeholder "me-token-to-repl... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | zhujiaqi |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9db5f28da7e24035385d7f349f17890cbe016a939ddd7952be0f07b862094f5a |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoftgraph/msgraph-sdk-python git https://github.com/microsoftgraph/msgraph-sdk-python.git |
| octolytics-dimension-user_id | 17304259 |
| octolytics-dimension-user_login | microsoftgraph |
| octolytics-dimension-repository_id | 534665999 |
| octolytics-dimension-repository_nwo | microsoftgraph/msgraph-sdk-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 534665999 |
| octolytics-dimension-repository_network_root_nwo | microsoftgraph/msgraph-sdk-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 | 4e59fe66217d3c72925af2a341ae3a8f2b5b5b2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width