The Python Oracle

Editing Google docs with drive API

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Romantic Lands Beckon

--

Chapters
00:00 Question
02:09 Accepted answer (Score 7)
02:29 Thank you

--

Full question
https://stackoverflow.com/questions/1247...

Question links:
[Documents List API]: https://developers.google.com/google-app.../
[Google Drive API]: https://developers.google.com/drive/
[Google App Engine]: https://developers.google.com/appengine/
[sample code in the docs]: https://developers.google.com/drive/exam...
[if you look at the source]: http://code.google.com/p/google-api-pyth...

Accepted answer links:
https://developers.google.com/drive/v2/r...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #googleappengine #googledriveapi #googleapipythonclient

#avk47



ACCEPTED ANSWER

Score 7


i suspect the issue is that the default for conversion has changed from true to false. You must explicitly set convert=true on the upload. See https://developers.google.com/drive/v2/reference/files/insert