Title: Error while using this script from Google Cloud API · Issue #683 · GoogleCloudPlatform/python-docs-samples · GitHub
Open Graph Title: Error while using this script from Google Cloud API · Issue #683 · GoogleCloudPlatform/python-docs-samples
X Title: Error while using this script from Google Cloud API · Issue #683 · GoogleCloudPlatform/python-docs-samples
Description: In which file did you encounter the issue? analyze.py Did you change the file? If so, how? No Describe the issue python analyze.py entities "John is late" Traceback (most recent call last): File "analyze.py", line 103, in result = analyz...
Open Graph Description: In which file did you encounter the issue? analyze.py Did you change the file? If so, how? No Describe the issue python analyze.py entities "John is late" Traceback (most recent call last): File "a...
X Description: In which file did you encounter the issue? analyze.py Did you change the file? If so, how? No Describe the issue python analyze.py entities "John is late" Traceback (most recent call last...
Opengraph URL: https://github.com/GoogleCloudPlatform/python-docs-samples/issues/683
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error while using this script from Google Cloud API","articleBody":"## In which file did you encounter the issue?\r\nanalyze.py\r\n\u003c!-- Please provide the full path to the file, to avoid ambiguity -->\r\n\r\n### Did you change the file? If so, how?\r\nNo\r\n\u003c!-- A diff would be helpful; otherwise, a description -->\r\n\r\n## Describe the issue\r\npython analyze.py entities \"John is late\"\r\n\r\nTraceback (most recent call last):\r\n File \"analyze.py\", line 103, in \u003cmodule>\r\n result = analyze_entities(args.text, get_native_encoding_type())\r\n File \"analyze.py\", line 53, in analyze_entities\r\n response = request.execute()\r\n File \"/home/florinb/python-docs-samples/language/env/local/lib/python2.7/site-packages/oauth2client/_helpers.py\", line 133, in positional_wrapper\r\n return wrapped(*args, **kwargs)\r\n File \"/home/florinb/python-docs-samples/language/env/local/lib/python2.7/site-packages/googleapiclient/http.py\", line 838, in execute\r\n raise HttpError(resp, content, uri=self.uri)\r\ngoogleapiclient.errors.HttpError: \u003cHttpError 403 when requesting https://language.googleapis.com/v1/documents:analyzeEntities?alt=json returned \"Request had insufficient authentication scopes.\">\r\n\r\n\u003c!-- Please be specific. Copying and pasting your invocation and the entire\r\noutput is often helpful. -->\r\n","author":{"url":"https://github.com/baditaflorin","@type":"Person","name":"baditaflorin"},"datePublished":"2016-11-27T13:49:20Z","url":"https://github.com/GoogleCloudPlatform/python-docs-samples/issues/683"}
| 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:aa506828-ed1d-6409-0f09-33512b983483 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ACD4:306EC8:3AAB94:5352F8:6AFE0505 |
| html-safe-nonce | 7831f5d6e4207a5a12ce683ac047dc7e7f7a998efedf98957df059f5be10a927 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0Q0OjMwNkVDODozQUFCOTQ6NTM1MkY4OjZBRkUwNTA1IiwidmlzaXRvcl9pZCI6Ijg1MDU3ODMzNDI1MTQxNzcyODUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5f6a714674812b3505b477f9f95a3dffa37dec039b214ad3edb0f70829cfd172 |
| hovercard-subject-tag | issue:191862404 |
| 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/GoogleCloudPlatform/python-docs-samples/683/issue_layout |
| twitter:image | https://opengraph.githubassets.com/16a25436d2a2afb08acb445295a308259f8bb5de9016b51cd37c1c5d4f5cb23a/GoogleCloudPlatform/python-docs-samples/issues/683 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/16a25436d2a2afb08acb445295a308259f8bb5de9016b51cd37c1c5d4f5cb23a/GoogleCloudPlatform/python-docs-samples/issues/683 |
| og:image:alt | In which file did you encounter the issue? analyze.py Did you change the file? If so, how? No Describe the issue python analyze.py entities "John is late" Traceback (most recent call last): File "a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | baditaflorin |
| hostname | github.com |
| expected-hostname | github.com |
| None | 86d46ece7c3d9b0562692f81a135cb55ad6a1c82c93ab1ac874d2f1b46b28958 |
| turbo-cache-control | no-preview |
| go-import | github.com/GoogleCloudPlatform/python-docs-samples git https://github.com/GoogleCloudPlatform/python-docs-samples.git |
| octolytics-dimension-user_id | 2810941 |
| octolytics-dimension-user_login | GoogleCloudPlatform |
| octolytics-dimension-repository_id | 35065876 |
| octolytics-dimension-repository_nwo | GoogleCloudPlatform/python-docs-samples |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 35065876 |
| octolytics-dimension-repository_network_root_nwo | GoogleCloudPlatform/python-docs-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 | 5c18e6799976b7bc2f21178024289bb98edbcc85 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width