Why is the same fileID use to search files in google drive fail on realtime api?

纵然是瞬间 提交于 2019-12-11 01:11:29

问题


I got the fileID from a file and it works when I try to search it. But, when I try to use the same fileID to do gapi.drive.realtime.load(fileID, onFileLoaded, initializeModel); it returns an error 404 (Not Found) Drive Realtime API Error: not_found: Document not found: 1mxRMHav-jizEbupALjUb9F16dzdzdfuUPw83AxC3ip0. I'm sure that the file id is correct since I'm able to pull out its information such as owners, filesize, filename, etc.

This only happen when the file type is google document; the id works fine if its a plain text file. Does the google document function differently then other type of file?

来源:https://stackoverflow.com/questions/17896313/why-is-the-same-fileid-use-to-search-files-in-google-drive-fail-on-realtime-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!