Title: 403 error when try to query searchanalytics on my site · Issue #347 · 1ap/google-api-python-client · GitHub
Open Graph Title: 403 error when try to query searchanalytics on my site · Issue #347 · 1ap/google-api-python-client
X Title: 403 error when try to query searchanalytics on my site · Issue #347 · 1ap/google-api-python-client
Description: [Use this form for both apiclient and oauth2client issues] What steps will reproduce the problem? 1. Authorize via oAuth2 2. Tried to query: ``` x = gapi.webmasters_service.searchanalytics().query(body={"startDate": "2014-01-01", "endDat...
Open Graph Description: [Use this form for both apiclient and oauth2client issues] What steps will reproduce the problem? 1. Authorize via oAuth2 2. Tried to query: ``` x = gapi.webmasters_service.searchanalytics().query(...
X Description: [Use this form for both apiclient and oauth2client issues] What steps will reproduce the problem? 1. Authorize via oAuth2 2. Tried to query: ``` x = gapi.webmasters_service.searchanalytics().query(...
Opengraph URL: https://github.com/1ap/google-api-python-client/issues/347
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"403 error when try to query searchanalytics on my site","articleBody":"``````\n[Use this form for both apiclient and oauth2client issues]\n\nWhat steps will reproduce the problem?\n1. Authorize via oAuth2\n2. Tried to query: ```\nx = gapi.webmasters_service.searchanalytics().query(body={\"startDate\": \n\"2014-01-01\", \"endDate\": \"2014-01-01\"}, \nsiteUrl=\"http://seozeo.com.tr\").execute()\n``````\n\nWhat is the expected output? What do you see instead?\n\nGets 403 error: ```\nHttpError: \u003cHttpError 403 when requesting \nhttps://www.googleapis.com/webmasters/v3/sites/http%3A%2F%2Fseozeo.com.tr/search\nAnalytics/query?alt=json returned \"User does not have sufficient permission for \nsite 'http://seozeo.com.tr/'. See also: \nhttps://support.google.com/webmasters/answer/2451999.\"\u003e\n\n```\nBut this is site I've created.\n\nWhat version of the product are you using? On what operating system?\n\nUbuntu 14.04 x64, python 2.7, pip freeze:\ncffi==1.1.2\ncryptography==0.9.3\nenum34==1.0.4\ngdata==2.0.18\ngoogle-api-python-client==1.4.1\ngspread==0.2.5\nhttplib2==0.9.1\nidna==2.0\nipaddress==1.0.14\noauth2client==1.4.12\npyasn1==0.1.8\npyasn1-modules==0.0.6\npycparser==2.14\npyOpenSSL==0.15.1\nrsa==3.1.4\nsimplejson==3.8.0\nsix==1.9.0\nuritemplate==0.6\n\n```\n\nOriginal issue reported on code.google.com by `seozeo....@gmail.com` on 29 Jul 2015 at 8:21\n","author":{"url":"https://github.com/GoogleCodeExporter","@type":"Person","name":"GoogleCodeExporter"},"datePublished":"2016-03-28T19:47:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/347/google-api-python-client/issues/347"}
| 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:4b03a1b9-3d52-b021-4271-8b185e125c52 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E050:815A8:315E54D:40B7344:697D70C5 |
| html-safe-nonce | 630b7edcf73e782689d5cf78187e9c59b045bebe60c6b24b9249f2d6be1a08c5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDUwOjgxNUE4OjMxNUU1NEQ6NDBCNzM0NDo2OTdENzBDNSIsInZpc2l0b3JfaWQiOiI5MDU4Nzk3MjQ1NTUzMjc1MDc3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 728d299f426813c1de46518494274af8469fb6d7fe5534fae4b58fdcb32609cf |
| hovercard-subject-tag | issue:144065924 |
| 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/1ap/google-api-python-client/347/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0a78750105cd9ed53c4b66589c139c03711a6cd80f578e3202796ea68f7d491e/1ap/google-api-python-client/issues/347 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0a78750105cd9ed53c4b66589c139c03711a6cd80f578e3202796ea68f7d491e/1ap/google-api-python-client/issues/347 |
| og:image:alt | [Use this form for both apiclient and oauth2client issues] What steps will reproduce the problem? 1. Authorize via oAuth2 2. Tried to query: ``` x = gapi.webmasters_service.searchanalytics().query(... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | GoogleCodeExporter |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/1ap/google-api-python-client git https://github.com/1ap/google-api-python-client.git |
| octolytics-dimension-user_id | 12863663 |
| octolytics-dimension-user_login | 1ap |
| octolytics-dimension-repository_id | 54918735 |
| octolytics-dimension-repository_nwo | 1ap/google-api-python-client |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 54918735 |
| octolytics-dimension-repository_network_root_nwo | 1ap/google-api-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