简体   繁体   English

Google OAuth2 invalid_grant错误

[英]Google OAuth2 invalid_grant error

当我一直尝试从API获取令牌时,即使提供了电子邮件和右键,我仍然遇到的错误是“ invalid_grant”。

I found out that the error was due to the fact that the time of my computer was wrong (3 or 4 hours ahead). 我发现该错误是由于我的计算机时间错误(提前3或4个小时)而造成的。

So, to get rid of the error you must set the correct time of your computer. 因此,要摆脱错误,您必须设置计算机的正确时间。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM