I'm following the sample python code for the quickstart page of Google Drive SDK (https://developers.google.com/drive/quickstart#set_up_the_sample) and get the error
Traceback (most recent call last):
File "quickstart.py", line 45, in <module>
file = drive_service.files().insert(body=body, media_body=media_body).execute()
File "build/bdist.macosx-10.7-intel/egg/oauth2client/util.py", line 120, in positional_wrapper
File "build/bdist.macosx-10.7-intel/egg/apiclient/http.py", line 656, in execute
File "build/bdist.macosx-10.7-intel/egg/oauth2client/util.py", line 120, in positional_wrapper
File "build/bdist.macosx-10.7-intel/egg/apiclient/http.py", line 733, in next_chunk
apiclient.errors.ResumableUploadError: Failed to retrieve starting URI.
after entering the verification code. The steps are fairly straight forward so I'm wondering if the sample code is out of date (although I haven't seen other people running into this error so it seems it might be something related to my setup, but I'm not sure what that would be). Thanks for any help.