-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Google Drive API V3 - Login required 401 Error #92
Comments
That means period of use on a long time executing script? because after 60 min needs a refresh I suppose If you re-generate a valid token acording getting-your-refresh-token, maybe has a security config on google, also try another package to discard this package, masbug/flysystem-google-drive-ext have the same config |
Hi there, I´ve followed these steps and so for so good. But after like 4 or 5 days this error : Google_Service_Exception { "error": { "errors": [ { "domain": "global", "reason": "required", "message": "Login Required", "locationType": "header", "location": "Authorization" } ], "code": 401, "message": "Login Required" } } keeps showing, and I have to go through the refresh token again. Is there a more permanent solution. Tks and best regards. |
I have also faced the same issue in Laravel app and successfully solved it. Follow the steps below:
|
@raktim135 maybe this package needs a PR like this masbug/flysystem-google-drive-ext#34,
also how you get the access token? |
thank you so much dear 👍🏽 |
I was to connect my web app written in Laravel to connect with google drive. I use Flysystem Adapter.
Unfortunately After a period of use. it is showing 401 error? I have added client id, client secret , refersh token and folder id.
Google_Service_Exception { "error": { "errors": [ { "domain": "global", "reason": "required", "message": "Login Required", "locationType": "header", "location": "Authorization" } ], "code": 401, "message": "Login Required" } }
I tried redoing the whole configuration on my account, but it doesn't seem to change anything.
can someone help me?
Thank all so much.
The text was updated successfully, but these errors were encountered: