gdrive sync not working -- Need to remove and add again and again

Get help for specific problems
Posts: 5
Joined: 15 Sep 2019

manish

Sync with GDrive is not working properly. I need to remove and add back my gmail account again and again in 2-3 minutes, which is not allowing to complete the scan to sync.



Cannot find the following folders:

gdrive:\xxxxx@gmail
___________________________________________

Cannot read file attributes of "gdrive:\xxxxxxx@gmail".
{
"kind": "drive#changeList",
"newStartPageToken": "615009",
"changes": [
{
"kind": "drive#change",
"removed": false,
User avatar
Site Admin
Posts: 7210
Joined: 9 Dec 2007

Zenju

Can you post the full error message?
Posts: 5
Joined: 15 Sep 2019

manish

Below is the error that i got today. If I remove my gmail account and add again, it works alright. I have masked some of the fields. Please let me know if you need those details. Thanks for your help

Cannot read directory "gdrive:\xxxxxx@gmail.com\xxx\xxxx\xx".

{
"kind": "drive#changeList",
"newStartPageToken": "xxxxxxxx",
"changes": [
{
"kind": "drive#change",
"removed": false,
"fileId": "xxxxxxxxxxxxxx",
"file": {
"name": "xxxxxxxxx.pdf",
"mimeType": "application/pdf",
"trashed": false,
"modifiedTime": "2018-03-01T21:11:35.545Z",
"size": "10447727"
}
},
{
"kind": "drive#change",
"removed": false,
"fileId": "xxxxxxxxxxxxxxxxxx",
"file": {
"name": "xxxxxxxx.csv.zip",
"mimeType": "application/zip",
"trashed": false,
"parents": [
"xxxxxxxxxxxxxxxxxxxxxxxx"
],
"modifiedTime": "2017-07-15T06:05:15.000Z",
"size": "288232"
}
},
{
"kind": "drive#change",
"removed": false,
"fileId": "xxxxxxxxxxxxxxxxxxx",
"file": {
"name": "xxxxxxx.zip.done",
"mimeType": "application/octet-stream",
"trashed": false,
"parents": [
"xxxxxxxxxxxxxxxxxxxxxxxx"
],
"modifiedTime": "2019-08-29T11:42:09.000Z",
"size": "0"
}
},
{
"kind": "drive#change",
"removed": false,
"fileId": "xxxxxxxxxxxxxxxxxxxxxxxx",
"file": {
"name": "xxxxxxxxx.zip",
"mimeType": "application/zip",
"trashed": false,
"parents": [
"xxxxxxxxxxxxxxxxxxxxxxxxxxx"
],
"modifiedTime": "2019-08-29T11:22:12.000Z",
"size": "37711"
}
}
]
}
Posts: 5
Joined: 15 Sep 2019

manish

What I meant by 'it works alright' is that I am able to start comparison or sync but error pops-up again before the operation finishes.
User avatar
Site Admin
Posts: 7210
Joined: 9 Dec 2007

Zenju

I see the problem. The first file change notification is incomplete, and missing the "parents" array:
{
"kind": "drive#change",
"removed": false,
"fileId": "xxxxxxxxxxxxxx",
"file": {
"name": "xxxxxxxxx.pdf",
"mimeType": "application/pdf",
"trashed": false,
"modifiedTime": "2018-03-01T21:11:35.545Z",
"size": "10447727"
}
Do you have some more info what this item is about?
Posts: 5
Joined: 15 Sep 2019

manish

This is just a pdf file which has not been changed for a long time.Even the parent folder has not been touched for a long time.

I have multiple sync setup to sync different local folder to distinct gdrive folder for the same gmail account. Do you see that as a potential issue?
Posts: 5
Joined: 15 Sep 2019

manish

One more point, one of the sync setup is shared folder in gdrive(owner is someone else) where I have read/write access and I keep updating files there as well.
User avatar
Site Admin
Posts: 7210
Joined: 9 Dec 2007

Zenju

Any chance to grant me temporary access to this account? This would speed up bug fixing tremendously. Otherwise, can you gather some more detail info about the above file in question, i.e. file id, parent file id, file names. After disconnect/reconnect, is the same error occuring? Wouldn't make any sense, so there are at least 2 peculiarities to resolve.
Posts: 29
Joined: 9 Jun 2020

troels

Did this ever get resolved? Looks Like I have the same issue now.
User avatar
Site Admin
Posts: 7210
Joined: 9 Dec 2007

Zenju