Title: ValueError: Client secrets must be for a web or installed app. · Issue #136 · googleworkspace/python-samples · GitHub
Open Graph Title: ValueError: Client secrets must be for a web or installed app. · Issue #136 · googleworkspace/python-samples
X Title: ValueError: Client secrets must be for a web or installed app. · Issue #136 · googleworkspace/python-samples
Description: Expected Behavior List the google drive content Actual Behavior raceback (most recent call last): File "list_drive.py", line 48, in main() File "list_drive.py", line 28, in main 'credentials.json', SCOPES) File "/home/rommel_uriel/.local...
Open Graph Description: Expected Behavior List the google drive content Actual Behavior raceback (most recent call last): File "list_drive.py", line 48, in main() File "list_drive.py", line 28, in main 'credentials.json',...
X Description: Expected Behavior List the google drive content Actual Behavior raceback (most recent call last): File "list_drive.py", line 48, in main() File "list_drive.py", line 28, in main...
Opengraph URL: https://github.com/googleworkspace/python-samples/issues/136
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ValueError: Client secrets must be for a web or installed app.","articleBody":"## Expected Behavior\r\n\r\nList the google drive content\r\n## Actual Behavior\r\n\r\nraceback (most recent call last):\r\n File \"list_drive.py\", line 48, in \u003cmodule>\r\n main()\r\n File \"list_drive.py\", line 28, in main\r\n 'credentials.json', SCOPES)\r\n File \"/home/rommel_uriel/.local/lib/python3.7/site-packages/google_auth_oauthlib/flow.py\", line 199, in from_client_secrets_file\r\n return cls.from_client_config(client_config, scopes=scopes, **kwargs)\r\n File \"/home/rommel_uriel/.local/lib/python3.7/site-packages/google_auth_oauthlib/flow.py\", line 159, in from_client_config\r\n 'Client secrets must be for a web or installed app.')\r\nValueError: Client secrets must be for a web or installed app.\r\n\r\n\r\n\r\n## Steps to Reproduce the Problem\r\n\r\n1.Run the code in python 3.7\r\n1.\r\n1.\r\n\r\n## Specifications\r\n\r\n- Python 3.7 (`python --version`) on ubuntu\r\nLinux instance-4 4.9.0-11-amd64 #1 SMP Debian 4.9.189-3+deb9u1 (2019-09-20) x86_64 GNU/Linux\r\n(base) rommel_uriel@instance-4:~$ \r\n\r\n - OS (Mac/Linux/Windows)\r\n","author":{"url":"https://github.com/sruriel","@type":"Person","name":"sruriel"},"datePublished":"2019-12-11T18:31:07Z","url":"https://github.com/googleworkspace/python-samples/issues/136"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:6fc9b1c2-7acd-7c52-c517-124f9ec4f07a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8AAE:3337E3:7FD69C:A3A70E:6B0882DA |
| html-safe-nonce | 2ddea2931772b70d80bb9e5195158d5056e1259f6c8a1fffe6b36b09dd84a915 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QUFFOjMzMzdFMzo3RkQ2OUM6QTNBNzBFOjZCMDg4MkRBIiwidmlzaXRvcl9pZCI6IjI0NTY5ODM0MTI2NjY4Mjc0ODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 338cf11c57442e7d31550a5856ea3e32d8c3af798831325631dd52815f44eb43 |
| hovercard-subject-tag | issue:536543027 |
| 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/googleworkspace/python-samples/136/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0ce8d0bb1512fb27101f5d626d52631fa4b504f3bb39bf3c4c48a09ded7a1a1f/googleworkspace/python-samples/issues/136 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0ce8d0bb1512fb27101f5d626d52631fa4b504f3bb39bf3c4c48a09ded7a1a1f/googleworkspace/python-samples/issues/136 |
| og:image:alt | Expected Behavior List the google drive content Actual Behavior raceback (most recent call last): File "list_drive.py", line 48, in main() File "list_drive.py", line 28, in main 'credentials.json',... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sruriel |
| hostname | github.com |
| expected-hostname | github.com |
| None | 8cf3e5d9d6728f23e1c3506670186cb4a704b7cbcdef4d6bc6ddb557202f35f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleworkspace/python-samples git https://github.com/googleworkspace/python-samples.git |
| octolytics-dimension-user_id | 3708359 |
| octolytics-dimension-user_login | googleworkspace |
| octolytics-dimension-repository_id | 14163863 |
| octolytics-dimension-repository_nwo | googleworkspace/python-samples |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14163863 |
| octolytics-dimension-repository_network_root_nwo | googleworkspace/python-samples |
| 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 | 711867ae83a0bd3ebae1fea6312c075ec8d661f2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width