0
votes
2answers
136 views

HttpError 401 Trying to access a BigQuery url via CloudStorage Pipeline

This question is essentially a follow-on from my previous question you can find here. After taking care of the encoding error I encountered, I ran into a new HttpError 401 issue. The trace from my dev ...
0
votes
2answers
275 views

google drive api crash with desktop application

I use google drive application wrote a desktop application using python and everything works fine. But when I use pyinstaller to output a .exe file and run that application. A problem occurs on these ...
3
votes
1answer
500 views

Google OAuth2 command-line example

Google has an example of an OAuth2 client here I am completelly new to OAuth2 and I would like to get this example working before I move to integrate OAuth2 with my application. What I have done is ...
2
votes
1answer
819 views

Google Calendar API - Access own calendar via Service account

I want to access the Google Calendar API to insert entries with Python. I created a Service account on the Google API console, added an private key, downloaded it. But when I try to modify anyting of ...
1
vote
1answer
127 views

SSL Error with Python Google Drive API

i wrote a simple code, basically the same as the one on https://developers.google.com/drive/quickstart-python and every time after the first attempt i've the same error : # Traceback (most recent ...
1
vote
1answer
132 views

Error 404 on creating a calendar with Google Calendar Api

I just wrote this code that is supposed to check if calendar exists and if not create one. Well it returns error 404 when I try to create a calendar and the calendar does NOT appear. Any ideas? I ...
1
vote
1answer
304 views

Google Blogger API : AccessTokenRefreshError:invalid_grand message

I am using google-python-client-api for Blogger API (Service Account - OAuth). This is my code (which is taken my tasks api example) import httplib2 import pprint import sys from ...
1
vote
1answer
260 views

Im using python (django framework) to gain a request token from google api, but the request token always comes back empty

Here is sample code that I'm working with. def index(request): flow = OAuth2WebServerFlow( client_id='xyz.apps.googleusercontent.com', client_secret='xyz', ...
0
votes
1answer
564 views

Google API Service Account

I'm trying to connect to the google doubeclick api through a service account (client email and p12 certificate), using the python client library as in the following example: ...
0
votes
1answer
606 views

Google API Custom Search with Python - Programmatic Search Results

I am trying to use the Google API Custom Search, and I don't have any clue where to start. It seems you have to create a "custom search engine" in order to parse search results, and you are limited to ...
0
votes
1answer
477 views

google-api-python-client sample code gives 'module object has no attribute socket'

When trying to activate sample code from the Latitude example in google-api-python-client I get the following error: "_webapp25.py:464] 'module' object has no attribute 'socket'". The code is: from ...
1
vote
0answers
159 views

Which email is used in Google OAuth 2.0 (Service Account) for Drive?

I'm trying to authentication with Google to use Google drive, but when I try to list files, none come back (and I know there are files in my Google Drive). I'm using this code, and when I execute it, ...
1
vote
0answers
117 views

“ImportError: cannot import name util” Error on Google Drive SDK Quickstart Example

I'm getting the following error message when attempting the Google Drive SDK Quickstart Example (https://developers.google.com/drive/quickstart). Traceback (most recent call last): File ...
0
votes
0answers
85 views

AccessTokenRefreshError on Google API Class design

I am trying to make a Base class for the basic boiler plate initialization of my Google API calls. From reading tutorials online, I take it that the http transport object should be re-used instead of ...
0
votes
0answers
194 views

how to upload a file in youtube using google-api-python-client

I need to upload a file to youtube from my python server. I have installed google-api-python-client . But its asking for authentication. How do i authenticate using oauth from the python server. Can ...