Some data will be lost after Google Drive API Re-authorization (drive.files.list)
My steps
- Create 4 folders using API
drive.files.list
[
{id:'XXXX1', name:'folder1'},
{id:'XXXX2', name:'folder2'},
{id:'XXXX3', name:'folder3'},
{id:'XXXX4', name:'folder4'},
]
Cancel authorization ([disconnect from drive] in Google Drive App)

Re-authorize and then call the api
drive.files.list
[
{id:'XXXX2', name:'folder2'},
{id:'XXXX3', name:'folder3'},
]
I can no longer get a complete list, but if I specify a file id can return the contents of the file
drive.files.get({fileId:'XXXX1' })
{id:'XXX1', name:'file1'}
I use scope as https://www.googleapis.com/auth/drive.file
Does anyone know how to make it work?