liberodark / ODrive

Google Drive GUI for Windows / Mac / Linux
https://liberodark.github.io/ODrive/
GNU General Public License v3.0
1.16k stars 136 forks source link

[BUG] Api limit request and not found error similar to #99 #170

Open kirk86 opened 3 years ago

kirk86 commented 3 years ago

Describe the bug No syncing happens when running ODrive from cli

To Reproduce Steps to reproduce the behavior:

  1. execute odrive from cli in my case /opt/OpenDrive/odrive
  2. See error
    
    Unable to get requested file info for  16oxcVTBcVFBfCpYRvPDlhkX6ts9XYfp_
    Unable to get requested file info for  1BbY5nSkhjFGLMWZkpNA1USWZwfeejiBV
    Updating file to drive.
    Initial scan complete. Ready for changes
    Unable to get requested file info for  1-d3B7h4nEi3M4bu33cA732clfJ3Nw06m
    Unable to get requested file info for  12Btt3gh4TNoRnOLEJQX3NDfvc_2cjKy9
    Unable to get requested file info for  1f_oKCCPIPwo4rGn9rQPRkKVN_RqDYib-
    Unable to get requested file info for  12bJBqQb8Bl2i6e9v28Li3aMWFuY9ZZrH
    Unable to get requested file info for  1BbY5nSkhjFGLMWZkpNA1USWZwfeejiBV
    { Error: File not found: 1F16WORk22bVTFP2W5wyxeHQu7NfVlRmf.
    at Request._callback (/opt/OpenDrive/resources/app.asar/node_modules/google-auth-library/lib/transporters.js:85:15)
    at Request.self.callback (/opt/OpenDrive/resources/app.asar/node_modules/request/request.js:185:22)
    at Request.emit (events.js:182:13)
    at Request.<anonymous> (/opt/OpenDrive/resources/app.asar/node_modules/request/request.js:1161:10)
    at Request.emit (events.js:182:13)
    at IncomingMessage.<anonymous> (/opt/OpenDrive/resources/app.asar/node_modules/request/request.js:1083:12)
    at Object.onceWrapper (events.js:273:13)
    at IncomingMessage.emit (events.js:187:15)
    at endReadableNT (_stream_readable.js:1092:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
    code: 404,
    errors:
    [ { domain: 'global',
       reason: 'notFound',
       message: 'File not found: 1F16WORk22bVTFP2W5wyxeHQu7NfVlRmf.',
       locationType: 'parameter',
       location: 'fileId' } ] }
    local change false true
    Unhandled rejection File not found: 1F16WORk22bVTFP2W5wyxeHQu7NfVlRmf.
    { Error: File not found: 1F16WORk22bVTFP2W5wyxeHQu7NfVlRmf.
    at Request._callback (/opt/OpenDrive/resources/app.asar/node_modules/google-auth-library/lib/transporters.js:85:15)
    at Request.self.callback (/opt/OpenDrive/resources/app.asar/node_modules/request/request.js:185:22)
    at Request.emit (events.js:182:13)
    at Request.<anonymous> (/opt/OpenDrive/resources/app.asar/node_modules/request/request.js:1161:10)
    at Request.emit (events.js:182:13)
    at IncomingMessage.<anonymous> (/opt/OpenDrive/resources/app.asar/node_modules/request/request.js:1083:12)
    at Object.onceWrapper (events.js:273:13)
    at IncomingMessage.emit (events.js:187:15)
    at endReadableNT (_stream_readable.js:1092:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
    code: 404,
    errors:
    [ { domain: 'global',
       reason: 'notFound',
       message: 'File not found: 1F16WORk22bVTFP2W5wyxeHQu7NfVlRmf.',
       locationType: 'parameter',
       location: 'fileId' } ] }
    Unable to get requested file info for  12Btt3gh4TNoRnOLEJQX3NDfvc_2cjKy9
    Unable to get requested file info for  12bJBqQb8Bl2i6e9v28Li3aMWFuY9ZZrH
    remote change false false
    Updated syncing status
    Updating tray icon, connected:  true syncing:  false
    Unhandled rejection User Rate Limit Exceeded. Rate of requests for user exceed configured project quota. You may consider re-evaluating expected per-user traffic to the API and adjust project quota limits accordingly. You may monitor aggregate quota usage and adjust limits in the API Console: https://console.developers.google.com/apis/api/drive.googleapis.com/quotas?project=985525764653
    { Error: User Rate Limit Exceeded. Rate of requests for user exceed configured project quota. You may consider re-evaluating expected per-user traffic to the API and adjust project quota limits accordingly. You may monitor aggregate quota usage and adjust limits in the API Console: https://console.developers.google.com/apis/api/drive.googleapis.com/quotas?project=985525764653
    at Request._callback (/opt/OpenDrive/resources/app.asar/node_modules/google-auth-library/lib/transporters.js:85:15)
    at Request.self.callback (/opt/OpenDrive/resources/app.asar/node_modules/request/request.js:185:22)
    at Request.emit (events.js:182:13)
    at Request.<anonymous> (/opt/OpenDrive/resources/app.asar/node_modules/request/request.js:1161:10)
    at Request.emit (events.js:182:13)
    at IncomingMessage.<anonymous> (/opt/OpenDrive/resources/app.asar/node_modules/request/request.js:1083:12)
    at Object.onceWrapper (events.js:273:13)
    at IncomingMessage.emit (events.js:187:15)
    at endReadableNT (_stream_readable.js:1092:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
    code: 403,
    errors:
    [ { domain: 'usageLimits',
       reason: 'userRateLimitExceeded',
       message:
        'User Rate Limit Exceeded. Rate of requests for user exceed configured project quota. You may consider re-evaluating expected per-user traffic to the API and adjust project quota limits accordingly. You may monitor aggregate quota usage and adjust limits in the API Console: https://console.developers.google.com/apis/api/drive.googleapis.com/quotas?project=985525764653',
       extendedHelp:
        'https://console.developers.google.com/apis/api/drive.googleapis.com/quotas?project=985525764653' } ] }
    Unhandled rejection User Rate Limit Exceeded. Rate of requests for user exceed configured project quota. You may consider re-evaluating expected per-user traffic to the API and adjust project quota limits accordingly. You may monitor aggregate quota usage and adjust limits in the API Console: https://console.developers.google.com/apis/api/drive.googleapis.com/quotas?project=985525764653
    { Error: User Rate Limit Exceeded. Rate of requests for user exceed configured project quota. You may consider re-evaluating expected per-user traffic to the API and adjust project quota limits accordingly. You may monitor aggregate quota usage and adjust limits in the API Console: https://console.developers.google.com/apis/api/drive.googleapis.com/quotas?project=985525764653
    at Request._callback (/opt/OpenDrive/resources/app.asar/node_modules/google-auth-library/lib/transporters.js:85:15)
    at Request.self.callback (/opt/OpenDrive/resources/app.asar/node_modules/request/request.js:185:22)
    at Request.emit (events.js:182:13)
    at Request.<anonymous> (/opt/OpenDrive/resources/app.asar/node_modules/request/request.js:1161:10)
    at Request.emit (events.js:182:13)
    at IncomingMessage.<anonymous> (/opt/OpenDrive/resources/app.asar/node_modules/request/request.js:1083:12)
    at Object.onceWrapper (events.js:273:13)
    at IncomingMessage.emit (events.js:187:15)
    at endReadableNT (_stream_readable.js:1092:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
    code: 403,
    errors:
    [ { domain: 'usageLimits',
       reason: 'userRateLimitExceeded',
       message:
        'User Rate Limit Exceeded. Rate of requests for user exceed configured project quota. You may consider re-evaluating expected per-user traffic to the API and adjust project quota limits accordingly. You may monitor aggregate quota usage and adjust limits in the API Console: https://console.developers.google.com/apis/api/drive.googleapis.com/quotas?project=985525764653',
       extendedHelp:
        'https://console.developers.google.com/apis/api/drive.googleapis.com/quotas?project=985525764653' } ] }
    Unhandled rejection User Rate Limit Exceeded. Rate of requests for user exceed configured project quota. You may consider re-evaluating expected per-user traffic to the API and adjust project quota limits accordingly. You may monitor aggregate quota usage and adjust limits in the API Console: https://console.developers.google.com/apis/api/drive.googleapis.com/quotas?project=985525764653
    { Error: User Rate Limit Exceeded. Rate of requests for user exceed configured project quota. You may consider re-evaluating expected per-user traffic to the API and adjust project quota limits accordingly. You may monitor aggregate quota usage and adjust limits in the API Console: https://console.developers.google.com/apis/api/drive.googleapis.com/quotas?project=985525764653
    at Request._callback (/opt/OpenDrive/resources/app.asar/node_modules/google-auth-library/lib/transporters.js:85:15)
    at Request.self.callback (/opt/OpenDrive/resources/app.asar/node_modules/request/request.js:185:22)
    at Request.emit (events.js:182:13)
    at Request.<anonymous> (/opt/OpenDrive/resources/app.asar/node_modules/request/request.js:1161:10)
    at Request.emit (events.js:182:13)
    at IncomingMessage.<anonymous> (/opt/OpenDrive/resources/app.asar/node_modules/request/request.js:1083:12)
    at Object.onceWrapper (events.js:273:13)
    at IncomingMessage.emit (events.js:187:15)
    at endReadableNT (_stream_readable.js:1092:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
    code: 403,
    errors:
    [ { domain: 'usageLimits',
       reason: 'userRateLimitExceeded',
       message:
        'User Rate Limit Exceeded. Rate of requests for user exceed configured project quota. You may consider re-evaluating expected per-user traffic to the API and adjust project quota limits accordingly. You may monitor aggregate quota usage and adjust limits in the API Console: https://console.developers.google.com/apis/api/drive.googleapis.com/quotas?project=985525764653',
       extendedHelp:
        'https://console.developers.google.com/apis/api/drive.googleapis.com/quotas?project=985525764653' } ] }


**Expected behavior**
To sync automatically

**Desktop (please complete the following information):**
 - OS: [Manjaro]
 - Version [21.1.4]