gpt4 book ai didi

laravel - Google Drive API V3 - 需要登录 401 错误

转载 作者:行者123 更新时间:2023-12-05 07:08:16 26 4
gpt4 key购买 nike

我试图连接我用 Laravel 编写的网络应用程序以连接谷歌驱动器。我使用 Flysystem Adapter。不幸的是,我遇到了以下错误。它目前正在我的本地环境中运行。在创建 oAuth 凭据时,我选择了桌面应用程序。它显示 401 错误?我添加了客户端 ID、客户端密码、refersh token 和文件夹 ID。

    Google_Service_Exception
{ "error": { "errors": [ { "domain": "global", "reason": "required", "message": "Login Required",
"locationType": "header", "location": "Authorization" } ], "code": 401, "message": "Login
Required" } }

感谢任何帮助。

最佳答案

问题出在缓存上。我清除并优化了缓存,一切正常!

关于laravel - Google Drive API V3 - 需要登录 401 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61903620/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com