Search code examples
google-drive-android-api

Drive id only working with using same device


Google drive file download only working while using only with uploaded device. It's not working when i try to download from other device, that time it give error response 'Drive id invalid' from drive API. I don't know why its happen?


Solution

  • Based from this thread, the DriveId is a 'preliminary' Id that changes after the object has been committed. Check this link. Also, be noted that the DriveID for each file/folder is device specific.

    Hope this helps!