masbug / flysystem-google-drive-ext

Flysystem adapter for Google Drive with seamless virtual<=>display path translation
Other
220 stars 62 forks source link

Error in masbug because upgrade system Google API #107

Open rizal-mujahiddan opened 1 year ago

rizal-mujahiddan commented 1 year ago

how to solve { "error": { "code": 401, "message": "Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.", "errors": [ { "message": "Login Required.", "domain": "global", "reason": "required", "location": "Authorization", "locationType": "header" } ], "status": "UNAUTHENTICATED", "details": [ { "@type": "type.googleapis.com/google.rpc.ErrorInfo", "reason": "CREDENTIALS_MISSING", "domain": "googleapis.com", "metadata": { "method": "google.apps.drive.v3.DriveFiles.Create", "service": "drive.googleapis.com" } } ] } }

In laravel

parallels999 commented 1 year ago

Follow indications to get access token

fxcjahid commented 1 year ago

image The problem was there we should set this Access token location: access_token url paramater

0neCigarettes commented 1 year ago

Need help, i got same error

thotam commented 1 year ago

i got same error too

erikn69 commented 1 year ago

Seems like a bug on Google APIs Client Library ^v2.13.0